虚拟化模板新建虚拟机后 wsus控制台无法看到所有客户端计算机
2016-08-25 15:20
239 查看
起因:vm虚拟化下所有的服务器都是使用模板来新建虚拟机的,所以使得部分客户端SID相同了。现象:在wsus 3.0 sp1控制台上,无法看到所有服务器客户端。解决方案:均在客户端上操作,net stop wuauserv删掉 HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionWindowsUpdate 下面 SusClientId 和 SusClientIdValidation 键删掉Windows目录下SoftwareDistribution文件夹net start wuauserv运行 wuauclt.exe /Detectnow /Resetauthorization 命令在控制台就可以看到新加入的客户端了,基本上秒杀! 用于清除WSUS客户端相同SID的代码 如下:
程序代码Script Code
============================================
@echo off
Echo Save the batch file "AU_Clean_SID.cmd". This batch file will do the following:
Echo 1. Stops the wuauserv service
Echo 2. Deletes the AccountDomainSid registry key (if it exists)
Echo 3. Deletes the PingID registry key (if it exists)
Echo 4. Deletes the SusClientId registry key (if it exists)
Echo 5. Restarts the wuauserv service
Echo 6. Resets the Authorization Cookie
Echo 7. More information on http://msmvps.com/Athif
Pause
@echo on
net stop wuauserv
REG Delete "HKLMSOFTWAREMicrosoftWindowsCurrentVersionWindowsUpdate" /v AccountDomainSid /f
REG Delete "HKLMSOFTWAREMicrosoftWindowsCurrentVersionWindowsUpdate" /v PingID /f
REG Delete "HKLMSOFTWAREMicrosoftWindowsCurrentVersionWindowsUpdate" /v SusClientId /f
net start wuauserv
wuauclt /resetauthorization /detectnow
Pause
============================================
SUS client ID will be generated at next detection.
程序代码Script Code
============================================
@echo off
Echo Save the batch file "AU_Clean_SID.cmd". This batch file will do the following:
Echo 1. Stops the wuauserv service
Echo 2. Deletes the AccountDomainSid registry key (if it exists)
Echo 3. Deletes the PingID registry key (if it exists)
Echo 4. Deletes the SusClientId registry key (if it exists)
Echo 5. Restarts the wuauserv service
Echo 6. Resets the Authorization Cookie
Echo 7. More information on http://msmvps.com/Athif
Pause
@echo on
net stop wuauserv
REG Delete "HKLMSOFTWAREMicrosoftWindowsCurrentVersionWindowsUpdate" /v AccountDomainSid /f
REG Delete "HKLMSOFTWAREMicrosoftWindowsCurrentVersionWindowsUpdate" /v PingID /f
REG Delete "HKLMSOFTWAREMicrosoftWindowsCurrentVersionWindowsUpdate" /v SusClientId /f
net start wuauserv
wuauclt /resetauthorization /detectnow
Pause
============================================
SUS client ID will be generated at next detection.
相关文章推荐
- 修改TestDirector8.0服务器的计算机名后造成客户端无法连接
- Eclipse+PDT中新建php文档无法使用模板的解决方法
- 由于这台计算机没有终端服务器客户端访问许可证无法远程
- VMware vSphere 4.1虚拟化学习手册4:新建主机及虚拟机
- 远程连接报错:由于无法升级或重续本地计算机的客户端许可许 远程会话被中断
- win2003远程 客户端无法连接到远程计算机。
- 无法升级或重续本地计算机的客户端访问许可证的解决
- 客户端无法建立跟远程计算机的连接 错误解决办法
- 服务器远程连接提示由于协议错误,客户端无法连接到远程计算机
- 遇到过有人在文件服务器上新建共享文件夹,自己无法COPY文件,别人无法看到的情况么??
- 使用U盘PE安装系统,显示安装程序无法重新启动计算机,请关闭所有应用程序并且关机,以便继续进行XP安装。找不到网络路径。的解决方法
- moss2007 新建模板页 搜索框无法使用 SmallSearchInputBox
- 虚拟机里fedor可以ping通局域网内IP地址,却无法ping通计算机名!!!
- 远程桌面 客户端无法建立跟远程计算机的连接 解决办法
- 虚拟机模板安装windows系统客户端自定义设置
- “由于无法升级或重续本地计算机的客户端访问许可证,远程会话被中断。请跟服务器管理员联系。”问题的解决
- 为什么有时候我们无法在共享文件夹里面看到所有的文件?
- 客户端无法连接到远程计算机。可能没有启用远程连接
- 远程连接“由于无法升级或重续本地计算机的客户端访问许可证,远程会话被中断"的解决
- 无法启动虚拟化 因为虚拟机管理程序未运行问题解决方法