How to use VBS to remove WinXP piracy tips

  

Many WinXP users have encountered system pop-up prompts: "This copy of WIndows has not passed the genuine verification, you may be the victim of pirated software". The system can still be used when this prompt is encountered, but it will pop up to remind the user every once in a while, which is very annoying. The following small series teaches you a way to remove, that is, using Microsoft's VBS language.

1, first create a text file, and then enter the following information:

code is as follows:

ON ERROR RESUME NEXT

Dim VOL_PROD_KEY < Br>

if Wscript.arguments.count<1 then

VOL_PROD_KEY=InputBox("Powered By www.jb51.net"&vbCr&vbCr&" This program will automatically replace your current Windows The serial number is fully verified by Microsoft. "&vbCr&vbCr&"Serial number (OEM version is invalid, default version is XP VLK): ","Windows XP serial number autochanger"," ;MRX3F-47B9T-2487J-KWKMF-RPWBY")

if VOL_PROD_KEY="" then

Wscript.quit

end if

else

VOL_PROD_KEY = Wscript.arguments.Item(0)

end if

VOL_PROD_KEY = Replace(VOL_PROD_KEY,"-","") 'remove hyphens If any

for each Obj in GetObject("winmgmts:{impersonationLevel=impersonate}").InstancesOf ("win32_Wi ndowsProductActivation")

result = Obj.SetProductKey (VOL_PROD_KEY)

if err = 0 then

Wscript.echo "OK! Go to Microsoft to verify it!"

end if

if err <> 0 then

Wscript.echo "Replace failed! The entered CD-KEY does not match the current version. "

Err.Clear

end if

Next

2. Click Save File.

3, in turn, open the “Tools”——“Folder Options”——“View” in the upper left of the screen, and hide the known file types. Name & rdquo; The previous hook is removed, and then modify the name of the text file just now, change the name to "ld.;key.vbs"; Double-click to run OK~~

Note: The default format of the text file is “ XXXX.TXT” When we change the name, we remove the following <TXT”. Just enter “key.vbs”just ok.

This makes it easy to remove WinXP piracy tips, and does not have to spend a lot of time and time to find and reinstall the system. But Xiaobian also recommends everyone here, if your computer system configuration is not bad, then try to use Win7, follow the times and advance with the times is the best choice.

Copyright © Windows knowledge All Rights Reserved