Jump to content
Sign in to follow this  
Guest Omko

computer startup script. runwait fails on winxp.

Recommended Posts

Guest Omko

I have the following script. I let it run via active directory group policy as a startup script for my machines.

the script works just fine with windows 2000 but is fails under windows xp.

does anyone have a idea what is happening here? why doesn't this work?

$commando = "\\server\share$\executable.exe /option1 /option2"
RunAsSet("accountname", "Domain", "password")
runwait (@ComSpec & " /c " & $commando )

the error that i recieve is "access denied" on the runwait command.

all machines are members of the same domain and are placed in the same OU. no special group membership for all the machines (beside domain computers)

Share this post

Link to post
Share on other sites

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
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...