none
How to Change Enviroment Variable and System Variables without Admin rights RRS feed

  • Question

  • Hi Team,

    I want to know, if we can change System Variable and Environmental variable in windows 10 as a standard user without having admin rights   ??

    and how to make it possible for standard user to modify System Variables on his machines without having admin rights  ?

    Thanks

    Vinay

    Friday, November 25, 2016 10:13 AM

All replies

  • Why you want to grand such access?

    This is by design and standard user shouldn't have access to System Variable due to security issues and it is not recommended to grand such access.

    You may do this through Group Policy:

    https://technet.microsoft.com/en-us/library/cc772047

    So if you are administrator , you could create GPO and deploy it for all clients.

    • Proposed as answer by Kapil.AryaMVP Friday, November 25, 2016 2:30 PM
    Friday, November 25, 2016 2:11 PM
  • Hi,
     
    Am 25.11.2016 um 11:13 schrieb Skype For Business for Office 365:
    > I want to know, if we can change System Variable and Environmental
    > variable in windows 10 as a standard user without having admin rights
    > ??
     
    Yes you can, but you need to delegate change/full permissions in
    Registry, to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session
    Manager\Environment
     
    This can easily be deployed by Group Policy -> Local Security -> Registry
     
    Mark
     
    --
    Mark Heitbrink - MVP Group Policy - Cloud and Datacenter Management
     
    Homepage:  http://www.gruppenrichtlinien.de - deutsch
     
    Friday, November 25, 2016 6:11 PM
  • Hi Mark Heitbrink [MVP], Skype For Business for Office 365,

    I have tried to gain full access to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session

    Manager\Environment for a standard user. It still not available to change the System variables. So I agree with Cyber_Defend_Team. This is by design. To modify the System variables, we should get administrator permissions.

    Best regards


    Please remember to mark the replies as answers if they help.
    If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.


    Monday, November 28, 2016 7:40 AM
    Moderator
  • Hi,
     
    Am 28.11.2016 um 08:40 schrieb MeipoXu:
    > I have tried to gain full access to
    > HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session
    > Manager\Environment for a standard user. It still not available to
    > change the System variables.
     
    open regedit as a use, navigate to the eky, enter whatever you like,
    reboot. The UI (system.cpl) asks for elevation, the UI does not check
    for permissions in the backend. It controls the access.
     
    You need regedit to edit, or setx or winset to write and change the values.
     
    Mark
    --
    Mark Heitbrink - MVP Group Policy - Cloud and Datacenter Management
     
    Homepage:  http://www.gruppenrichtlinien.de - deutsch
     
    Monday, November 28, 2016 9:57 AM