Chinaunix首页 | 论坛 | 博客
  • 博客访问: 89895
  • 博文数量: 25
  • 博客积分: 190
  • 博客等级: 入伍新兵
  • 技术积分: 221
  • 用 户 组: 普通用户
  • 注册时间: 2011-09-20 21:46
文章分类

全部博文(25)

文章存档

2013年(17)

2011年(8)

我的朋友

分类: WINDOWS

2013-08-01 15:09:39

Method 1: Change the Registry

Important This section, method, or task contains steps that tell you how to modify the registry. However, serious problems might occur if you modify the registry incorrectly. Therefore, make sure that you follow these steps carefully. For added protection, back up the registry before you modify it. Then, you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click the following article number to view the article in the Microsoft Knowledge Base:

  ( ) How to back up and restore the registry in Windows
  1. Click Start, click Run, type cmd in the Open box, and then click OK.
  2. At the command prompt, type net stop wuauserv, and then press ENTER.
  3. Click Start, click Run, type regedit in the Open box, and then click OK.
  4. Locate and then click the following registry subkey: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate
  5. In the details pane of Registry Editor, delete the following registry entries:
    • PingID
    • AccountDomainSid
    • SusClientId
    • SusClientIDValidation
    Note Windows Update Agent 3.0 adds the SusClientIDValidation value. This value was released in May 2007. The other registry entries exist in both Windows Update Agent 2.0 and in Windows Update Agent 3.0.
  6. Exit Registry Editor.
  7. At the command prompt, type net start wuauserv, and then press ENTER.
  8. At the command prompt, type wuauclt.exe /resetauthorization /detectnow, and then press ENTER.
  9. Wait 10 minutes for a detection cycle to finish.
  10. Start the WSUS console to make sure that the clients appear in the WSUS console.
Method 2: Use the Sysprep.inf file

If you already have a file that is named Sysprep.inf in the same folder as Sysprep.exe, follow these steps.

Note To resolve this problem, these steps must be applied before you generalize the image.

  1. Double-click Sysprep.inf to open the file in Notepad.
  2. Scroll down to find the [GuiRunOnce] section.

    Note If a [GuiRunOnce] section does not exist, create it by typing it at the end of Sysprep.inf file.
  3. Underneath [GuiRunOnce], type the following text.

    Note These new commands are listed as "Command0" through "Command3." These designations are correct only if the [GuiRunOnce] section currently contains no commands. If there are already commands underneath [GuiRunOnce], change the “Commandx” entries in the new commands so that they begin with the next sequential number. For example, if the section already contains five commands that are listed as "Command0" through "Command4," number these new commands as "Command5" through "Command8."
    • Command0=”reg.exe delete HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate /v PingID /f”
    • Command1=”reg.exe delete HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate /v AccountDomainSid /f”
    • Command2=”reg.exe delete HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate /v SusClientId /f”
    • Command3=”reg.exe delete HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate /v SusClientIDValidation /f”
  4. On the File menu, click Save.
  5. On the File menu, click Exit.
Method 3: Create a Sysprep.inf file if you do not have the file

If you do not have a file that is named Sysprep.inf in the same folder as Sysprep.exe, follow these steps to create the file.

Note To resolve this problem, these steps must be applied before you generalize the image.

  1. Click Start, point to All Programs, click Accessories, and then click Notepad.
  2. Type the following text: [GuiRunOnce]

    Command0=”reg.exe delete HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate /v PingID /f”

    Command1=”reg.exe delete HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate /v AccountDomainSid /f”

    Command2=”reg.exe delete HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate /v SusClientId /f”

    Command3=”reg.exe delete HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate /v SusClientIDValidation /f”
  3. On the File menu, click Save.
  4. Locate the directory in which the Sysprep.exe file is located.
  5. Type Sysprep.inf in the File name box.
  6. Select All Files in the Save as type box.
  7. Click Save.
  8. On the File menu, click Exit.
阅读(850) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~