ElGuapo Posted August 5, 2005 Posted August 5, 2005 I inherited a bunch of scripting programs when someone left. They have one kix program in particular, which I will call test.ext, that has to run with alternate credentials. The program exists in the NETLOGON share directory on all domain controllers, but I'll use DC1 here as a test. After the AUTOIT program is compiled and ran, an error message comes up that says "the directory name is invalid. This problem is driving me batty. It is a very simple program, yet I cannot get it to work. RUN TEST PROGRAM RunAsSet("<adminuser>","DC1","<password>",2) RunWait("\\DC1\NETLOGON\Test.exe") RunAsSet() Using Windows Run command, I can pull up \\DC1\NETUSER with no problems and see the TEST.EXE program. Authenticated users have read rights to that directory. Any ideas?
Blue_Drache Posted August 5, 2005 Posted August 5, 2005 (edited) Call me crazy, but ...RunWait("\\DC1\NETLOGON\Test.exe")and I can pull up \\DC1\NETUSERisn't the same location. Is this a typo in your explanation? Edited August 5, 2005 by Blue_Drache Lofting the cyberwinds on teknoleather wings, I am...The Blue Drache
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now