Update Windows 10 settings via registry or CMD commands swiftly.
Update Windows 10 settings via registry or CMD commands swiftly.
That's exactly what I wanted! Nice! Thank you! Everything is working except one thing. But that's still an accomplishment! Mad respect to you for helping me with this little thing of mine. The only problem now is the " Receive Updates for other Microsoft Products", I can't find a solution to this yet, all I found was this: https://www.thewindowsclub.com/how-to-up...ows-update Which wasn't helpful, I created those two folders (Windows Update, AU) and created that DWORD inside the last folder and restarted the PC, nothing changed.
There seems to be an odd problem here. The registry entries are tied to group policy, which only applies on Pro or Enterprise editions of Windows. If you're using a Home version, those settings won't activate. I added the two options that toggle it, but somehow it still doesn’t switch to reflect it’s active. I’m not sure if it behaves correctly even when it looks enabled.
You're using the pro version of Windows 10, but the updates feature isn't functioning properly. The settings you added didn't seem to activate it, and even after restarting, the indicator stays off. It looks like the problem might be with the update process itself. This issue is frustrating, especially since everything else works fine.
isable UAC reg add HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v EnableLUA /d 0 /t REG_DWORD /f ::Taskbar Settings reg add HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Search /v SearchBoxTaskbarMode /d 0 /t REG_DWORD /f reg add HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced /v ShowTaskViewButton /d 0 /t REG_DWORD /f reg add HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced /v ShowTaskViewButton /d 0 /t REG_DWORD /f ::Uninstall Cortana Start powershell.exe -command "Get-AppxPackage -allusers Microsoft.549981C3F5F10 | Remove-AppxPackage" ::Sound Settings reg add HKCU\SOFTWARE\Microsoft\Multimedia\Audio /v UserDuckingPreference /d 3 /t REG_DWORD /f ::Folder Options reg add HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer /v NoRecentDocsHistory /d 1 /t REG_DWORD /f reg add HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer /v ShowFrequent /d 0 /t REG_DWORD /f :
erformance Options ::Set to custom reg add HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\VisualEffects /v VisualFXSetting /d 3 /t REG_DWORD /f ::Launch Options start C:\Windows\system32\SystemPropertiesPerformance.exe ::Set High Performance PowerPlan powercfg /S 8c5e7fda-e8bf-4a96-9a85-a6e23a8c635c ::Adjust Sleep powercfg /change /monitor-timeout-ac 0 powercfg /change /standby-timeout-ac 0 :
isable WSearch net stop WSearch sc config WSearch start=disabled ::Windows Update Settings reg add HKLM\SOFTWARE\Microsoft\WindowsUpdate\UX\Settings\ /v RestartNotificationsAllowed2 /d 1 /t REG_DWORD /f reg add HKLM\SOFTWARE\Microsoft\WindowsUpdate\UX\Settings\ /v AllowAutoWindowsUpdateDownloadOverMeteredNetwork /d 1 /t REG_DWORD /f reg add HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Services /v DefaultService /d 7971f918-a847-4430-9279-4a52d1efe18d /t REG_SZ /f reg add HKCU\Software\Microsoft\Windows\CurrentVersion\WindowsUpdate\Services\7971F918-A847-4430-9279-4A52D1EFE18D /t REG_DWORD /v RegisteredWithAU /d 1 /f reg add HKLM\SOFTWARE\PolicyOptions /v DisablePrivilegedProcessAccess /t REG_SZ /v AllowMUUpdateService /d 1 /t REG_DWORD ::Rename PC cls set /p newpcname=Enter a new name for this PC: wmic computersystem where caption="%computername%" call rename %newpcname% ::Finish cls Echo Done. Restart computer to complete changes.
I've managed to make the OS believe a GPO exists. It activates, though it appears grayed as if set through group policy. A registry record is created by the group policy option, which prevents the setting from being altered afterward; removing it resets the "on" status. I'm unsure if this might lead to problems later, but it could be useful temporarily for testing. @echo off :
isable UAC reg add HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v EnableLUA /d 0 /t REG_DWORD /f ::Taskbar Settings reg add HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Search /v SearchBoxTaskbarMode /d 0 /t REG_DWORD /f reg add HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced /v ShowTaskViewButton /d 0 /t REG_DWORD /f reg add HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced /v ShowTaskViewButton /d 0 /t REG_DWORD /f ::Uninstall Cortana Start powershell.exe -command "Get-AppxPackage -allusers Microsoft.549981C3F5F10 | Remove-AppxPackage" ::Sound Settings reg add HKCU\SOFTWARE\Microsoft\Multimedia\Audio /v UserDuckingPreference /d 3 /t REG_DWORD /f ::Folder Options reg add HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer /v NoRecentDocsHistory /d 1 /t REG_DWORD /f reg add HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer /v ShowFrequent /d 0 /t REG_DWORD /f :
erformance Options ::Set to custom reg add HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\VisualEffects /v VisualFXSetting /d 3 /t REG_DWORD /f ::Launch Options start C:\Windows\system32\SystemPropertiesPerformance.exe ::Set High Performance PowerPlan powercfg /S 8c5e7fda-e8bf-4a96-9a85-a6e23a8c635c ::Adjust Sleep powercfg /change /monitor-timeout-ac 0 powercfg /change /standby-timeout-ac 0 :
isable WSearch net stop WSearch sc config WSearch start=disabled ::Windows Update Settings reg add HKLM\SOFTWARE\Microsoft\WindowsUpdate\UX\Settings\ /v RestartNotificationsAllowed2 /d 1 /t REG_DWORD /f reg add HKLM\SOFTWARE\Microsoft\WindowsUpdate\UX\Settings\ /v AllowAutoWindowsUpdateDownloadOverMeteredNetwork /d 1 /t REG_DWORD /f reg add HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Services /v DefaultService /d 7971f918-a847-4430-9279-4a52d1efe18d /t REG_SZ /f reg add HKCU\Software\Microsoft\Windows\CurrentVersion\WindowsUpdate\Services\7971F918-A847-4430-9279-4A52D1EFE18D /t REG_DWORD /v RegisteredWithAU /d 1 /f reg add HKLM\SOFTWARE\PolicyOptions /v DisablePrivilegedProcessAccess /t REG_SZ /v AllowMUUpdateService /d 1 /t REG_DWORD ::Rename PC cls set /p newpcname=Enter a new name for this PC: wmic computersystem where caption="%computername%" call rename %newpcname% ::Finish cls Echo Done. Restart computer to complete changes.