How to Add Environment Variables Context Menu in Windows 10  

    How to Add Environment Variables Context Menu in Windows 10

    How to Add Environment Variables Context Menu in Windows 10

    Published by Category: General Tips
    15 Mar 2020
    Designer Media Ltd


    How to Add Environment Variables Context Menu in Windows 10


    Environment variables are a set of dynamic named values that can affect the way running processes will behave on a computer. The variables can be used both in scripts and on the command line. Environment variables makes it easy when certain standard directories and parameters need to be referenced but where the actual locations or names can vary from computer to computer.

    The variable (ex: "%UserProfile%") is used as a type of shortcut of the value (ex: "C:\Users\<username>").

    There are two types of environment variables: user environment variables (set only for current user) and system environment variables (set for all users).

    This tutorial will show you how to add an Environment Variables desktop context menu in Windows 10.

    The User variables item in the context menu allows the current user (standard user or administrator) to set new, edit, or delete the user environment variables for only their account. System variables will be grayed out, and cannot be changed.

    The System variables item in the context menu allows an administrator to set new, edit, or delete the system environment variables for all users and user environment variables for only their account.

    You must be signed in as an administrator to add and remove the "Environment Variables" context menu.


    EXAMPLE: Environment Variables context menu
    How to Add Environment Variables Context Menu in Windows 10-environment_variables_context_menu.png
    How to Add Environment Variables Context Menu in Windows 10-user_variables.png How to Add Environment Variables Context Menu in Windows 10-system_variables.png


    Here's How:

    1 Do step 2 (add-right click), step 3 (add-Shift+right click) , or step 4 (remove) below for what you would like to do.


    2 To Add Right Click "Environment Variables" Context Menu

    A) Click/tap on the Download button below to download the file below, and go to step 5 below.

    Add_Environment_Variables_context_menu.reg

    Download


    3 To Add Shift + Right Click "Environment Variables" Context Menu

    A) Click/tap on the Download button below to download the file below, and go to step 5 below.

    Add_Shift+right_click_Environment_Variables_context_menu.reg

    Download


    4 To Remove "Environment Variables" Context Menu

    This is the default setting.

    A) Click/tap on the Download button below to download the file below, and go to step 5 below.

    Remove_Environment_Variables_context_menu.reg

    Download


    5 Save the .reg file to your desktop.

    6 Double click/tap on the downloaded .reg file to merge it.

    7 When prompted, click/tap on Run, Yes (UAC), Yes, and OK to approve the merge.

    8 You can now delete the downloaded .reg file if you like.


    That's it,
    Shawn




  1. Posts : 681
    Windows 10 x64 Pro
       #1

    tested this out. whats the difference with the environmental variables for system? I see it runs elevated but why? I have edited all mine under the system path without issue.

    or is that for execution under another user so you can still edit system variables or something?
    Last edited by klepp0906; 15 Mar 2020 at 12:36.
      My Computer

  2. Brink's Avatar
    Posts : 56,203
    64-bit Windows 10 Pro for Workstations build 21354
    Thread Starter
       #2

    klepp0906 said:
    tested this out. whats the difference with the environmental variables for system? I see it runs elevated but why? Well its supposed to anyhow, task manager doesnt actually peg it as doing so.
    Hello,

    Without run as administrator, a user will only be able to edit the user variables for their account. System variables will be grayed out.

    If you run as adminstrator, you can edit both user (your account) and system variables.
      My Computers


  3. Posts : 681
    Windows 10 x64 Pro
       #3

    lol just replied while i was replying. Thanks brink :)
      My Computer

  4. Brink's Avatar
    Posts : 56,203
    64-bit Windows 10 Pro for Workstations build 21354
    Thread Starter
       #4

      My Computers


 

Tutorial Categories

How to Add Environment Variables Context Menu in Windows 10 Tutorial Index Network & Sharing Instalation and Upgrade Browsers and Email General Tips Gaming Customization Apps and Features Virtualization BSOD System Security User Accounts Hardware and Drivers Updates and Activation Backup and Restore Performance and Maintenance Mixed Reality Phone


  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 06:05.
Find Us




Windows 10 Forums