Leaked source code of windows server 2003
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.

11 lines
496 B

  1. WScript.Echo("Removing the BITS IE Plug-in sample.");
  2. var WshShell = new ActiveXObject("WScript.Shell");
  3. WScript.Echo("Deleting files...");
  4. WshShell.Run("cmd /c \"del %windir%\\system32\\bits_ie.htm\"",1,true);
  5. WshShell.Run("cmd /c \"del %windir%\\system32\\bits_ie.exe\"",1,true);
  6. WScript.Echo("Removing registry entries...");
  7. WshShell.RegDelete( "HKCU\\Software\\Microsoft\\Internet Explorer\\MenuExt\\Background Download As\\" );
  8. WScript.Echo("Sample removed.");
  9. WScript.Quit(0);