F5F Stay Refreshed Software Operating Systems Update Windows 10 settings via registry or CMD commands swiftly.

Update Windows 10 settings via registry or CMD commands swiftly.

Update Windows 10 settings via registry or CMD commands swiftly.

Pages (2): 1 2 Next
C
crazy_crew
Member
112
06-02-2016, 04:50 AM
#1
Hello, this subject could seem unusual for some, but please be patient. I aim to simplify the process of updating Windows 10 settings. I need guidance on which registry entries or CMD commands to use and in what order. Ideally, I’d like a single file or a combined CMD command that applies all changes at once. If possible, I appreciate knowing the specific folders for each setting so modifications can be made efficiently. Should it not be feasible to adjust every listed setting, I would appreciate a shortcut to access the settings menu directly. In short, I need to modify these configurations either through the registry, CMD, or by opening a convenient shortcut to avoid confusion.
C
crazy_crew
06-02-2016, 04:50 AM #1

Hello, this subject could seem unusual for some, but please be patient. I aim to simplify the process of updating Windows 10 settings. I need guidance on which registry entries or CMD commands to use and in what order. Ideally, I’d like a single file or a combined CMD command that applies all changes at once. If possible, I appreciate knowing the specific folders for each setting so modifications can be made efficiently. Should it not be feasible to adjust every listed setting, I would appreciate a shortcut to access the settings menu directly. In short, I need to modify these configurations either through the registry, CMD, or by opening a convenient shortcut to avoid confusion.

S
SmashBeaz
Member
131
06-04-2016, 06:17 PM
#2
Would you prefer using PowerShell over CMD? You can achieve this by combining PowerShell, registry, and legacy commands like Powercfg. The most efficient way to handle it is via a single script or file. However, in a domain setting, applying changes through Group Policy becomes much simpler.
S
SmashBeaz
06-04-2016, 06:17 PM #2

Would you prefer using PowerShell over CMD? You can achieve this by combining PowerShell, registry, and legacy commands like Powercfg. The most efficient way to handle it is via a single script or file. However, in a domain setting, applying changes through Group Policy becomes much simpler.

L
livtheviking
Posting Freak
846
06-04-2016, 08:55 PM
#3
Sure, I understand using PowerShell is fine for you. I’ll go with a single-click approach unless you need more files. No worries about group policy or anything else—I’ll keep it simple.
L
livtheviking
06-04-2016, 08:55 PM #3

Sure, I understand using PowerShell is fine for you. I’ll go with a single-click approach unless you need more files. No worries about group policy or anything else—I’ll keep it simple.

D
Dingdongyou
Member
220
06-18-2016, 06:51 PM
#4
Here’s a revised version of your notes:

The script below handles all tasks except configuring performance settings and advanced Windows Update options. You should execute it in an elevated PowerShell window. For admin access, open a new window and paste the commands. If you want to run it from a file, save it as a .ps1 file and create a shortcut pointing to it with powershell.exe -f. Adjust the UAC prompt by going through advanced settings.

For performance tweaks, you can modify registry values—see the tutorial link for guidance. Regarding Advanced Windows Update, I’ll need more details to figure this out. You might want to check the GPO or registry changes afterward.

The attached script is ready. Please test it on a non-production system first.

Disclaimer: I’m not liable for any issues arising from using this tool. Use at your own risk. #Disable UAC
Set-ItemProperty -Path HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System -Name EnableLUA -Value 0 -Type DWord
Taskbar Settings:
Set-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Search -Name SearchBoxTaskbarMode -Value 0 -Type DWord
Advanced Explorer:
Set-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name ShowTaskViewButton -Value 0 -Type DWord
Uninstall Cortana:
Get-AppxPackage -allusers Microsoft.549981C3F5F10 | Remove-AppxPackage
Sound Settings:
Set-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Multimedia\Audio -Name UserDuckingPreference -Value 3 -Type DWord
Folder Options:
Set-ItemProperty -Path HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer -Name NoRecentDocsHistory -Value 1 -Type DWord
ShowFrequent:
New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer -Name ShowFrequent -Value 0 -Type DWord
Performance Options:
VisualFXSetting:
Set-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\VisualEffects -Name VisualFXSetting -Value 3 -Type DWord
High Performance PowerPlan:
Powercfg /S 8c5e7fda-e8bf-4a96-9a85-a6e23a8c635c
Powercfg /change /monitor-timeout-ac 0
Powercfg /change /standby-timeout-ac 0
Launch Options:
SystemPropertiesPerformance.exe
Adjust Sleep:
powercfg /change /standby-timeout-ac 0
Stop-Service WSearch:
Set-Service WSearch -StartupType Disabled
Rename PC:
$newName = Read-Host "Enter new name for this PC"
Rename-Computer -NewName $newName
Save and run as needed.
Please follow the instructions carefully.
#Disclaimer
D
Dingdongyou
06-18-2016, 06:51 PM #4

Here’s a revised version of your notes:

The script below handles all tasks except configuring performance settings and advanced Windows Update options. You should execute it in an elevated PowerShell window. For admin access, open a new window and paste the commands. If you want to run it from a file, save it as a .ps1 file and create a shortcut pointing to it with powershell.exe -f. Adjust the UAC prompt by going through advanced settings.

For performance tweaks, you can modify registry values—see the tutorial link for guidance. Regarding Advanced Windows Update, I’ll need more details to figure this out. You might want to check the GPO or registry changes afterward.

The attached script is ready. Please test it on a non-production system first.

Disclaimer: I’m not liable for any issues arising from using this tool. Use at your own risk. #Disable UAC
Set-ItemProperty -Path HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System -Name EnableLUA -Value 0 -Type DWord
Taskbar Settings:
Set-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Search -Name SearchBoxTaskbarMode -Value 0 -Type DWord
Advanced Explorer:
Set-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name ShowTaskViewButton -Value 0 -Type DWord
Uninstall Cortana:
Get-AppxPackage -allusers Microsoft.549981C3F5F10 | Remove-AppxPackage
Sound Settings:
Set-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Multimedia\Audio -Name UserDuckingPreference -Value 3 -Type DWord
Folder Options:
Set-ItemProperty -Path HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer -Name NoRecentDocsHistory -Value 1 -Type DWord
ShowFrequent:
New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer -Name ShowFrequent -Value 0 -Type DWord
Performance Options:
VisualFXSetting:
Set-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\VisualEffects -Name VisualFXSetting -Value 3 -Type DWord
High Performance PowerPlan:
Powercfg /S 8c5e7fda-e8bf-4a96-9a85-a6e23a8c635c
Powercfg /change /monitor-timeout-ac 0
Powercfg /change /standby-timeout-ac 0
Launch Options:
SystemPropertiesPerformance.exe
Adjust Sleep:
powercfg /change /standby-timeout-ac 0
Stop-Service WSearch:
Set-Service WSearch -StartupType Disabled
Rename PC:
$newName = Read-Host "Enter new name for this PC"
Rename-Computer -NewName $newName
Save and run as needed.
Please follow the instructions carefully.
#Disclaimer

L
lebossdu51
Member
61
06-19-2016, 12:27 AM
#5
Updated script to avoid certain issues when generating existing values. #Disable UAC Set-ItemProperty path for EnableLUA #Taskbar settings adjusted to suppress errors Taskbar mode not enabled Search box taskbar disabled Explorer button hidden Uninstall Cortana command handled quietly Sound preferences modified Cortana behavior Folder options cleared recent history Explorer settings reset Performance tweaks applied with custom visual effects Settings launched performance tool with high plan powercfg commands turned off WSearch stopped running service Script saved new name prompt for user confirmation
L
lebossdu51
06-19-2016, 12:27 AM #5

Updated script to avoid certain issues when generating existing values. #Disable UAC Set-ItemProperty path for EnableLUA #Taskbar settings adjusted to suppress errors Taskbar mode not enabled Search box taskbar disabled Explorer button hidden Uninstall Cortana command handled quietly Sound preferences modified Cortana behavior Folder options cleared recent history Explorer settings reset Performance tweaks applied with custom visual effects Settings launched performance tool with high plan powercfg commands turned off WSearch stopped running service Script saved new name prompt for user confirmation

L
LoveDoggy56
Junior Member
45
06-23-2016, 04:40 AM
#6
Thank you so much! I'm glad to hear it. Feel free to try it out and let me know if you need any adjustments. I'll wait for your response.
L
LoveDoggy56
06-23-2016, 04:40 AM #6

Thank you so much! I'm glad to hear it. Feel free to try it out and let me know if you need any adjustments. I'll wait for your response.

M
mumustrak
Senior Member
729
06-23-2016, 05:55 AM
#7
So far we've adjusted a few scripts. Missing one: #10 - Windows Updates advanced options – turn on all four settings (probably the edit I missed). #5 – Performance tweaks – can customize enabled/disabled options? I’m open to any method: registry, command prompt, batch file, shortcut, or even a quick edit. Edit: I located the registry entry from your link. My mistake. #6 – Rename this PC – can run it via CMD or BAT? If not, what alternatives exist? Making a shortcut that opens the menu in two clicks would be ideal. Thanks again, though – this is tough for someone new like me.
M
mumustrak
06-23-2016, 05:55 AM #7

So far we've adjusted a few scripts. Missing one: #10 - Windows Updates advanced options – turn on all four settings (probably the edit I missed). #5 – Performance tweaks – can customize enabled/disabled options? I’m open to any method: registry, command prompt, batch file, shortcut, or even a quick edit. Edit: I located the registry entry from your link. My mistake. #6 – Rename this PC – can run it via CMD or BAT? If not, what alternatives exist? Making a shortcut that opens the menu in two clicks would be ideal. Thanks again, though – this is tough for someone new like me.

Z
Zaverns
Junior Member
31
06-23-2016, 12:55 PM
#8
Did you see my complete message? #10 I didn’t overlook the choices, I’m still reviewing them. I’ve identified three of them, focusing on the fourth. #5 Yes, it works. I shared a link to an article that explains it. You’d have to alter the REG_BINARY setting in HKEY_CURRENT_USER\Control Panel\Desktop. If you provide a screenshot of your desired configuration, I can help adjust it. #6 Is there a problem with using the script? Just entering the new PC name when prompted will rename it. You can also use BAT/CMD with the following command, but PowerShell is far simpler. wmic computersystem where name="%computername%" call rename="YOUR-NEW-NAME" EDIT: Also, certain actions like renaming and modifying UAC need a reboot. If you change line 46 to the one below, it will restart automatically as soon as you type a new PC name and press Enter. Rename-Computer -NewName $newName -Restart
Z
Zaverns
06-23-2016, 12:55 PM #8

Did you see my complete message? #10 I didn’t overlook the choices, I’m still reviewing them. I’ve identified three of them, focusing on the fourth. #5 Yes, it works. I shared a link to an article that explains it. You’d have to alter the REG_BINARY setting in HKEY_CURRENT_USER\Control Panel\Desktop. If you provide a screenshot of your desired configuration, I can help adjust it. #6 Is there a problem with using the script? Just entering the new PC name when prompted will rename it. You can also use BAT/CMD with the following command, but PowerShell is far simpler. wmic computersystem where name="%computername%" call rename="YOUR-NEW-NAME" EDIT: Also, certain actions like renaming and modifying UAC need a reboot. If you change line 46 to the one below, it will restart automatically as soon as you type a new PC name and press Enter. Rename-Computer -NewName $newName -Restart

T
the5harkman
Senior Member
542
06-25-2016, 09:50 AM
#9
I obtained the Windows Update components, though one (Receive Updates for other Microsoft Products) exhibits odd behavior. Even after adjusting registry entries, the switch remains inactive. Only two changes were made, yet it doesn’t update during the process. I’ll continue investigating, but it seems to alter just a couple of values. #Disable UAC Set-ItemProperty -Path HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System -Name EnableLUA -Value 0 -Type DWord #Taskbar Settings Set-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Search -Name SearchBoxTaskbarMode -Value 0 -Type DWord -Force New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name ShowTaskViewButton -Value 0 -Type DWord -ErrorAction SilentlyContinue Set-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer -Name ShowTaskViewButton -Value 0 -Type DWord #Disable Cortana Get-AppxPackage -allusers Microsoft.549981C3F5F10 | Remove-AppxPackage -ErrorAction SilentlyContinue #Sound Settings Set-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Multimedia\Audio -Name UserDuckingPreference -Value 3 -Type DWord #Folder Options Set-ItemProperty -Path HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer -Name NoRecentDocsHistory -Value 1 -Type DWord New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer -Name ShowFrequent -Value 0 -Type DWord -ErrorAction SilentlyContinue Set-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer -Name ShowFrequent -Value 0 -Type DWord #Performance Options #Set to custom New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\VisualEffects -Name VisualFXSetting -Value 3 -Type DWord -ErrorAction SilentlyContinue Set-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\VisualEffects -Name VisualFXSetting -Value 3 -Type DWord #Launch Options 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 #Disable WSearch Stop-Service WSearch Set-Service WSearch -StartupType Disabled #Windows Update Settings Set-ItemProperty -Path HKLM:\SOFTWARE\Microsoft\WindowsUpdate\UX\Settings -Name RestartNotificationsAllowed2 -Value 1 -Type DWord Set-ItemProperty -Path HKLM:\SOFTWARE\Microsoft\WindowsUpdate\UX\Settings -Name AllowAutoWindowsUpdateDownloadOverMeteredNetwork -Value 1 -Type DWord Set-ItemProperty -Path HKLM:\SOFTWARE\Microsoft\WindowsUpdate\UX\Settings -Name IsExpedited -Value 1 -Type DWord New-ItemProperty -Path HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Services -Name DefaultService -Value 7971f918-a847-4430-9279-4a52d1efe18d #Sound Settings Set-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Multimedia\Audio -Name UserDuckingPreference -Value 3 -Type DWord #Folder Options Set-ItemProperty -Path HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer -Name ShowFrequent -Value 0 -Type DWord #Performance Options #Enable UAC Rename PC $newName = Read-Host "Enter Name for this PC" Rename-Computer -NewName $newName -Restart shoval Script.ps1
T
the5harkman
06-25-2016, 09:50 AM #9

I obtained the Windows Update components, though one (Receive Updates for other Microsoft Products) exhibits odd behavior. Even after adjusting registry entries, the switch remains inactive. Only two changes were made, yet it doesn’t update during the process. I’ll continue investigating, but it seems to alter just a couple of values. #Disable UAC Set-ItemProperty -Path HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System -Name EnableLUA -Value 0 -Type DWord #Taskbar Settings Set-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Search -Name SearchBoxTaskbarMode -Value 0 -Type DWord -Force New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name ShowTaskViewButton -Value 0 -Type DWord -ErrorAction SilentlyContinue Set-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer -Name ShowTaskViewButton -Value 0 -Type DWord #Disable Cortana Get-AppxPackage -allusers Microsoft.549981C3F5F10 | Remove-AppxPackage -ErrorAction SilentlyContinue #Sound Settings Set-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Multimedia\Audio -Name UserDuckingPreference -Value 3 -Type DWord #Folder Options Set-ItemProperty -Path HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer -Name NoRecentDocsHistory -Value 1 -Type DWord New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer -Name ShowFrequent -Value 0 -Type DWord -ErrorAction SilentlyContinue Set-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer -Name ShowFrequent -Value 0 -Type DWord #Performance Options #Set to custom New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\VisualEffects -Name VisualFXSetting -Value 3 -Type DWord -ErrorAction SilentlyContinue Set-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\VisualEffects -Name VisualFXSetting -Value 3 -Type DWord #Launch Options 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 #Disable WSearch Stop-Service WSearch Set-Service WSearch -StartupType Disabled #Windows Update Settings Set-ItemProperty -Path HKLM:\SOFTWARE\Microsoft\WindowsUpdate\UX\Settings -Name RestartNotificationsAllowed2 -Value 1 -Type DWord Set-ItemProperty -Path HKLM:\SOFTWARE\Microsoft\WindowsUpdate\UX\Settings -Name AllowAutoWindowsUpdateDownloadOverMeteredNetwork -Value 1 -Type DWord Set-ItemProperty -Path HKLM:\SOFTWARE\Microsoft\WindowsUpdate\UX\Settings -Name IsExpedited -Value 1 -Type DWord New-ItemProperty -Path HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Services -Name DefaultService -Value 7971f918-a847-4430-9279-4a52d1efe18d #Sound Settings Set-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Multimedia\Audio -Name UserDuckingPreference -Value 3 -Type DWord #Folder Options Set-ItemProperty -Path HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer -Name ShowFrequent -Value 0 -Type DWord #Performance Options #Enable UAC Rename PC $newName = Read-Host "Enter Name for this PC" Rename-Computer -NewName $newName -Restart shoval Script.ps1

S
sleyp95
Junior Member
8
06-30-2016, 11:53 AM
#10
@shoval It has been transformed into a batch file if you wish. Simply right-click and execute with admin privileges.

Enable UAC bypass by editing the registry at the specified paths.

Disable UAC via PowerShell command in the admin console.
S
sleyp95
06-30-2016, 11:53 AM #10

@shoval It has been transformed into a batch file if you wish. Simply right-click and execute with admin privileges.

Enable UAC bypass by editing the registry at the specified paths.

Disable UAC via PowerShell command in the admin console.

Pages (2): 1 2 Next