windows-nt/Source/XPSP1/NT/admin/services/drizzle/bits_ie/uninstall.js

12 lines
485 B
JavaScript
Raw Permalink Normal View History

2020-09-26 03:20:57 -05:00
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);