Results 1 to 4 of 4

Thread: Writing to register for all current users rather than just mine?

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    Oct 2000
    Posts
    1,463

    Question Writing to register for all current users rather than just mine?

    Hi Everyone,

    I doubt I can do this but it is worth a try asking. I know how to write to the current user in the registry along with local machine, etc. Is there a way to update an existing key for all users under the current user? I want to change a value for everyone on the computer as iff you went into regedit and opened the current user keys for that person. But I want to do it from the admin account for all other users also.

    Thanks!

  2. #2
    PowerPoster techgnome's Avatar
    Join Date
    May 2002
    Posts
    34,687

    Re: Writing to register for all current users rather than just mine?

    Is this an existing entry you're trying to edit, or add a new one? If you're trying to add, then you should be looking at the HKLM (HKey Local Machine) ...

    -tg
    * I don't respond to private (PM) requests for help. It's not conducive to the general learning of others.*
    * I also don't respond to friend requests. Save a few bits and don't bother. I'll just end up rejecting anyways.*
    * How to get EFFECTIVE help: The Hitchhiker's Guide to Getting Help at VBF - Removing eels from your hovercraft *
    * How to Use Parameters * Create Disconnected ADO Recordset Clones * Set your VB6 ActiveX Compatibility * Get rid of those pesky VB Line Numbers * I swear I saved my data, where'd it run off to??? *

  3. #3

    Thread Starter
    Frenzied Member
    Join Date
    Oct 2000
    Posts
    1,463

    Re: Writing to register for all current users rather than just mine?

    This for an existing setting from the system I need to change for all users. Otherwise I would be using the local machine which I do now for new settings.

    Thanks

  4. #4
    PowerPoster techgnome's Avatar
    Join Date
    May 2002
    Posts
    34,687

    Re: Writing to register for all current users rather than just mine?

    Just thought I'd ask...

    I think in Xp and earlier, if you know the HKLU hive name, you can get to it... but somewhere along the line, MS started encrypting the HKeys... so when a user logs in, their copy of the HKCU hive is decrypted and moved to the HKCU ... meanwhile the HKCU for all other users remains in a "protected" encrypted state. It's supposed to be a security feature.

    One thing you might want to do is see if you can use a login script that would run when the user logs into the network, and update the registry that way. That way users get updated as they log in, rather than you having to go around to each machine and do it yourself. Just an idea.

    -tg
    * I don't respond to private (PM) requests for help. It's not conducive to the general learning of others.*
    * I also don't respond to friend requests. Save a few bits and don't bother. I'll just end up rejecting anyways.*
    * How to get EFFECTIVE help: The Hitchhiker's Guide to Getting Help at VBF - Removing eels from your hovercraft *
    * How to Use Parameters * Create Disconnected ADO Recordset Clones * Set your VB6 ActiveX Compatibility * Get rid of those pesky VB Line Numbers * I swear I saved my data, where'd it run off to??? *

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width