Ontosy Posted June 15, 2009 Share Posted June 15, 2009 How to execute RunAs with parameter for command? Do it is possibile to add registry key as administrator? Link to comment Share on other sites More sharing options...
Inverted Posted June 15, 2009 Share Posted June 15, 2009 You should try using #RequireAdmin at the top of your script 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