Jump to content

Writing HKEY_CURRENTUSER reg keys


shornw
 Share

Recommended Posts

Hi All

I am trying to write entries (to HKEY_CURRENT_USER) as the users logon, they do NOT have local Admins. If I use a RunAsSet it attempts to write to the admin current user keys. How do I write to the users Current User keys.... any ideas?

Thanks for looking

[font='Comic Sans MS']Eagles may soar high but weasels dont get sucked into jet engines[/font]

Link to comment
Share on other sites

I don't know what you've tried or what your script is attempting because you didn't post them.

One thing to keep in mind is that the hives for all logged-in Users are loaded under HKEY_USERS.

Any admin account should be able to make the changes there directly. (Use RunAsSet, but instead of editing HKCU, edit HKU\<User-SID>)

Or, are you trying to run a process for each user? (Startup folder/Run key, etc...)

[font="Tahoma"]"Tougher than the toughies and smarter than the smarties"[/font]

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