We are trying to copy 3 files from our domain controller to a user PC and have it execute from a .bat file when a user logs in via
When we associate the .bat file to a user in AD for their logon, the PC copies down the 2 files, but the executable isn't launched.
Am I doing something wrong here?
Here is the script in question:
mkdir c:\stinger_dl copy \\DC01\netlogon\install\PsExec.exe c:\stinger_dl\ copy \\DC91\netlogon\install\stinger.exe c:\stinger_dl\ c:\stinger_dl\psexec.exe /accepteula -u domain\admin -p MagicPassword -d -h c:\stinger_dl\stinger.exe --SILENT --ADL --GO --RPTALL --DELETE --REPORTPATH=c:\stinger_dl
We had a nasty virus outbreak last Friday (current virus protection missed it) and are trying to force a scan on all user PCs with Stinger when they login tomorrow.
Anyone interested, this is the virus that got us