PowerShell scripts and regedit
configs to disable and enable Windows Updates
After running any of this commands need to reboot your PC
To disable updates open PowerShell with administrator rights and paste here command:
irm bit.ly/win-updates-disable | iex
Command to enable updates:
irm bit.ly/win-updates-enable | iex
If you see an error - please perform actons that listed below and try again:
- Open PowerShell with administrator rights
- Run the command
Set-ExecutionPolicy RemoteSigned -Force
- Confirm the execution by pressing "A" on the keyboard.
- Open PowerShell with administrator rights
- Move into
.\scripts
- Perform command
powershell .\updates.disable.ps1
- Open PowerShell with administrator rights
- Move into
.\scripts
- Perform command
powershell .\updates.enable.ps1
Для отключения обновлений Windows нужно открыть PowerShell с правами администратора и ввести команду:
irm bit.ly/win-updates-disable | iex
Чтобы обратно включить обновления Windows нужно открыть PowerShell с правами администратора и ввести команду:
irm bit.ly/win-updates-enable | iex