【心得】实战WSUS3.0客户端机器连通却尚未报告问题

来源:互联网 发布:电脑淘宝卖家中心在哪 编辑:程序博客网 时间:2024/04/29 05:36

截取其中一段错误报告,方便大家搜索用:

09-09-08 11:24:28+0800  280 ea4 Trying to make out of proc datastore active
2009-09-08 11:24:28+0800  280 ea4 Out of proc datastore is now active
2009-09-08 11:24:28+0800 1556 cf4 PT: Using serverID {3DA21691-E39D-4DA6-8A4B-B43877BCB1B7}
2009-09-08 11:24:28+0800 1556 cf4 Failed to obtain cached cookie with hr = 80248008.
2009-09-08 11:24:28+0800 1556 cf4 Failed to upload events with hr = 80248008.
2009-09-08 11:30:29+0800  280 ea4 Out of proc datastore is shutting down
2009-09-08 11:30:30+0800  280 ea4 Out of proc datastore is now inactive

 

 

最近刚接手公司的WSUS管理,服务器系统2003(无域),安装的是WSUS3.0,由于下面机器经常出故障,所以很多机器重装后IP改变,组策略忘记设置等问题,导致很多机器与服务器失去联系,根据正常做法,设置组策略,强制刷新组策略,但是还是很多机器未能发现,

然后采用从可更新机器导出注册表进去配置,然后停止自动更新服务,清除些原始更新残留日志,再重启服务,接着强制客户端报告。

结果不错,WSUS服务器端可以发现客户端了,但是还是没有报告,接着找了下资料,给客户端安装了下WindowsUpdateAgent30-x86.exe,再强制客户端报告,终于成功接收到报告。

 

还有种情况是WSUS服务端的SELF什么的虚拟网站没设置好,比如端口和默认网站使用的一样,80端口,或是未添加匿名访问用户。

 

这是我的一些排错心得,希望对大家有所帮助。

 

下面贴上一些用到的批处理文件:

 

 

reg add HKLM/SOFTWARE/Policies/Microsoft/Windows/WindowsUpdate /f
 reg add HKLM/SOFTWARE/Policies/Microsoft/Windows/WindowsUpdate /f /v WUServer /d 192.168.1.1:8530
 reg add HKLM/SOFTWARE/Policies/Microsoft/Windows/WindowsUpdate /f /v WUStatusServer /d 192.168.1.1:8530
 reg add HKLM/SOFTWARE/Policies/Microsoft/Windows/WindowsUpdate /f /v TargetGroupEnabled /t REG_DWORD /d 1
 reg add HKLM/SOFTWARE/Policies/Microsoft/Windows/WindowsUpdate/AU /f
 reg add HKLM/SOFTWARE/Policies/Microsoft/Windows/WindowsUpdate/AU /f /v NoAutoUpdate /t REG_DWORD /d 0
 reg add HKLM/SOFTWARE/Policies/Microsoft/Windows/WindowsUpdate/AU /f /v AUOptions /t REG_DWORD /d 4
 reg add HKLM/SOFTWARE/Policies/Microsoft/Windows/WindowsUpdate/AU /f /v ScheduledInstallDay /t REG_DWORD /d 0
 reg add HKLM/SOFTWARE/Policies/Microsoft/Windows/WindowsUpdate/AU /f /v ScheduledInstallTime /t REG_DWORD /d 12
 reg add HKLM/SOFTWARE/Policies/Microsoft/Windows/WindowsUpdate/AU /f /v NoAutoRebootWithLoggedOnUsers /t REG_DWORD /d 1
 reg add HKLM/SOFTWARE/Policies/Microsoft/Windows/WindowsUpdate/AU /f /v AutoInstallMinorUpdates /t REG_DWORD /d 1
 reg add HKLM/SOFTWARE/Policies/Microsoft/Windows/WindowsUpdate/AU /f /v UseWUServer /t REG_DWORD /d 1
 reg add HKLM/SOFTWARE/Policies/Microsoft/Windows/WindowsUpdate/AU /f /v DetectionFrequencyEnabled /t REG_DWORD /d 1
 reg add HKLM/SOFTWARE/Policies/Microsoft/Windows/WindowsUpdate/AU /f /v DetectionFrequency /t REG_DWORD /d 12

 

以上这段是给客户端布置服务器地址的。

 

net stop wuauserv
 del %SystemRoot%/SoftwareDistribution/*.* /S /Q
 net start wuauserv
 wuauclt /resetauthorization /detectnow
 wuauclt.exe /downloadnow
 wuauclt.exe /reportnow

 

 

这段就是强制客户端立即报告下载的指令了

 

(大家保存为批处理文件就可以直接使用了,WindowsUpdateAgent30-x86.exe的话CSDN上有下载,我就不提供地址了)

原创粉丝点击