PINTO1927 Posted April 7, 2018 Posted April 7, 2018 HI GUYS, I'm trying to run this script with an advanced domain user, but when compiling the cmd it returns access denied, as if it did not recognize the user of AD. RunAsWait("administrator", "CONTOSO", "Services.1", 2, "C:\Users\albert.frizz\Desktop\test.bat") can you help me please?
PINTO1927 Posted April 9, 2018 Author Posted April 9, 2018 I solved by inserting #requireadmin Thanks!
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