If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
changing a registry key to all SID's
Hi all,
I made a .reg file. the key that i intend to change is located inside a user SID. (EX: HKEY_USERS\S-1-5-21-2018322775-1434109735-2322020850-500\AppEvents\EventLabels\.Default) how can i make the change to all users, (disgarding the SID) withe a .reg file ? thanks, oren. |
Ads |
#2
|
|||
|
|||
changing a registry key to all SID's
Oren ( ???? )
The following News Group is more apropos: microsoft.public.windows.server.scripting Dave "????" wrote in message ... | Hi all, | I made a .reg file. | the key that i intend to change is located inside a user SID. | | (EX: | HKEY_USERS\S-1-5-21-2018322775-1434109735-2322020850-500\AppEvents\EventLabels\.Default) | | how can i make the change to all users, (disgarding the SID) withe a .reg | file ? | | thanks, | oren. |
#3
|
|||
|
|||
changing a registry key to all SID's
You can't. When you see HKEY_USERS\S-1-5-21-201........... that =
indicates that this user account is specifically logged into the = computer. Users that aren't logged on won't appear here. For example, = if you're the only user logged on, then your SID will be listed in = HKEY_USERS, and is really just a different name for HKEY_CURRENT_USER. What you can do is change your REG file to point to = HKEY_CURRENT_USER\AppEvents\EventLabels\.Default, then place a shortcut = in Documents and Settings\All Users\Start Menu\Programs\Startup that = runs: REGEDIT /S your reg file This will force the REG file to be entered, silently, when the user logs = on. You could also place this command in the Registry at = HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\Curr entVersion\Run. Note: If you have disabled Registry editing for a user, then they're = account will not be able to import the REG file. In this case, a VB = Script would be more appropriate. --=20 Doug Knox, MS-MVP Windows Media Center\Windows Powered Smart Display Win 95/98/Me/XP Tweaks and Fixes http://www.dougknox.com -------------------------------- Per user Group Policy Restrictions for XP Home and XP Pro http://www.dougknox.com/xp/utils/xp_securityconsole.htm -------------------------------- Please reply only to the newsgroup so all may benefit. Unsolicited e-mail is not answered. =20 "????" wrote in message = ... Hi all, I made a .reg file.=20 the key that i intend to change is located inside a user SID. =20 (EX:=20 = HKEY_USERS\S-1-5-21-2018322775-1434109735-2322020850-500\AppEvents\EventL= abels\.Default) =20 how can i make the change to all users, (disgarding the SID) withe a = ..reg=20 file ?=20 =20 thanks, oren. |
#4
|
|||
|
|||
changing a registry key to all SID's
Doug Knox MS-MVP wrote:
You can't. When you see HKEY_USERS\S-1-5-21-201........... that indicates that this user account is specifically logged into the computer. Users that aren't logged on won't appear here. For example, if you're the only user logged on, then your SID will be listed in HKEY_USERS, and is really just a different name for HKEY_CURRENT_USER. Hi You can do this if using a script instead of a reg file, by enumerating all user profiles on the computer, and loading the individual user's registry hive and then do the registry change. You can use the command line tool reg.exe that comes builtin with WinXP to do both the hive loading and the registry change. But if one of your suggestion is acceptable for oren, they are easier to implement ;-) -- torgeir, Microsoft MVP Scripting and WMI, Porsgrunn Norway Administration scripting examples and an ONLINE version of the 1328 page Scripting Guide: http://www.microsoft.com/technet/scr...r/default.mspx |
#5
|
|||
|
|||
changing a registry key to all SID's
thanks, doug,
I chose the first option you suggested, Torgeir, i tried ur way too but it didnt work 4 me. oren. |
#6
|
|||
|
|||
changing a registry key to all SID's
oren wrote:
thanks, doug, I chose the first option you suggested, Torgeir, i tried ur way too but it didnt work 4 me. Hi The reg.exe method works when implemented correctly, but it is a bit tricky. More about the reg.exe method he http://groups.google.com/groups?selm...GP10.phx.gb l -- torgeir, Microsoft MVP Scripting and WMI, Porsgrunn Norway Administration scripting examples and an ONLINE version of the 1328 page Scripting Guide: http://www.microsoft.com/technet/scr...r/default.mspx |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Which Registry Cleaner? | Prabhat | Performance and Maintainance of XP | 125 | June 10th 05 02:49 AM |
Which Registry Cleaner? | Prabhat | General XP issues or comments | 131 | February 4th 05 02:42 PM |
Restricting a limited user from changing the registry | Gordon | Security and Administration with Windows XP | 3 | September 26th 04 05:28 PM |
Changing folder permissions through the registry | Philip Shulman | Customizing Windows XP | 2 | September 15th 04 10:03 PM |