Jump to content

Recommended Posts

Posted

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?

Posted

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.

Posted (edited)

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:

 

"\\SERV01\RPM$\client.exe data=\\SERV01\RPM$\Data"

Edited by Oops_my_bad
Posted
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...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...