Solved

give my users the right to write in registry CURRENT USER

Posted on 2015-02-23
7
110 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 33

Assisted Solution

by:it_saige
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.

Source

-saige-
0
 
LVL 54

Accepted Solution

by:
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.
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
Is Your AD Toolbox Looking More Like a Toybox?

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

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 54

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

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

How to record audio from input sources to your PC – connected devices, connected preamp to record vinyl discs, streaming media, that play through your audio card: Vista, Windows 7, Windows 8, Windows 8.1 and Windows 10 – both 32 bit & 64.
Read this checklist to learn more about the 15 things you should never include in an email signature.
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles to another domain controller. Log onto the new domain controller with a user account t…
Many of my clients call in with monstrous Gmail overloading issues with Outlook. A quick tip is to turn off the All Mail and Important folders from synching. Here is a quick video I made to show you how to turn off these and other folders in Gmail s…

773 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