Improve company productivity with a Business Account.Sign Up

x
?
Solved

give my users the right to write in registry CURRENT USER

Posted on 2015-02-23
7
Medium Priority
?
125 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 36

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 59

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
Get 10% Off Your First Squarespace Website

Ready to showcase your work, publish content or promote your business online? With Squarespace’s award-winning templates and 24/7 customer service, getting started is simple. Head to Squarespace.com and use offer code ‘EXPERTS’ to get 10% off your first purchase.

 
LVL 59

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 59

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

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

“I cannot open my Outlook 2013. It is showing an error message “Outlook does not start”. I do not know why this error is coming. I want to remove it. Please suggest me some methods to start my Outlook again.” A user faces above mentioned problem. …
This guide provides step by step instructions on how to convert an Offline(.ost) to a Personal file(.pst). A different situation occurs when a conversion of OST file to PST format is needed. Use the described manual methods and SysTools OST to PST C…
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…
Whether it be Exchange Server Crash Issues, Dirty Shutdown Errors or Failed to mount error, Stellar Phoenix Mailbox Exchange Recovery has always got your back. With the help of its easy to understand user interface and 3 simple steps recovery proced…

607 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