GPO .bat won't run
I have a GPO to run an exe file on a share on one of our servers. The bat file that the GPO should execute looks like this:
start \\SERV01\RPM$\client.exe data=\\SERV01\RPM$\Data
Just running the script causes the client to start on a local machine, however the GPO does not start the client program. GPO Results shows that the GPO is firing, and I can see no errors in the Event Viewer for the local machine. This one is baffling me! Any ideas?
Do you have a software restrictions policy defined?
Is it a startup or logon script? If so, does the respective computer or user account have read permission on the share and NTFS?
Failing that, can you run the executable from Run as \\SERV01\RPM$\client.exe data=\\SERV01\RPM$\Data ?
If so, try adding that to the GPO directly instead of using the batch file.
I'm pretty sure we don't have "start" in our GPO startup scripts, and they run stuff on UNC shares just fine :confused:
Is "data=\\SERV01\RPM$\Data" supposed to be passed as a parameter? If so try enclosing the whole thing in apostrophes:
As a quick update, we have solved this issue by using the "Run these programs at user logon" setting in the GPO. We never did get the .bat working...