-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ShellFeedsTaskbarViewMode cannot be set with Explorer.Exe running #2733
Comments
I've got the same error |
Same error here. I tried to use the solutions recommended by the OP, but it also didn't work. EDIT: Managed to fix it by disabling UCPD and reapplying the tweaks. Thanks to #2802 (comment) and #2769 (comment) for pointing me in that direction. |
This issue was marked as stale due to inactivity. |
I found another workaround based on a powershell script on tenforums (which links to mydigitallife for deeper exploration) which is working for me 😃. No need for closing explorer.exe. Try this PowerShell script as Admin: # https://forums.mydigitallife.net/threads/taskbarda-widgets-registry-change-is-now-blocked.88547/#post-1849006
# jeff789741
$MethodDefinition = @'
[DllImport("Shlwapi.dll", CharSet = CharSet.Unicode, ExactSpelling = true, SetLastError = false)]
public static extern int HashData(
byte[] pbData,
int cbData,
byte[] piet,
int outputLen);
'@
$Shlwapi = Add-Type -MemberDefinition $MethodDefinition -Name 'Shlwapi' -Namespace 'Win32' -PassThru
# (2 is for off)
$option = 2
$machineIdReg = Get-ItemProperty -Path 'HKLM:\SOFTWARE\Microsoft\SQMClient\' -Name 'MachineId' -ErrorAction SilentlyContinue
$machineId = '{C283D224-5CAD-4502-95F0-2569E4C85074}' # Fallback Value
if ($machineIdReg) {
$machineId = $machineIdReg.MachineId
}
$combined = $machineId + '_' + $option.ToString()
$reverse = $combined[($combined.Length - 1)..0] -join ''
$bytesIn = [system.Text.Encoding]::Unicode.GetBytes($reverse)
$bytesOut = [byte[]]::new(4)
$Shlwapi::HashData($bytesIn, 0x53, $bytesOut, $bytesOut.Count)
$dwordData = [System.BitConverter]::ToUInt32($bytesOut,0)
Copy-Item (Get-Command reg).Source .\reg1.exe
Start-Process -NoNewWindow -Wait -FilePath .\reg1.exe -ArgumentList 'ADD','HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Feeds\','/v','ShellFeedsTaskbarViewMode','/t','REG_DWORD','/d',$option,'/f'
Start-Process -NoNewWindow -Wait -FilePath .\reg1.exe -ArgumentList 'ADD','HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Feeds\','/v','EnShellFeedsTaskbarViewMode','/t','REG_DWORD','/d',$dwordData,'/f'
Remove-Item .\reg1.exe -ErrorAction SilentlyContinue |
Describe the bug
When running the "Disable Telemetry" Tweak, I get the below error:
I confirmed this by manually trying to do myself in regedit and not being allowed.
Searching led me to a Reddit Post with the solution below:
A follow up comment also recommended to disable/create two other registry entries:
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Registry tweaks are set correctly (a warning should come up for this option as restarting explorer.exe will remove peoples open folders etc)
Screenshots
N/A
Additional context
OS Name Microsoft Windows 11 Pro
Version 10.0.22631 Build 22631
The text was updated successfully, but these errors were encountered: