Cant Edit or Write to Registry


  1. Posts : 1
    WIndows 10
       #1

    Cant Edit or Write to Registry


    I have been working with windows 10 X64 PRO for a little bit now. I can still not figure out why my scripts (.vbs) or .exe that I push to or use on my domain machines will not edit or create keys in the registry. The only way i can do it is to full kill UAC then reboot then make changes then turn it back on then reboot again. Listed below our the UAC settings we have set for our select few windows 10 machines. We have UAC fully off in windows 7, but it is needed in windows 10 to have apps run. So i am kinda stuck in the middle.

    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System]
    "ConsentPromptBehaviorAdmin"=dword:00000000
    "ConsentPromptBehaviorUser"=dword:00000000
    "EnableInstallerDetection"=dword:00000000
    "EnableLUA"=dword:00000001
    "EnableSecureUIAPaths"=dword:00000000
    "EnableUIADesktopToggle"=dword:00000000
    "EnableVirtualization"=dword:00000001
    "PromptOnSecureDesktop"=dword:00000001
    "ValidateAdminCodeSignatures"=dword:00000000
    "FilterAdministratorToken"=dword:00000000
    "NoConnectedUser"=dword:00000003
    "MSAOptional"=dword:00000001
    "SoftwareSASGeneration"=dword:00000001

    Can you guys help figure out what i need to do so i can make registry change on the fly. This going to be a big deal breaker for us to move to Windows 10 if i can not change values. Let me know if you need any more information.

    Thank you
      My Computer


  2. Posts : 1,255
    Windows 10 Pro
       #2

    By design in Vista and later only an elevated admin or system account can write to HKEY_LOCAL_MACHINE or it's subkeys. In Windows 7 disabling UAC would give an admin account such rights but not in Windows 10.

    You need to run the script with elevated admin rights.

    The settings could probably be made with group policy. That is beyond my experience.
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 21:43.
Find Us




Windows 10 Forums