Windows WSUS Client registry configuration
Windows WSUS Client registry configuration 1, registry command Reg detailed explanation.
Use reg /? View the Windows command help.
Reg add command
Second, WSUS client registry configuration. Reg add HKEY_LOCAL_MACHINE\ SOFTWARE\ Policies\ Microsoft\ windows\ WindowsUpdate / v WUServer / t REG_SZ / d http://10.7.11.136:8530 / freg add HKEY_LOCAL_MACHINE\ SOFTWARE\ Policies\ Microsoft\ windows / v WUStatusServer / t REG_SZ / d http://10.7.11.136:8530 / f%% WSUS server address It is equivalent to configuring the Intranet Microsoft update service location reg add HKEY_LOCAL_MACHINE\ SOFTWARE\ Policies\ Microsoft\ windows\ WindowsUpdate / v TargetGroupEnabled / t REG_DWORD / D1 / freg add HKEY_LOCAL_MACHINE\ SOFTWARE\ Policies\ Microsoft\ windows\ WindowsUpdate / v TargetGroup / t REG_SZ / f% WSUS Client to enable group assignment and specify the name of the group. This is equivalent to configuring the client target reg add HKEY_LOCAL_MACHINE\ SOFTWARE\ Policies\ Microsoft\ windows\ WindowsUpdate\ AU / v AUOptions / t REG_DWORD / d 3 / f%% to configure automatic updates in the group policy. 2 = pre-download notification, 3 = automatic download and notification installation, 4 = automatic download and scheduled installation (with ScheduledInstallDay and ScheduledInstallTime)% 5 = automatic update is required, but it can be configured by end users and local administrators. Reg add HKEY_LOCAL_MACHINE\ SOFTWARE\ Policies\ Microsoft\ windows\ WindowsUpdate\ AU / v DetectionFrequency / t REG_DWORD / d 22 / f%% configure automatic update detection frequency 1-22Hourreg add HKEY_LOCAL_MACHINE\ SOFTWARE\ Policies\ Microsoft\ windows\ WindowsUpdate / v DetectionFrequencyEnabled / t REG_DWORD / d 1 / f% enable automatic update detection frequency reg add HKEY_LOCAL_MACHINE\ SOFTWARE\ Policies\ Microsoft\ windows\ WindowsUpdate\ AU / v NoAutoRebootWithLoggedOnUsers / t REG_DWORD / D 1 / f%% 1 = automatic updates will wait for any logged-in user to restart the computer Instead of automatically causing the computer to restart, 0 = automatic update notifies the user that the computer will automatically restart within 5 minutes to complete the installation. Reg add HKEY_LOCAL_MACHINE\ SOFTWARE\ Policies\ Microsoft\ windows\ WindowsUpdate\ AU / v NoAutoUpdate / t REG_DWORD / d 0 / f%% 0 = enable automatic update, 1 = disable automatic update. Reg add HKEY_LOCAL_MACHINE\ SOFTWARE\ Policies\ Microsoft\ windows\ WindowsUpdate\ AU / v AutoInstallMinorUpdates / t REG_DWORD / d 1 / f%% automatically install minor update, 1 = install minor update silently, 0 = handle minor update reg add HKEY_LOCAL_MACHINE\ SOFTWARE\ Policies\ Microsoft\ windows\ AU / v NoAUAsDefaultShutdownOption / t REG_DWORD / d 1 / f%% Windows does not override the shutdown option of the start menu Reg add HKEY_LOCAL_MACHINE\ SOFTWARE\ Policies\ Microsoft\ windows\ WindowsUpdate\ AU / v ScheduledInstallDay / t REG_DWORD / d 7 / freg add HKEY_LOCAL_MACHINE\ SOFTWARE\ Microsoft\ windows\ WindowsUpdate / v ScheduledInstallTime / t REG_DWORD / d 6 / f%% this parameter takes effect only when the AUOptions key is set to 4. Date range = 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7Power0 = every day, 1 to 7 = Sunday (1) to Saturday (7); time is 24-hour system 3. You can add the following command to the script to help the client contact the WSUS server net stop wuauservnet start wuauservwuauclt / accountnow`` # as soon as possible. Add the above as a bat file and use the script to automatically configure the WSUS client. # PS: you can also configure the corresponding policy in the group policy and then export it in the registry. ! [] (https://s1.51cto.com/images/blog/201906/19/30d3710a3aac93b12ecb753b57e8bcb3.png?x-oss-process=image/watermark,size_16,text_QDUxQ1RP5Y2a5a6i,color_FFFFFF,t_100,g_se,x_10,y_10,shadow_90,type_ZmFuZ3poZW5naGVpdGk=)