give my users the right to write in registry CURRENT USER

Posted on 2015-02-23
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 ?
Question by:Eprs_Admin
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
LVL 34

Assisted Solution

it_saige earned 250 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.


LVL 54

Accepted Solution

McKnife earned 250 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.

Author Comment

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.
Are your AD admin tools letting you down?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

LVL 54

Expert Comment

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

Author Comment

ID: 40627642
we found another problem with another signature coming from a GPO for terminal users.
LVL 54

Expert Comment

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

Author Comment

ID: 40628089
solved thanks.

Featured Post

Industry Leaders: 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

Suggested Solutions

This article summaries thoughts and ideas from two years of sustained use. It provides good reasoning to make the jump to Windows 10.
The Windows functions GetTickCount and timeGetTime retrieve the number of milliseconds since the system was started. However, the value is stored in a DWORD, which means that it wraps around to zero every 49.7 days. This article shows how to solve t…
To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…
This video shows how to use Hyena, from SystemTools Software, to update 100 user accounts from an external text file. View in 1080p for best video quality.
Suggested Courses

752 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