Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

give my users the right to write in registry CURRENT USER

Posted on 2015-02-23
7
Medium Priority
?
119 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
  • 3
  • 3
7 Comments
 
LVL 35

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 57

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
Veeam Disaster Recovery in Microsoft Azure

Veeam PN for Microsoft Azure is a FREE solution designed to simplify and automate the setup of a DR site in Microsoft Azure using lightweight software-defined networking. It reduces the complexity of VPN deployments and is designed for businesses of ALL sizes.

 
LVL 57

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 57

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

Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

Question has a verified solution.

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

Windows Server 2003 introduced persistent Volume Shadow Copies and made 2003 a must-do upgrade.  Since then, it's been a must-implement feature for all servers doing any kind of file sharing.
There can be many situations demanding the conversion of Outlook OST files to PST format and as such, there is no shortage of automated tools to perform this conversion. However, what makes Stellar OST to PST converter stand above the rest? Let us e…
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…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…

963 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