Alan D. Ayers Posted December 19, 2006 Share Posted December 19, 2006 K I have two processes that use RunAsSet. One works fine running from my computer The other same userid, password etc running from my computer gives me access denied The second script is just a msgbox saying hello. Anyone have any idea what is happening here Link to comment Share on other sites More sharing options...
Alan D. Ayers Posted December 19, 2006 Author Share Posted December 19, 2006 RunAsSet ($asAdminIDs, @LogonDomain, $AdminPassword) $sRunCMD = "Test.exe" $val = RunWait($sRunCMD,@ScriptDir,@SW_MAXIMIZE) msgbox(0,"","done") ; ; Clean up and leave ; RunAsSet() Link to comment Share on other sites More sharing options...
Alan D. Ayers Posted December 19, 2006 Author Share Posted December 19, 2006 By the looks of it it must have something to do with the share I am running on... However I am looking at the security for all the folders and the files and Everyone has full control. It is stumping me Link to comment Share on other sites More sharing options...
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