PC Review


Reply
Thread Tools Rate Thread

Changing All Occurances of a Value in the Registry

 
 
Thomas M
Guest
Posts: n/a
 
      11th Jan 2006
Windows XP



I know that this is a Win2000 group, but I couldn't find an English language
group for the XP registry, so I figured that this group would probably be
close enough. Please let me know if I need to post this question elsewhere.



I apologize if this is a little long-winded, but I'd like to give sufficient
background for my questions. I need to update a certain registry value on
about 35 machines. The setting that needs to be updated is for the Outlook
Network Security Logon setting. I need to set this to "2C000000", which is
the hex value for "None."



Normally, I would do a simple .REG file. However, it appears that this
problem is not so straight forward. The value that I need to change appears
in the following two places in the registry:



HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Windows
Messaging Subsystem\Profiles\<profile>\13dbb0c8aa05101a9bb000aa002fc45a

"00036601"=hex:2c,00,00,00




HKEY_USERS\S-1-5-21-2123855993-1548109461-1004477477-1005\Software\Microsoft
\Windows NT\CurrentVersion\Windows Messaging

Subsystem\Profiles\<profile>\13dbb0c8aa05101a9bb000aa002fc45a

"00036601"=hex:2c,00,00,00



where "<profile>" is the name of the Outlook profile, which is "MS Exchange
Settings" on all of our machines. So the Outlook profile will not be a
problem. In fact, since it's the same on all machines, I can update the
value in HKCU using a .REG file. The problem is with the second location
given above. As far as I can tell the
"S-1-5-21-2123855993-1548109461-1004477477-1005" is the SID for the local
user account on the machine, so that key name will be different on every
machine, and some machines may have multiple accounts, further complicating
the issue.



All of which leads to my question. Is it possible to do a search and
replace operation in the registry so that all occurrences of a given setting
can be updated, and if so, how do I do that?



--Tom


 
Reply With Quote
 
 
 
 
Keith Miller
Guest
Posts: n/a
 
      11th Jan 2006
You can use your .reg file. When you modify a value under HKCU, it will also be changed under
HKU\<SID>

Machines with multiple users will need the .reg file merged multiple times -- once for each user
while that user is logged in.

--
Good Luck,

Keith
Microsoft MVP [Windows XP Shell/User]


"Thomas M" <(E-Mail Removed)> wrote in message news:(E-Mail Removed)...
> Windows XP
>
>
>
> I know that this is a Win2000 group, but I couldn't find an English language
> group for the XP registry, so I figured that this group would probably be
> close enough. Please let me know if I need to post this question elsewhere.
>
>
>
> I apologize if this is a little long-winded, but I'd like to give sufficient
> background for my questions. I need to update a certain registry value on
> about 35 machines. The setting that needs to be updated is for the Outlook
> Network Security Logon setting. I need to set this to "2C000000", which is
> the hex value for "None."
>
>
>
> Normally, I would do a simple .REG file. However, it appears that this
> problem is not so straight forward. The value that I need to change appears
> in the following two places in the registry:
>
>
>
> HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Windows
> Messaging Subsystem\Profiles\<profile>\13dbb0c8aa05101a9bb000aa002fc45a
>
> "00036601"=hex:2c,00,00,00
>
>
>
>
> HKEY_USERS\S-1-5-21-2123855993-1548109461-1004477477-1005\Software\Microsoft
> \Windows NT\CurrentVersion\Windows Messaging
>
> Subsystem\Profiles\<profile>\13dbb0c8aa05101a9bb000aa002fc45a
>
> "00036601"=hex:2c,00,00,00
>
>
>
> where "<profile>" is the name of the Outlook profile, which is "MS Exchange
> Settings" on all of our machines. So the Outlook profile will not be a
> problem. In fact, since it's the same on all machines, I can update the
> value in HKCU using a .REG file. The problem is with the second location
> given above. As far as I can tell the
> "S-1-5-21-2123855993-1548109461-1004477477-1005" is the SID for the local
> user account on the machine, so that key name will be different on every
> machine, and some machines may have multiple accounts, further complicating
> the issue.
>
>
>
> All of which leads to my question. Is it possible to do a search and
> replace operation in the registry so that all occurrences of a given setting
> can be updated, and if so, how do I do that?
>
>
>
> --Tom
>
>


 
Reply With Quote
 
Thomas M
Guest
Posts: n/a
 
      11th Jan 2006
Thanks for the reply. I thought that might be case, but I haven't done a
lot in terms of editing registry values that are specific to a user profile,
so I wanted to check. Fortunately, running the .REG file for each user will
not be a problem. The NOS on our network gives me the ability to create a
small application to run the .REG file, and that application in turn can be
assigned to each individual user. So, I guess it's not really any different
than other similar updates that I've done. Thanks for the help!

--Tom

"Keith Miller" <(E-Mail Removed)> wrote in message
news:%(E-Mail Removed)...
> You can use your .reg file. When you modify a value under HKCU, it will

also be changed under
> HKU\<SID>
>
> Machines with multiple users will need the .reg file merged multiple

times -- once for each user
> while that user is logged in.
>
> --
> Good Luck,
>
> Keith
> Microsoft MVP [Windows XP Shell/User]
>
>
> "Thomas M" <(E-Mail Removed)> wrote in message

news:(E-Mail Removed)...
> > Windows XP
> >
> >
> >
> > I know that this is a Win2000 group, but I couldn't find an English

language
> > group for the XP registry, so I figured that this group would probably

be
> > close enough. Please let me know if I need to post this question

elsewhere.
> >
> >
> >
> > I apologize if this is a little long-winded, but I'd like to give

sufficient
> > background for my questions. I need to update a certain registry value

on
> > about 35 machines. The setting that needs to be updated is for the

Outlook
> > Network Security Logon setting. I need to set this to "2C000000", which

is
> > the hex value for "None."
> >
> >
> >
> > Normally, I would do a simple .REG file. However, it appears that this
> > problem is not so straight forward. The value that I need to change

appears
> > in the following two places in the registry:
> >
> >
> >
> > HKEY_CURRENT_USER\Software\Microsoft\Windows

NT\CurrentVersion\Windows
> > Messaging Subsystem\Profiles\<profile>\13dbb0c8aa05101a9bb000aa002fc45a
> >
> > "00036601"=hex:2c,00,00,00
> >
> >
> >
> >
> >

HKEY_USERS\S-1-5-21-2123855993-1548109461-1004477477-1005\Software\Microsoft
> > \Windows NT\CurrentVersion\Windows Messaging
> >
> > Subsystem\Profiles\<profile>\13dbb0c8aa05101a9bb000aa002fc45a
> >
> > "00036601"=hex:2c,00,00,00
> >
> >
> >
> > where "<profile>" is the name of the Outlook profile, which is "MS

Exchange
> > Settings" on all of our machines. So the Outlook profile will not be a
> > problem. In fact, since it's the same on all machines, I can update the
> > value in HKCU using a .REG file. The problem is with the second

location
> > given above. As far as I can tell the
> > "S-1-5-21-2123855993-1548109461-1004477477-1005" is the SID for the

local
> > user account on the machine, so that key name will be different on every
> > machine, and some machines may have multiple accounts, further

complicating
> > the issue.
> >
> >
> >
> > All of which leads to my question. Is it possible to do a search and
> > replace operation in the registry so that all occurrences of a given

setting
> > can be updated, and if so, how do I do that?
> >
> >
> >
> > --Tom
> >
> >

>



 
Reply With Quote
 
Keith Miller
Guest
Posts: n/a
 
      12th Jan 2006
Your welcome

--

Keith
Microsoft MVP [Windows XP Shell/User]


"Thomas M" <(E-Mail Removed)> wrote in message news:(E-Mail Removed)...
> Thanks for the reply. I thought that might be case, but I haven't done a
> lot in terms of editing registry values that are specific to a user profile,
> so I wanted to check. Fortunately, running the .REG file for each user will
> not be a problem. The NOS on our network gives me the ability to create a
> small application to run the .REG file, and that application in turn can be
> assigned to each individual user. So, I guess it's not really any different
> than other similar updates that I've done. Thanks for the help!
>
> --Tom
>
> "Keith Miller" <(E-Mail Removed)> wrote in message
> news:%(E-Mail Removed)...
> > You can use your .reg file. When you modify a value under HKCU, it will

> also be changed under
> > HKU\<SID>
> >
> > Machines with multiple users will need the .reg file merged multiple

> times -- once for each user
> > while that user is logged in.
> >
> > --
> > Good Luck,
> >
> > Keith
> > Microsoft MVP [Windows XP Shell/User]
> >
> >
> > "Thomas M" <(E-Mail Removed)> wrote in message

> news:(E-Mail Removed)...
> > > Windows XP
> > >
> > >
> > >
> > > I know that this is a Win2000 group, but I couldn't find an English

> language
> > > group for the XP registry, so I figured that this group would probably

> be
> > > close enough. Please let me know if I need to post this question

> elsewhere.
> > >
> > >
> > >
> > > I apologize if this is a little long-winded, but I'd like to give

> sufficient
> > > background for my questions. I need to update a certain registry value

> on
> > > about 35 machines. The setting that needs to be updated is for the

> Outlook
> > > Network Security Logon setting. I need to set this to "2C000000", which

> is
> > > the hex value for "None."
> > >
> > >
> > >
> > > Normally, I would do a simple .REG file. However, it appears that this
> > > problem is not so straight forward. The value that I need to change

> appears
> > > in the following two places in the registry:
> > >
> > >
> > >
> > > HKEY_CURRENT_USER\Software\Microsoft\Windows

> NT\CurrentVersion\Windows
> > > Messaging Subsystem\Profiles\<profile>\13dbb0c8aa05101a9bb000aa002fc45a
> > >
> > > "00036601"=hex:2c,00,00,00
> > >
> > >
> > >
> > >
> > >

> HKEY_USERS\S-1-5-21-2123855993-1548109461-1004477477-1005\Software\Microsoft
> > > \Windows NT\CurrentVersion\Windows Messaging
> > >
> > > Subsystem\Profiles\<profile>\13dbb0c8aa05101a9bb000aa002fc45a
> > >
> > > "00036601"=hex:2c,00,00,00
> > >
> > >
> > >
> > > where "<profile>" is the name of the Outlook profile, which is "MS

> Exchange
> > > Settings" on all of our machines. So the Outlook profile will not be a
> > > problem. In fact, since it's the same on all machines, I can update the
> > > value in HKCU using a .REG file. The problem is with the second

> location
> > > given above. As far as I can tell the
> > > "S-1-5-21-2123855993-1548109461-1004477477-1005" is the SID for the

> local
> > > user account on the machine, so that key name will be different on every
> > > machine, and some machines may have multiple accounts, further

> complicating
> > > the issue.
> > >
> > >
> > >
> > > All of which leads to my question. Is it possible to do a search and
> > > replace operation in the registry so that all occurrences of a given

> setting
> > > can be updated, and if so, how do I do that?
> > >
> > >
> > >
> > > --Tom
> > >
> > >

> >

>
>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Changing something in the registry =?Utf-8?B?c29ob2NoaWNr?= Windows XP Help 1 18th Apr 2007 09:02 AM
changing a registry key to all SID's =?Utf-8?B?15DXldeo158=?= Windows XP Security 5 6th Dec 2004 12:19 PM
Registry Keep Changing Ben Blackmore Microsoft Windows 2000 Registry Archive 8 9th Mar 2004 08:16 AM
Registry Keep Changing Ben Blackmore Microsoft Windows 2000 Registry 4 9th Mar 2004 08:16 AM
Registry Keep Changing Ben Blackmore Microsoft Windows 2000 Registry Archive 0 5th Mar 2004 11:59 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 08:06 PM.