$key = @{ Path = 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Policies\WindowsUpdate\AU' Name = 'NoAutoRebootWithLoggedOnUsers' } Set-ItemProperty @key -Value 1 -Type DWORD
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)