Re: Applying registry changes to all users
- From: "Wesley Vogel" <123WVogel955@xxxxxxxxxxx>
- Date: Sat, 18 Feb 2006 15:09:21 -0700
Any changes made in the HKEY_CURRENT_USER hive will also be made in the
corresponding keys in HKEY_USERS\Security ID (SID) of current user subkey.
And vice versa.
The HKEY_CURRENT_USER subtree contains the user profile for the user who is
currently logged on to the computer.
The information in HKEY_CURRENT_USER is built from the HKEY_USERS key during
the logon process. Therefore, all information found in the
HKEY_CURRENT_USER key is a copy of the subkey HKEY_USERS\username, where
username is the name of the active user (or Default).
The HKEY_CURRENT_USER subtree does not contain any data. It just stores a
pointer to the content of the HKEY_USERS\Security ID (SID) of current user
subkey. Therefore, the content of that subkey also appears in
HKEY_CURRENT_USER, and it can be viewed and changed in either location. The
HKEY_CURRENT_USER subtree just provides easier access to the data.
HKEY_CURRENT_USER Contains the user profile for the user who is currently
logged on interactively (as opposed to remotely), including environment
variables, desktop settings, network connections, printers, and program
preferences. This subtree is an alias of the HKEY_USERS subtree and points
to HKEY_USERS\security ID of current user.
The HKEY_USERS subtree contains all actively loaded user profiles.
HKEY_USERS has at least three keys:
• .DEFAULT
• A subkey named for the Security Identifier (SID) of the current local
user. This subkey contains the current user's profile. The data in
HKEY_USERS\SID also appears in HKEY_CURRENT_USER.
• A subkey named for the Security Identifier (SID) of the current local
user with the _Classes suffix. This subkey contains the current user's
Classes. The data in HKEY_USERS\SID\_Classes is also contained in
HKEY_CLASSES_ROOT.
Reference:
About the Windows Registry
http://www.microsoft.com/resources/documentation/WindowsServ/2003/all/deployguide/en-us/Default.asp?url=/resources/documentation/WindowsServ/2003/all/deployguide/en-us/RegTopics.asp
Description of HKEY_CURRENT_USER Registry Subkeys
http://support.microsoft.com/default.aspx?scid=kb;en-us;310595
Registry overview
http://www.microsoft.com/resources/documentation/WindowsServ/2003/standard/proddocs/en-us/sag_ntregconcepts_yynh.asp
--
Hope this helps. Let us know.
Wes
MS-MVP Windows Shell/User
In news:0933649C-3615-439C-8CBB-A1FF1C9DA2C7@xxxxxxxxxxxxx,
Matt Berry <MattBerry@xxxxxxxxxxxxxxxxxxxxxxxxx> hunted and pecked:
I have a registry file that I use to setup multiple computers. I use it to
apply visual settings and to basicly setup the user account as I want it.
As an example here is one of the keys I import:
Software\Microsoft\Windows\CurrentVersion\Explorer\VisualEffects
"VisualFXSetting"=dword:00000003
By default the VisualFXSetting can be found under HKEY_CURRENT_USER,
HKEY_LOCAL_MACHINE and HKEY_USERS\S-1-5-21(continues with random numbers)
Right now I can apply the reg changes to HKLM and HKCU but I don't know
how to get it to automatically detect and change the key for the HKU
since it is different on each machine. Which means instead of spending 3
seconds configuring an account I have to go through and manually
configure all of the various settings that are controlled by those keys.
I need to know how to automatically detect and change the VisualFXSetting
under the HKU key, or if there is a way to automatically find all
instances of "VisualFXSetting" and have them all changed to the same
setting.
.
- Prev by Date: Re: modifying right click menu in file explorer?
- Next by Date: Re: Folder Templates in system folders cannot change
- Previous by thread: Re: Taskbar "Ghost"
- Next by thread: Re: Applying registry changes to all users
- Index(es):
Relevant Pages
|