Jump to content

regedit not starting under vista


Recommended Posts

XP may allow you to run regedit without admin privileges but Vista and later OSes may not. You may need to raise your privileges to admin to run regedit which is probably a good thing for the sake of security. :mellow:

Use #RequireAdmin or look at RunAs() or RunAsWait() in the helpfile.

#RequireAdmin
RunWait("regedit")

Now you may see the UAC prompt which can allow your script to run with admin privileges in which running regedit will inherit admin privileges as well.

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...