Windows registry - need to give permissions

Page 2 of 2 FirstFirst 12

  1. Posts : 21,482
    Win 7 x64 Home Premium (and x86 VirtualBox VM)/Win10
       #11

    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 Computer


  2. Posts : 14
    Windows 7 - 32bit
    Thread Starter
       #12

    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 Computer


  3. Posts : 21,482
    Win 7 x64 Home Premium (and x86 VirtualBox VM)/Win10
       #13

    This should help...
    You are being redirected...
      My Computer


  4. Posts : 14
    Windows 7 - 32bit
    Thread Starter
       #14

    thank you - now I need to write a batch file... so i'll do some reading up on that.
      My Computer


  5. Posts : 14
    Windows 7 - 32bit
    Thread Starter
       #15

    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 Computer


  6. Posts : 14
    Windows 7 - 32bit
    Thread Starter
       #16

    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 Computer


  7. Posts : 21,482
    Win 7 x64 Home Premium (and x86 VirtualBox VM)/Win10
       #17

    You can use the REG ADD command to add registry values/keys - yes, it would have to be in an Elevated context.
      My Computer


  8. Posts : 721
    Windows 10, Windows 8.1 Pro, Windows 7 Professional, OS X El Capitan
       #18

    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 Computer


  9. Posts : 14
    Windows 7 - 32bit
    Thread Starter
       #19

    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 Computer


  10. Posts : 25,847
    Windows 10 Pro. 64/ version 1709 Windows 7 Pro/64
       #20

    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.
    Is this program installed on the domain/network server?
    Your post #7

    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 Computer


 
Page 2 of 2 FirstFirst 12

  Related Discussions
Our Sites
Site Links
About 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 02:54.
Find Us