?
Solved

give my users the right to write in registry CURRENT USER

Posted on 2015-02-23
7
Medium Priority
?
117 Views
Last Modified: 2015-02-24
Hi Experts,

for a signature script designed by our team I have to give each user a special right in the registry.
The users must be able to write in HKEY_CURRENT_USER.
Can you show me how to set this right for each user ?
0
Comment
Question by:Eprs_Admin
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3
7 Comments
 
LVL 34

Assisted Solution

by:it_saige
it_saige earned 1000 total points
ID: 40625731
HKEY_CURRENT_USER's persmissions are defined (by default) to give the currently logged in user Full Control over the key and it's sub-keys.  This is because HKEY_CURRENT_USER is (in reality) not a key at all, it is a pointer to the content of the HKEY_USERS\<Security ID> (SID) of the current user subkey.

Source

-saige-
0
 
LVL 56

Accepted Solution

by:
McKnife earned 1000 total points
ID: 40625760
Quite right, but it depends. The hive HKCU is not writable through and through. What keys do you want to write to?
Also, elevation can stop you. Scripts that use regedit.exe /s are stopped by UAC, scripts that use reg.exe /import are not stopped...weird design by microsoft.
0
 

Author Comment

by:Eprs_Admin
ID: 40625930
it is  a C# script for our company signature.
It looks to the AD and fields in AD, like name, surname phone, fax etc.
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 56

Expert Comment

by:McKnife
ID: 40625941
It does not matter why you do it... I asked how you do it, where does it write to :)
0
 

Author Comment

by:Eprs_Admin
ID: 40627642
we found another problem with another signature coming from a GPO for terminal users.
0
 
LVL 56

Expert Comment

by:McKnife
ID: 40627646
Hmm, what should that mean, does the problem discussed here still exist?
0
 

Author Comment

by:Eprs_Admin
ID: 40628089
solved thanks.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This process allows computer passwords to be managed and secured without using LAPS. This is an improvement on an existing process, enhanced to store password encrypted, instead of clear-text files within SQL
In this modest contribution, I want to share with the IT community (especially system administrators, IT Support Engineers and IT Help Desks) about Windows crashes/hangs and how to deal with these particular problems.
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…
Are you ready to implement Active Directory best practices without reading 300+ pages? You're in luck. In this webinar hosted by Skyport Systems, you gain insight into Microsoft's latest comprehensive guide, with tips on the best and easiest way…
Suggested Courses

719 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question