Unable to change system variable path in Windows 10 as an Admin
I am installing Java JDK in Windows 10 machine that requires registering its path by editing System Variables in Windows settings, but I tried both as an admin and regular user and it doesn't allow me to add the path, even copy paste or just adding any character.I have no trouble doing this in Win 8 until I am 'tempted' to avail and run free upgrade by Microsoft.
Is this A bug in Windows 10? I update my machine regularly and also auto update is turned on to ensure to get the latest fix from Microsoft. Kaspersky is also disabled temporarily.
How do you edit the system variable in Win 10 machine? I am planning to downgrade my Machine to windows 7 or 8 if this issue is not fixed.
If you cant edit system variable under Path in windows 10, try this instead
Login as administrator
go to your Java folder e.g
C:\Program Files\Java\jdk8\bin and copy.
Now in search box beside windows logo at the bottom type
and select the one that says
'edit the system environment variables'
This is important, select 'New' tab in User variables for Administrator, not the 'New' tab from 'System variables' as you cant edit it.Now name it as you wish, mine is PATH.Now copy and paste the path where you installed Java, mine is under
Hit ok to exit.
Restart your command line and test Java
it should tell you java version and Java is successfully installed and accessible.Start using it and cheers
Can't edit environment variables in windows 10, When I click to edit the environment variables no option window opens I It doesn't work for me either, even though I'm an admin on the system. By the way , when was the graphical list view of the Path variable introduced? If still can't edit the system variables, is seems that the admin account still has proper permission. What if you create a new admin account to see if it works. From my test, admin has right to edit the system variables.
When I was trying to add a new path to my system variables, I was unable to select the edit button. To get to system variables I went to my search bar and selected "edit environmental variables for your account." When i did this, the edit button was grayed out and I couldn't add a new path. To fix this i typed in my search bar and selected "edit the system environment variables" once that box comes up right above the ok button select "click environmental variables". Yay, the path edit button is no longer grayed out. Hope this helps
You cannot modify user environment variables in , Resolution. Click Start. , type Accounts in the Start search box, and then click User Accounts under Programs. In the User Accounts dialog box, click Change my environment variables under Tasks. Make the changes that you want to the user environment variables for your user account, and then click OK. I got around it by opening the System page in Control Panel (Win+X -> Y), going to "Advanced system settings", then clicking "Environment Variables". That properly launches the edit window and it works. By the way, when was the graphical list view of the Path variable introduced?
I also faced similar problem after installation of new JDK and following steps resolved the issue:-
- Copy the entire content of path System variable in notepad and see if there is any path related to Java.
- Delete all the path related to Java.
- Click Ok.
- Now you can edit the Path without any issue.
If these steps doesn't work than you can create a new Variable.
I am admin, but I cannot edit system variables (Windows 10), You could try accessing this through the System Page. Windows + Pause/Break will bring up the System Page. Then click Advanced system� Teams. Q&A for Work. Stack Overflow for Teams is a private, secure spot for you and your coworkers to find and share information.
My situation is a bit different as I use a small 7" windows tidy notebook called "one-notebook (One MIX)". It seems the "OK" key is not shown in the 2nd stage in horizontal position and you need to rotate the screen to see the OK. Spend a lunch time for that.
How to set Path in Windows without admin rights, Lets see steps on How to set Path in Windows without admin rights. do not have admin rights, then you will not be able to modify the System variables section. A Environment Variables dialog will get opened. You can add/edit/delete your environment variables and Path in the highlighted section. Note: If you do not have admin rights, then you will not be able to modify the System variables section. It's only fair to share
There is a simple solution if your global environment variables are disabled. Follow these steps to open it in admin mode :
- Win Key + X.
- search Advance System Settings and open it.
- Now select environment variables.
Upvote if this is working to help others.
Setting global environment variables on Windows – Shotgun Support, For Windows users, you can change the environment variable the following ways . If you use a Mac, see Setting Global Environment Variables on OS X. Windows 10 and Windows 8. Search and select System (Control Panel). Windows 10 - Right click on Start Menu to get Power User Task Menu → Select System → Advanced System Settings → Environment variables → Choose New, Edit or Delete. However, in Windows 10 you can directly get to the Environment Variables window using Search the web and Windows box next to the Start menu. Type environment variables in Windows Search box which gives you two options in search results:
One more time: I need to edit user-specific variable of a non-admin user, say, Alice. The approach suggested by you will allow me to edit user-specific variables of user Admin instead. Even if you are currently logged in as Alice, your "Advanced system settings" approach will take you to the user-specific variables for Admin.
On the System Properties screen, go to the Advanced tab. Click the Environment Variables button at the very bottom. On the Environment Variables window, select Path from the User variables section and click Edit. On the Edit Environment variable window, click the New button. This will add a new field inside the list of paths.
Under the Environment Variables window, choose or highlight the PATH variable in the System Variables section shown in the window. After highlighting the PATH variable from System Variables click the Edit button. You can add or modify the path lines with the directories you want your computer to look in for executable files.
- When you say it won't allow you set the path, how did you try to do it? What command or menu option did you try to use?
- Also, what happened? Was there an error message? Did it just not seem to work? Did you remember to reboot the machine after making the change?
- What I mean is I cant edit the system variable path.I have no trouble in Win 7 or 8.You cant type any characters when editing the path, even if you have the admin credentials.