Jump to content

RegRead with runas

Recommended Posts


I'm trying to take a value from registry. When I simply execute the script, it gives me @error as -1.

But it returns value if the compiled code is executed on a different credential (Different from the Logged on user).

This is what I'm trying

RegRead("HKEY_CURRENT_USER\Control Panel\Desktop", "SCRNSAVE.EXE")

I'm trying this on Win7

Any tips would be of great help

Thanks in advance


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

  • Recently Browsing   0 members

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