+ Post New Thread
Results 1 to 4 of 4
Wireless Networks Thread, GPO .bat won't run in Technical; I have a GPO to run an exe file on a share on one of our servers. The bat file ...
  1. #1

    Join Date
    Jan 2009
    Posts
    9
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    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?

  2. #2
    meastaugh1's Avatar
    Join Date
    Jul 2006
    Location
    London/Hertfordshire
    Posts
    893
    Thank Post
    70
    Thanked 85 Times in 70 Posts
    Rep Power
    33
    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.

  3. #3
    Oops_my_bad's Avatar
    Join Date
    Jan 2007
    Location
    Man chest hair
    Posts
    1,738
    Thank Post
    438
    Thanked 53 Times in 50 Posts
    Rep Power
    31
    I'm pretty sure we don't have "start" in our GPO startup scripts, and they run stuff on UNC shares just fine

    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"
    Last edited by Oops_my_bad; 16th April 2009 at 12:27 AM.

  4. #4

    Join Date
    Jan 2009
    Posts
    9
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    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...



SHARE:
+ Post New Thread

Similar Threads

  1. SIMSPERM.bat
    By cookie_monster in forum MIS Systems
    Replies: 13
    Last Post: 14th May 2014, 03:02 PM
  2. The Bat
    By Dos_Box in forum General Chat
    Replies: 1
    Last Post: 11th July 2008, 02:19 PM
  3. Client's Are using .bat files.
    By Lesley_tech in forum General Chat
    Replies: 2
    Last Post: 13th June 2008, 05:09 PM
  4. Replies: 0
    Last Post: 7th May 2008, 01:13 PM
  5. simsperm.bat
    By robert.mabbutt in forum MIS Systems
    Replies: 9
    Last Post: 15th August 2007, 10:43 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •