3

In windows 10 whether I go to the control panel or through the start panel, nothing happen when I click to edit the environment variables.

enter image description here

Nothing happens. No window opens. The variables I have set in windows 8 before upgrading still work but I am unable to add any more which is a major problem.

Anyone have any ideas?

3
  • How do I set system environment variables in Windows 10? "Unfortunately, the recent update to Windows 10 (November update, version 1511) destroyed this functionality. The "Change my environment variables" link no longer works. It is there, but it is dead. So for the post-November version of Windows 10 the correct answer is: it is generally impossible to edit user-specific environment variables in version 1511 of Windows 10 from regular Users accounts. (cont)
    – DavidPostill
    Commented Jan 7, 2016 at 13:37
  • (cont) For the time being one workaround for non-administrative accounts is to, well, add your user account to Administrators group, logout, log back in, edit the variables using "System" -> “Advanced system settings” method, and then take away administrative rights again"
    – DavidPostill
    Commented Jan 7, 2016 at 13:38
  • Thanks for the workaround! What the hell is Microsoft doing with these updates? I keep having to re-install my motherboard drivers after each major update.
    – Guerrilla
    Commented Jan 8, 2016 at 5:47

4 Answers 4

3

Nothing happen when I click to edit the environment variables.

Unfortunately, the recent update to Windows 10 (November update, version 1511) destroyed this functionality. The "Change my environment variables" link no longer works. It is there, but it is dead.

So for the post-November version of Windows 10 the correct answer is: it is generally impossible to edit user-specific environment variables in version 1511 of Windows 10 from regular Users accounts.

Workaround:

For the time being one workaround for non-administrative accounts is to:

  • add your user account to Administrators group,
  • logout,
  • log back in,
  • edit the variables using "System" -> “Advanced system settings” method, and then
  • take away administrative rights again

Source How do I set system environment variables in Windows 10? by AnT

1
  • The version with the rundll32 command will work even when administrative access is denied by group policy. Commented Aug 28, 2018 at 14:51
5

Use Powershell to set an existing environment variable like this:

$Env:Path = $Env:Path + ";C:\Temp"

The following command from Windows Search or Powershell will open the GUI for this on versions of Windows 10 where this bug is fixed:

rundll32 sysdm.cpl,EditEnvironmentVariables

References

1
  • The rundll32 command is the only way to set user environment variables when the front door is closed via group policy Commented Aug 28, 2018 at 14:50
0

In Windows 10 version 1607 the environment variable PATH is updated when you enter the full path to a command within the Windows Power Shell. After the first time a command is used the PATH is update.

0

start, search: powershell right click: open as administrator enter this command:

Set-ItemProperty -Path "HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System" -Name "EnableLUA" -Value "0"

press: enter restart pc Now you can edit enviroment variables in down position.

This message is from 10.12. 2018 :-)

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .