Note: After seeing lots of comments about setting environment variables without administrator rights in Windows 10, I think I have found a way. I was not administrator and could use PowerShell.

PowerShell method

You can list all environment variables with: Get-ChildItem Env:.

To get the value of a specific variable: $Env:PATH, where PATH is the name of the variable.

To set a variable: [Environment]::SetEnvironmentVariable("PATH", "C:\TestPath", "User"), the first parameter is the name of the variable, the second is the value, the third is the level of.

There are different ways to work with environment variables and certain quirks with them in PowerShell so consult the link for details.

Old method (no longer available in newer Windows 10 updates, use PowerShell or see other answers)

Go into Settings and click on System.

Then on the left side click About and select System info at the bottom.

In the new Control Panel window that opens, click Advanced system settings on the left.

Now in the new window that comes up, select Environment Variables... at the bottom.

Answer from MC10 on Stack Exchange
🌐
Windows 10 Forums
tenforums.com › tutorials › 3234-environment-variables-windows-10-a.html
Environment Variables in Windows 10 - Windows 10 Help Forums
December 11, 2014 - The variable (ex: "%UserProfile%") ... for all users). This tutorial will show you a complete list of default environment variables that can be used to reference standard directories and parameters in Windows 10....
🌐
Computer Hope
computerhope.com › issues › ch000088.htm
What Are the Default Environment Variables in Windows?
June 1, 2025 - The default environment variables in Microsoft Windows XP, Vista, 7, 8, 10, and 11, their paths, and functionalities essential for users and administrators.
Discussions

Are these Environment Variables ok? Is there a "default"?
The PATH environment variable is OK since it is used to let you open system programs from anywhere under terminals More on reddit.com
🌐 r/Windows10
3
2
May 10, 2024
Topic: Environment Variables – PATH Shorthands @ AskWoody
The following instructions explain ... personal Environment variables, and examples of the benefits of their use. If you find that you enter the same PATH address frequently or drill down thru File Explorer to the same folder often, then this tip will save you a lot of time and frustration. ... This was written based upon Windows 10, but applies ... More on askwoody.com
🌐 askwoody.com
December 1, 2021
How do I edit environment variables in windows 10
  • Window Key + X

  • System

  • Advanced system settings

  • Environment Variables...

More on reddit.com
🌐 r/Windows10
5
0
August 20, 2015
How to restore variables to their initial state (when PowerShell loaded up)?
cybercastor 1 point 15 minutes ago Ouch, no my dude. This sucks, and it should really be made more clear to experimenters but it's a fact: If you change the PATH variable, you lose the previous value, that's why it's Very important to backup your PATH variable when you change it. Ya what cyber said, this goes even wwwaaayyyyy back to DOS days when ever you set the path you set it to path = %path%;c:\newitem; powershell equivalent being $env:path = "$env:path;c:\windows" but real question, why are you changing the path ? whats the gain here? your path will be reset each time you load a new powershell session (using $env:path) More on reddit.com
🌐 r/PowerShell
17
7
September 18, 2023
🌐
Microsoft Learn
learn.microsoft.com › en-us › windows › deployment › usmt › usmt-recognized-environment-variables
Recognized environment variables | Microsoft Learn
Applies to: ✅ Windows 11, ✅ Windows 10 · Feedback · Summarize this article for me · When the XML files MigDocs.xml, MigApp.xml, and MigUser.xml are used, the environment variables can be used to identify folders that can be different on different computers.
🌐
Pureinfotech
pureinfotech.com › home › complete list of environment variables on windows 10, 11
Complete list of environment variables on Windows 10, 11 - Pureinfotech
August 14, 2023 - Or you can use the “%HOMEPATH%” ... user’s default profile folder location (where the system stores the folders for Desktop, Documents, Downloads, and OneDrive). This guide will teach you the list of the most common environment variables you can use on Windows 11 (and on Windows 10)...
Top answer
1 of 9
179

Note: After seeing lots of comments about setting environment variables without administrator rights in Windows 10, I think I have found a way. I was not administrator and could use PowerShell.

PowerShell method

You can list all environment variables with: Get-ChildItem Env:.

To get the value of a specific variable: $Env:PATH, where PATH is the name of the variable.

To set a variable: [Environment]::SetEnvironmentVariable("PATH", "C:\TestPath", "User"), the first parameter is the name of the variable, the second is the value, the third is the level of.

There are different ways to work with environment variables and certain quirks with them in PowerShell so consult the link for details.

Old method (no longer available in newer Windows 10 updates, use PowerShell or see other answers)

Go into Settings and click on System.

Then on the left side click About and select System info at the bottom.

In the new Control Panel window that opens, click Advanced system settings on the left.

Now in the new window that comes up, select Environment Variables... at the bottom.

2 of 9
127

Still the same as ever: It’s in the old-style control panel’s “System” thingy. You can reach it with WinBreak or by right-clicking the Start button.

From there, select “Advanced system settings” → “Environment Variables”.

Or you can do it the hard way and find some other entry point to the old-style control panel, like the Network and Sharing Center or the Desktop folder(!).

🌐
Reddit
reddit.com › r/windows10 › are these environment variables ok? is there a "default"?
r/Windows10 on Reddit: Are these Environment Variables ok? Is there a "default"?
May 10, 2024 -

I was looking at the Default Environment Variables (from Advanced System settings) and came across them here. I was wondering if these were correct/looked right to anyone. I was mainly thrown off by the ones in the Path line under the System variables section, as there are more than one and they're mostly System32 related until the last one where it throws the HP One Agent filepath in there.

Screenshot: https://i.imgur.com/ZgHtaw5.png

🌐
Quora
quora.com › How-do-I-reset-the-default-environment-variables-in-Windows-10
How to reset the default environment variables in Windows 10 - Quora
For complex enterprise environments, consult your IT group or deployment images. If the goal is to revert to a known factory state and manual edits are insufficient, restoring a system image or performing a Windows Reset (Settings → Update & Security → Recovery → Reset this PC) will return variables to defaults but is a heavier option.
Find elsewhere
🌐
Eleven Forum
elevenforum.com › windows support forums › tutorials
Complete List of Environment Variables in Windows 11 | Windows 11 Forum
November 20, 2024 - This tutorial will show you a complete list of default environment variables that can be used to reference standard directories and parameters in Windows 10 and Windows 11. Environment variables are a set of dynamic named values that can affect the way running processes will behave on a...
🌐
Cloud Infrastructure Services
cloudinfrastructureservices.co.uk › home › blog › windows environment variables list: complete list on windows 10 / 11
Windows Environment Variables List: Complete List on Windows 10 / 11
August 26, 2022 - Details: Works identically to the %CommonProgramFiles%. However, it’s only supported by 64-bit versions of the Windows operating system as it’s utilized by the WOW64 emulation layer. ... Details: This environmental variable points to the name of your computer name which can be found and changed under System Properties. ... Details: Points to the location of the system’s default command interpreter i.e.
🌐
GitHub
gist.github.com › krabs-github › 02a56465024c0797c67d2ffaefdd7a98
Windows 10+ default environment variables
[Windows Variables] Windows Variables #Windows. GitHub Gist: instantly share code, notes, and snippets.
🌐
SS64
ss64.com › nt › syntax-variables.html
Windows Environment Variables - Windows CMD
User Environment Variables: ... Manager\Environment · By default, files stored under Local Settings do not roam with a roaming profile. It is a common practice to prefix custom variable names with either an underscore or a dollar sign _variable or $variable, these prefixes are not required but help to prevent any confusion with the standard built-in Windows Environment ...
🌐
Winhelponline
winhelponline.com › blog › default-system-and-user-environment-variables
List of SYSTEM and USER Environment Variables » Winhelponline
July 25, 2025 - There are two types of environment variables: user environment variables (set for each user) and system environment variables (set for everyone). For example, the variable %USERNAME% represents the name of the currently logged-on user account.
🌐
Scribd
scribd.com › document › 915427465 › Windows-10-11-Default-Environment-Variables
Windows 10/11 Default Environment Variables | PDF | Command Line Interface | Microsoft Windows
The document lists default environment variables for Windows 10 and 11, providing their corresponding paths and descriptions. It explains the utility of these variables for quick access and scripting, while noting that some variables are not location-specific.
🌐
Computer Hope
computerhope.com › issues › ch000549.htm
How to Set the Path and Environment Variables in Windows
If you need to create a new environment variable, click New, and enter the variable name and value. ... To view and set the path through the Windows command line, use the path command. The path is based on programs installed on the computer, so there is no "default path."
🌐
MakeUseOf
makeuseof.com › home › windows › how to use environment variables in windows 10
How to Use Environment Variables in Windows 10
June 30, 2021 - Whenever you have a new program on your computer that you want to run from the command line interface, you must specify its address in the PATH variable. Related: How to Generate a List of All Installed Programs in Windows · A thing to remember here, not all programs are in the PATH environment variable.
🌐
Make Tech Easier
maketecheasier.com › home › computing › windows › windows environment variables: a complete list
Windows Environment Variables: A Complete List - Make Tech Easier
July 29, 2022 - Whether you want to locate specific folders or troubleshoot a bug, you can perform these tasks quickly by typing environment variables in the Run menu or Command Prompt. The following is a complete list of system and user environment variables in Windows 10 and Windows 11.
🌐
AskWoody
askwoody.com › home › forums › askwoody support › windows › windows 10 › windows 10-other › environment variables – path shorthands
Topic: Environment Variables – PATH Shorthands @ AskWoody
December 1, 2021 - Windows recognizes an Environment variable where a PATH address is entered by enclosing the Environment variable in percent signs (%). Example: %Appdata%. <u>This means anywhere you enter an Environment variable it must start with the % sign and end with the % sign for Windows to recognize it is an Environment variable, except in PowerShell.</u> Environment variables can be used as part of the PATH address. Example: %Appdata%\Microsoft\Templates which is way easier to enter than C:\Users\YOU\AppData\Roaming\Microsoft\Templates (opens where Office templates are stored by default)