Jump to content

Recommended Posts

Posted

Would someone direct me on how I can deploy this thing... i want to use a GPO so

I'd like to:

have a .bat file that runs and places a flag like the one I've written here

CODE

@echo off

REM THIS FILE WRITTEN BY JPIERCE IN EFFORT TO AUTOMATE THE DISTRIBUTION OF "Microsoft Anti-Spyware"

If exist "C:\MS_Anti_Spy.flg" GOTO Nevermind

If not exist "C:\MS_Anti_Spy.flg" GOTO INSTALL_MS_Anti_Spy

:INSTALL_MS_Anti_Spy

If exist "C:\Program Files\Microsoft AntiSpyware\GIANTAntiSpywareMain.exe" GOTO Nevermind

\\datacontrol\NETLOGON\GPO_Scripts\MSAntiSpy\MicrosoftAntiSpywareInstall.exe /S /V/qn

SET WriteToFile=C:\MS_Anti_Spy.flg

ECHO %date% %time% >>%WriteToFile%

@echo Microsoft Anti-Spyware installed by the CFSI IT department.

GOTO End

:Nevermind

If exist "C:\MS_Anti_Spy.flg" GOTO LOGSKIP

If not exist "C:\MS_Anti_Spy.flg" GOTO LOGPLACE

:LOGPLACE

SET WriteToFile=C:\MS_Anti_Spy.flg

ECHO %date% %time% >>%WriteToFile%

@echo Log file placed as C:\MS_Anti_Spy.flg

GOTO LOGSKIP

:LOGSKIP

@echo Microsoft Anti-Spyware already installed.............

:End

pause

exit

I tried that autoit script - do i have to deploy that to my whole network to get tit to run?

1. are the silent switchs on the just not working for anyone??

2. what's the resolution here?

Thank you all for your assistance


Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...