How do I change environment variables in regular User account???

Page 2 of 2 FirstFirst 12

  1. Posts : 1,621
    Windows 10 Home
       #11

    Be careful about changing those variables, I did that, ended up putting them back to default, 'cause a few program installations which were "hard-wired" to do things only one certain way, did not react well to the "missing" default setting.
      My Computer


  2. Posts : 165
    Windows 10 Professional x64
       #12

    AndreyT, I'm with you on this one, and I have to say some parts of this OS look really amateurish...

    Anyway, if you want to be able to change the environment variables as conveniently as before, you can make some slight changes to the SystemPropertiesAdvanced executable, located inside the System32 folder. I mean a copy of it, of course.

    You have to change its manifest so that it can run as a regular user. Fortunately, there's a nice tool called CFF Explorer that can do just that, part of the Explorer suite at ntcore.com. Open the executable with CFF Explorer, go to Resource Editor => Configuration Files => 1. Right click, choose Save Resource (Raw), and save it wherever you like, a txt extension would be a good choice. Open the saved file with a text editor, it's the manifest. You have to replace "requireAdmin" with "asInvoker". In the CFF Explorer window, right click the resource again, and choose "Replace resource", then select the file you just edited. Finally click the save button in the CFF Explorer menu bar, overwrite the executable, and voilą, you can change non admin user environment variables with it.

    Notice how buttons to change the system env variables are greyed out. This means some people thought it can be executed as non admin, I guess...

    In case you're lazy or in a hurry, here's the file (64-bit), signed by me in an attempt to add some security. My SHA1 fingerprint is ‎94 bf 0f 7d 05 51 5a 80 ba 1d e2 67 7c d7 ed 4e ec ae fd cd.

    I can send you an unsigned version if you prefer, and/or its 32-bit counterpart, located in the SysWOW64 directory for 64-bit systems.

    Hope this helps !
    How do I change environment variables in regular User account??? Attached Files
      My Computer


  3. Posts : 1
    Windows 10
       #13

    Hello, I just had the exact same problem, and because the solution does not appear here I write it down:
    1) When you go to the Windows Search (bottom left), and type "System", Type in Admin User/PW, then click on "Advanced Settings", then on "Advanced", then on "Environment Variables", thhen under User Variables, you would see the User variables of the Admin User!, not the actual user". I had the same problem, that I wanted to change the User Enviroment Vars, but did not find it here. See 2)
    2) Instead, when you start over again, on the Search (bottom left), when you type "Environment Variables" or for German Windows "Umgebungsvariablen", then you end up directly at the Window where you can change the Environment Variables for this particular user (not the Admin).
    This works for me well.
      My Computer


  4. Posts : 67
    Win10 Home 64-bit, MX-Linux
       #14

    This issue has been fixed in current (version 1809) Windows 10. Either going to Control Panel > User Accounts > "Change my environment variables"
    or PC Settings > type "env" in search box > choose "Edit environment variables for your account", allows a non-admin user to edit their
    own e.v.'s in the usual e.v. dialog box.
      My Computer


  5. Posts : 6,847
    22H2 64 Bit Pro
       #15

    Maybe try the portable version of this:

    About - Rapid Environment Editor

    It works for me but I'm on:

    How do I change environment variables in regular User account???-winver.jpg
      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 02:11.
Find Us




Windows 10 Forums