Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Windows registry - need to give permissions

25 Mar 2015   #11
NoelDP

Microsoft Community Contributor Award Recipient

Win 7 x64 Home Premium (and x86 VirtualBox VM)/Win10
 
 

The problem is probably because changes to the registry will require using elevated permissions - which is why I suggested using Scheduled Tasks for the job, as you can run the script under either the user permissions, or under the Administrator account - or under the System account


My System SpecsSystem Spec
.
25 Mar 2015   #12
shadowwebs

Windows 7 - 32bit
 
 

Noel, apologies for needing to ask... any chance you can guide me through how to do this or point me to an article on how to do this?

It's only on one particular PC and only for one particular user, where I either need on each login for the system to populate data in to the registry under hkey_current_user, or for it to at least remember the data which was already there the last time they logged on. I'm guessing it'll be easier to setup a scheduled task to add the data in, rather than try to back date to whenever they last logged on?

I appreciate everyone's help with this.
My System SpecsSystem Spec
25 Mar 2015   #13
NoelDP

Microsoft Community Contributor Award Recipient

Win 7 x64 Home Premium (and x86 VirtualBox VM)/Win10
 
 

This should help...
You are being redirected...
My System SpecsSystem Spec
.

25 Mar 2015   #14
shadowwebs

Windows 7 - 32bit
 
 

thank you - now I need to write a batch file... so i'll do some reading up on that.
My System SpecsSystem Spec
25 Mar 2015   #15
shadowwebs

Windows 7 - 32bit
 
 

guessing that in order to add a reg key even through a batch file is going to require permission to access the registry for this particular user... so that kind of brings us back to step one of the problem, even if going through a scheduled task then will it work without regedit permissions?
My System SpecsSystem Spec
25 Mar 2015   #16
shadowwebs

Windows 7 - 32bit
 
 

okay, now at this point I feel like I am simply leaving myself breadcrumb notes to myself... you can ignore any waffling that I now do.
My System SpecsSystem Spec
25 Mar 2015   #17
NoelDP

Microsoft Community Contributor Award Recipient

Win 7 x64 Home Premium (and x86 VirtualBox VM)/Win10
 
 

You can use the REG ADD command to add registry values/keys - yes, it would have to be in an Elevated context.
My System SpecsSystem Spec
26 Mar 2015   #18
Pyprohly

Windows 10, Windows 8.1 Pro, Windows 7 Professional, OS X El Capitan
 
 

Hi Shadowwebs,

To what degree of certainty do you suspect that Julie is precisely experiencing a permission issue?

It would help if we all could view the access rights that each of the users Bob, Jane and Julie have for this registry key in question. A comparison can then be made to determine if the problem does relate to a permission issue or not.

For each of the users, login as that user and run the following command in a PowerShell shell,
Code:
(Get-Acl 'HKCU:\Software\Developer\ProgramName') | fl
What are the outputs for each user?
My System SpecsSystem Spec
26 Mar 2015   #19
shadowwebs

Windows 7 - 32bit
 
 

I've managed to resolve this, well, up to a certain point, so I found that all network user accounts work fine and remember the details, other than Julie's... so it's got to be a corrupt network profile, going to be resetting the profile tonight and will see what happens from there on.
My System SpecsSystem Spec
26 Mar 2015   #20
Layback Bear

Windows 7 Pro. 64/SP-1
 
 

Keep us posted on the results. But I'm somewhat confused because you stated that the program was installed on local computer. At least that is my understanding.
I asked this question in post #6.
Quote:
Is this program installed on the domain/network server?
Your post #7

Quote:
The software is installed locally, and it needs set configuration settings which are stored in hkey_current_user\software.... but if the user doesn't have permissions to this folder, it loses the settings each time they log off and back on again. Does that help?
I will just keep watching and learning.
My System SpecsSystem Spec
Reply

 Windows registry - need to give permissions




Thread Tools Search this Thread
Search this Thread:

Advanced Search




Similar help and support threads
Thread Forum
Can anyone give me the default registry settings for the .ani file?
The story goes like this.. My bro, did something with the computer. After whatever he did. The default icon of the .ani files changed into a blank paper icon. I usually see in it's own icon.. Also the file type got weird.. Something like this.. (Name) ~ (Type) hotsage.ani ~ Cursor It turned...
Backup and Restore
Registry Permissions help
Hi.. i've recently installed a customized version of Windows 7 SP1. I removed some languages, added some programs, drivers, settings and a unattended script. It installed without issue and everything has been running fine. However, i've just noticed a potential major issue waiting to happen....
System Security
How do I get Registry permissions?
Using Win 7 Pro x64. Even though I am listed as an Owner in all of the Registry keys, I do not have permissions in all of those same keys. I have Admin rights. This is causing problems installing software. Most recently, I can't install Ghost 15. The install almost completes and then I get...
General Discussion
Registry Permissions HELP!!!
Ok I really don't understand this!! Why is it that subinacl.exe works on my version of Win 7 Home Premium and yet not on other people's Win 7 Home Premium?? Also, the files that I downloaded from this site to set the uac levels work fine on my machine (OS) but open something totally different on...
System Security
Registry Permissions
I'm Administrator in my PC, but when i try to give me permission of a key in the registry, it appears an error message. It doesn't happen with any other key.Any ideas? Thz^^
General Discussion
How avoid having to give repeated permissions
Following the suggestion of others using Windows 7, though I am an administrator, I log in as a standard user and switch to my Admin account when the situation calls for it. This works out most of the time and is not too onerous. However, there are times when it gets to be a pain. For...
General Discussion


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 21:07.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App