mirror of https://github.com/tongzx/nt5src
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
485 B
12 lines
485 B
WScript.Echo("Removing the BITS IE Plug-in sample.");
|
|
var WshShell = new ActiveXObject("WScript.Shell");
|
|
|
|
WScript.Echo("Deleting files...");
|
|
WshShell.Run("cmd /c \"del %windir%\\system32\\bits_ie.htm\"",1,true);
|
|
WshShell.Run("cmd /c \"del %windir%\\system32\\bits_ie.exe\"",1,true);
|
|
|
|
WScript.Echo("Removing registry entries...");
|
|
WshShell.RegDelete( "HKCU\\Software\\Microsoft\\Internet Explorer\\MenuExt\\Background Download As\\" );
|
|
|
|
WScript.Echo("Sample removed.");
|
|
WScript.Quit(0);
|