Shield automatic update XP SP2 installation prompt

  

Windows XP SP2 Chinese version has been released for a long time, you can either download or install online directly through Windows Update. However, due to the large changes of SP2 to Windows XP, installing it may affect the normal use of some of our network services (such as BT download speed is slow), in addition, after the pirate users install SP2, the system will prompt activation, resulting in having to heavy The system can be installed normally. For users who don't want to install SP2 for a while, the frequent pop-up SP2 update prompts are annoying. Of course, you can directly turn off the Windows automatic update function, but this will miss the update tips of other important patches. So how do we let the system separately shield SP2 installation tips?

First, single user

Click "Start → Run", enter Regedit, open the registry editor, expand "HKEY-LOCAL-MacHINE\\Software\\PolicIEs\\Microsoft\\Windows\\WindowsUpdate" Branch, create a new REG_DWord value named "DoNotAllowXPSP2" in the right window, set its value to "1". When you want to install SP2, delete the DoNotAllowXPSP2 key or change its value to "0", you can install SP2 through the automatic update function or Windows Update.

Second, LAN users

If you are a LAN administrator, of course you can use the same method for each machine to modify the registry to block updates, but the workload too big. We can do this:

Step 1: Use Notepad to edit the following code:

@echo off
set REGBlockKey=HKLM\\Software\\
PolicIEs\\Microsoft\\Windows\\ WindowsUpd
ate
set REGBlockValue=DoNotAllowXP
SP2
set RemoteMachine=%1
if /I "/B" == "%2" goto Block
if /I "/U" == "%2" goto UnBlock
:Block
REG ADD \\\\%RemoteMachine%\\%REGBlockKey% /v %REGBlockValue% /t REG_DWord /d 1
goto End
:UnBlock
REG DELETE \\\\%RemoteMachine%\\%REGBlockKey% /v %REGBlockValue
% /f
goto End
:End

Step 2: Save them as sp2. Cmd file, run the "CMD" command to open a command prompt window, enter the directory where the sp2.cmd file is located, and run the "sp2.cmd computername /B" command (where "computername" represents the computer name). If you want to unmask, run the "sp2.cmd computername /U" command.

Tip: This blocking update feature is only available for 120 days (4 months) from August 16. In addition, Microsoft provides us with a command line tool named XPSP2BlockerTools.EXE in the Windows XP SP2 Tool-kit. It can also shield SP2. Its command format is "xpsp2blocker .exe /B" and "xpsp2blocker". .exe /U". The tool can be downloaded from the Microsoft website.

Copyright © Windows knowledge All Rights Reserved