SUS装好后,按照组策略或者设定客户端注册表的方法可以让Client定时连到SUS Server进行更新检测动作,但有时也会需要在Client手动强制进行更新动作,方法如下:
1> 停止“Automatic Updates”服务;
2> 打开注册表编辑器,将“HKEY_LOCAL_MACHINE/Software/Microsoft/Windows/CurrentVersion/WindowsUpdate/Auto Update/”下的子键“AUState”设为2;
3> 删除“HKEY_LOCAL_MACHINE/Software/Microsoft/Windows/CurrentVersion/WindowsUpdate/Auto Update/”下的“LastWaitTimeout”子键(如果存在该键);
4> 激活“Automatic Updates”服务;
大约10分钟左右,Client端会检查最新更新完毕,如果当前登入用户为为本机Administrators群组成员,将能够在系统任务栏右边发现“更新提示图标”。
可以将以上动作写成一个bat檔,执行即可,如下:
net stop wuauserv /y
echo Windows Registry Editor Version 5.00 >c:/sus.reg
echo [HKEY_LOCAL_MACHINE/Software/Microsoft/Windows/CurrentVersion/WindowsUpdate/Auto Update]>> c:/sus.reg
echo "AUState"=dword:00000002>> c:/sus.reg
echo [HKEY_LOCAL_MACHINE/Software/Microsoft/Windows/CurrentVersion/WindowsUpdate/Auto Update]>> c:/sus.reg
echo "LastWaitTimeout"=->> c:/sus.reg
regedit /s c:/sus.reg
del c:/sus.reg
net start wuauserv
1> 停止“Automatic Updates”服务;
2> 打开注册表编辑器,将“HKEY_LOCAL_MACHINE/Software/Microsoft/Windows/CurrentVersion/WindowsUpdate/Auto Update/”下的子键“AUState”设为2;
3> 删除“HKEY_LOCAL_MACHINE/Software/Microsoft/Windows/CurrentVersion/WindowsUpdate/Auto Update/”下的“LastWaitTimeout”子键(如果存在该键);
4> 激活“Automatic Updates”服务;
大约10分钟左右,Client端会检查最新更新完毕,如果当前登入用户为为本机Administrators群组成员,将能够在系统任务栏右边发现“更新提示图标”。
可以将以上动作写成一个bat檔,执行即可,如下:
net stop wuauserv /y
echo Windows Registry Editor Version 5.00 >c:/sus.reg
echo [HKEY_LOCAL_MACHINE/Software/Microsoft/Windows/CurrentVersion/WindowsUpdate/Auto Update]>> c:/sus.reg
echo "AUState"=dword:00000002>> c:/sus.reg
echo [HKEY_LOCAL_MACHINE/Software/Microsoft/Windows/CurrentVersion/WindowsUpdate/Auto Update]>> c:/sus.reg
echo "LastWaitTimeout"=->> c:/sus.reg
regedit /s c:/sus.reg
del c:/sus.reg
net start wuauserv