Replacing the SID in a .reg file

  • Thread starter Thread starter Broonie
  • Start date Start date
B

Broonie

I want to change the registry key

[HKEY_USERS\%SID%\Software\Microsoft\Windows NT\CurrentVersion\Windows
Messaging Subsystem\Profiles\Microsoft Outlook Internet Settings]

for a whole load of users but the SID is obvioulsy different for each
user. Is there any way I can use a variable (like the '%SID%' i've
just used above) in my .reg file that will replace the SID for each
user when i import the registry key.
 
I want to change the registry key

[HKEY_USERS\%SID%\Software\Microsoft\Windows
NT\CurrentVersion\Windows Messaging Subsystem\Profiles\Microsoft
Outlook Internet Settings]

You cannot. HKU is only populated with logged in accounts.
Use HKCU for each when logged on. Typically via logon script.
for a whole load of users but the SID is obvioulsy different for
each user. Is there any way I can use a variable (like the
'%SID%' i've just used above) in my .reg file that will replace
the SID for each user when i import the registry key.

If this is a MS Domain, Global Group Policies may be a solution.
 
I want to change the registry key
[HKEY_USERS\%SID%\Software\Microsoft\Windows
NT\CurrentVersion\Windows Messaging Subsystem\Profiles\Microsoft
Outlook Internet Settings]

You cannot. HKU is only populated with logged in accounts.
Use HKCU for each when logged on. Typically via logon script.
for a whole load of users but the SID is obvioulsy different for
each user. Is there any way I can use a variable (like the
'%SID%' i've just used above) in my .reg file that will replace
the SID for each user when i import the registry key.

If this is a MS Domain, Global Group Policies may be a solution.

What I am actually trying to do is set up dummy IMAP mail accounts in
Outlook which will then alow all the users to complete the accounts
with their own specifics. Is this possible in GPO.
 
I want to change the registry key
[HKEY_USERS\%SID%\Software\Microsoft\Windows
NT\CurrentVersion\Windows Messaging
Subsystem\Profiles\Microsoft Outlook Internet Settings]

You cannot. HKU is only populated with logged in accounts.
Use HKCU for each when logged on. Typically via logon script.
for a whole load of users but the SID is obvioulsy different
for each user. Is there any way I can use a variable (like
the '%SID%' i've just used above) in my .reg file that will
replace the SID for each user when i import the registry key.

If this is a MS Domain, Global Group Policies may be a
solution.

What I am actually trying to do is set up dummy IMAP mail
accounts in Outlook which will then alow all the users to
complete the accounts with their own specifics. Is this possible
in GPO.

I do not know. Sorry.

While probably not the best or easiest (or even possible
necessarily) one could investigate REG.EXE utility and the REG LOAD
option to load a registry profile and then modify it. All
requiring local Admin authority of course. Hazard potential, YMMV.
 
Back
Top