I'm trying to launch an app via GPO login script, but for the life of me - I can't get it working.
I've tried using a batch file, like this:
and also vbscript, like this:
Both run when I double-click on them from the \Netlogon share. I don't see any errors in the event log. And finally, RSOP.msc shows that the policy should be running. Anyone know what the hell I'm doing wrong???
I've tried using a batch file, like this:
Code:
START "" "%ProgramFiles%\Microsoft Office Communicator\Communicator.exe"
and also vbscript, like this:
Code:
Set WshShell = WScript.CreateObject("WScript.Shell")
Command = "%WINDIR%\System32\Calc.exe"
WshShell.Run Command
Both run when I double-click on them from the \Netlogon share. I don't see any errors in the event log. And finally, RSOP.msc shows that the policy should be running. Anyone know what the hell I'm doing wrong???