ManageEngine Logo

MSP Center Plus

Integrated MSP Platform



Remote-Management
MSP Center Plus is an integrated MSP platform that combines RMM, HelpDesk, and PSA
 
Success Stories
"I have seen products from Kaseya, LPI etc., but found MSP Center far superior." -Scott Weaver, Schema Networks.
More »
 

Managing Environment Variables

Environment variables are a set of dynamic values that are stored in your computer and used by programs during execution. Windows environment variables are broadly classified into System variables and User variables.

  • System Variables: Requires administrator privilege to modify a system environment. These system environment variables apply to all computer users. Changes to the system environment are written to the registry, and usually require a restart to become effective.
  • User Variables for User Name: Any user can add, modify, or remove a user environment variable. The changes are written to the registry, and are usually effective immediately. However, after a change to user environment variables is made, any open software programs should be restarted to force them to read the new registry values. The common reason to add variables is to provide data that is required for variables that you want to use in scripts.

Accessing the Windows Environment Variables Screen

Do the following to access the environment variables screen in your computer

  • Right-click My Computer, and then click Properties.
  • Click the Advanced tab.
  • Click Environment variables.
  • Click one the following options, for either a user or a system variable:
    • Click New to add a new variable name and value.
    • Click an existing variable, and then click Edit to change its name or value.
    • Click an existing variable, and then click Delete to remove it.

Default Values

The default values for some of the Microsoft Windows Environment Variables are

VariableData
%ALLUSERSPROFILE%C:\Documents and Settings\All Users
%APPDATA%C:\Documents and Settings\{username}\Application Data
%COMPUTERNAME%{computername}
%COMSPEC%C:\Windows\System32\cmd.exe
%HOMEDRIVE%C:
%HOMEPATH%\Documents and Settings\{username}
%PATH%%SystemRoot%\system32\;%SystemRoot%\;%SystemRoot%\system32\Wbem
%PATHEXT%.COM; .EXE; .BAT; .CMD; .VBS; .VBE; .JS ; .WSF: .WSH
%PROGRAMFILES%C:\Program Files (on english-language systems. May vary in other languages)
%PROMPT%Code for current command prompt format. Code is usually $P$G
%SYSTEMDRIVE%The drive containing the Windows XP root directory, usually C:
%SystemRoot%The Windows directory, usually C:\Windows, formerly C:\WINNT
%TEMP% and %TMP%C:\Documents and Settings\{username}\Local Settings\Temp
%USERNAME%{username}
C:\Documents and Settings\{username} in Windows 2000/XP
%USERPROFILE%C:\Windows\Profile in Windows NT4 and Windows 9x/ME
C:\Users\{username} under Windows Vista
%WINDIR%C:\Windows

Managing new environment variable using MSP Center Plus

You can create new environment variable (both user and system variables) using MSP Center Plus. Select any of the options below, input the variable name and value, and apply it to select computers.

  • Choose Remote Management-> Configuration-> User Configuration-> Environment variable
  • Choose Remote Management-> Configuration-> Computer Configuration-> Environment variable

remote desktop management