users unable to add registry keys to HKCU
Posted
by
Eds
on Server Fault
See other posts from Server Fault
or by Eds
Published on 2012-03-14T09:18:14Z
Indexed on
2012/03/30
5:32 UTC
Read the original article
Hit count: 279
I may not have this 100% correct so need some clarification. Are normal users on a 2003 terminal server allowed to add registry keys the their own HKCU section in the registry, or are they only allowed to edit existing ones?
The reason I ask is that we have 3 keys that we need to add for each user on login. I thought it would be as simple as having a straightforward batchscript run that silently adds the keys for the user.
Here is what I used:
regedit.exe "C:\Documents and Settings\All Users\Desktop\example.reg"
When the user runs this batch scipt, they see nothing as you would expect, but the keys are not added. If I simply run the .reg file as the user, it asks if I want to add the key, but then has an error saying there was an error accessing the registry.
Do I need something a bit more complex to accomplish this task.
Many Thanks
Eds
EDIT: Contents of .reg file
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\Policies\Microsoft\office\14.0\outlook\Security]
"PromptSimpleMAPINameResolve"=dword:00000002
"PromptSimpleMAPIOpenMessage"=dword:00000002
"PromptSimpleMAPISend"=dword:00000002
© Server Fault or respective owner