Jump to content

RunAs Admin Command


teeboi
 Share

Recommended Posts

I have a script which will create some HKCU registry keys but i am running into a permission issue since all of our users are only read writes to that registry not the modify rights. I was wondering if there somehow i can incript the Admin name & password in my script and tell it to run as? Please advise

Link to comment
Share on other sites

  • Developers

Assume you mean Encrypt?

Not really since you need the actual userid and password at runas() time.

Jos

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to comment
Share on other sites

  • Developers

Did you check the helpfile for the example?

pls, remember that it isn't 100% safe when its compiles since a compiled script is the source and runtime module together in an EXE.

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...