To add or change the values of environment variables


Open System in Control Panel.


On the Advanced tab, click Environment Variables, then click the name of the user variable or system variable you want to change, as follows. Click:

New to add a new variable name and value.

Edit to change a current variable name and value.

Delete to remove a variable name and value.


If you are not logged on as administrator to the local computer, the only environment variables you can change are user variables.

To open System, click Start, click Control Panel, click Performance and Maintenance, and then click System

Windows saves changes in the registry so they are available automatically the next time you start your computer.

You might have to close and reopen running programs for the new settings to take effect.

Related Topics

System Properties overview

Setting environment variables

© 2017 Microsoft Corporation. All rights reserved. Contact Us |Terms of Use |Trademarks |Privacy & Cookies