@echo off Echo SICOIR TOOL KIT TO DISABLE DELIVERY OF MICROSOFT INTERNET EXPLORER 7 Echo. set ProductName=Internet Explorer 7.0 set REGBlockKey=HKLM\SOFTWARE\Microsoft\Internet Explorer\Setup\7.0 set REGBlockValue=DoNotAllowIE70 set RemoteMachine=%1 goto LocalMachine :Block Echo Blocking deployment of %ProductName% on %RemoteMachineName% REG ADD "\\%RemoteMachine%\%REGBlockKey%" /v %REGBlockValue% /t REG_DWORD /d 1 /f Echo. Echo Have a wonderful day from your friends at Sicoir! -- Dallas Echo. pause goto End :LocalMachine set Action=%1 set RemoteMachine=. set RemoteMachineName=the local machine goto Block :End