Dynamic Variables

Dynamic Variables are those that are replaced dynamically by Endpoint Central while applying the configurations. As the name implies, the value of these variables are not the same for all the users/computers.

For example, to redirect the shortcuts of the start menu that are common for all the users to the system drive, you can use the dynamic variable $SystemDrive. This will be replaced by the corresponding system drive of that computer (like C, D, etc.) while deploying the configuration.

The table below lists the dynamic variable supported by Endpoint Central:

Dynamic VariableDescriptionExample Value of the Variable
$ComSpecSpecifies the path to the command interpretorC:\WINNT\system32\cmd.exe
$HomePathRefers to the home directory as defined in UMD/AD\\JOHNSMITH\
$NtTypeRole of NT/2000/XP computerServer, Workstation
$OSShort name of currently installed operating systemWindows_NT
$OSVersion2000 & XP will report back as NTWindows 2000
$OStype2000 & XP will report back as NTNT
$OsBuildNumberRefers to the build number of the currently installed operating system1381, 2195
$OsCsdVersionRefers to the service pack of the currently installed operating systemService Pack 4
$ProfileDirDUWill be replaced by the full path of the "Default User" profileC:\Documents and Settings\Default User
$ProfilesDirWill be replaced by the full path of where user profiles are storedC:\Documents and Settings
$ShellCacheWill be replaced by the path to current user's Temporary Internet Files shell folderC:\Documents and Settings\JohnSmith\Local Settings\Temporary Internet Files
$ShellCookiesWill be replaced by the path to current user's Internet Cookies shell folderC:\Documents and Settings\JohnSmith\Cookies
$ShellDesktopWill be replaced by the path to current user's Desktop shell folderC:\Documents and Settings\JohnSmith\Desktop
$ShellFavoritesWill be replaced by the path to current user's Favorites shell folder (also referred to as "IE Bookmarks").C:\Documents and Settings\JohnSmith\Favorites
$ShellHistoryWill be replaced by the path to current user's History shell folderC:\Documents and Settings\JohnSmith\Local Settings\History
$ShellMyPicturesWill be replaced by the path to current user's My Pictures shell folderC:\Documents and Settings\JohnSmith\My Documents\My Pictures
$ShellNetHoodWill be replaced by the path to current user's Network Neighborhood shell folderC:\Documents and Settings\JohnSmith\NetHood
$ShellPersonalWill be replaced by the path to current user's Personal shell folder (also referred to as "My Documents")C:\Documents and Settings\JohnSmith\My Documents
$ShellPrintHoodWill be replaced by the path to current user's Printer Neighborhood shell folderC:\Documents and Settings\JohnSmith\PrintHood
$ShellProgramsWill be replaced by the path to current user's Start Menu Programs shell folderC:\Documents and Settings\JohnSmith\Start Menu\Programs
$ShellRecentWill be replaced by the path to current user's Recent Documents shell folderC:\Documents and Settings\JohnSmith\Recent
$ShellSendToWill be replaced by the path to current user's Send To shell folderC:\Documents and Settings\JohnSmith\SendTo
$ShellStartMenuWill be replaced by the path to current user's Start-Menu shell folderC:\Documents and Settings\JohnSmith\Start Menu
$ShellStartupWill be replaced by the path to current user's Start Menu Startup shell folderC:\Documents and Settings\JohnSmith\Start Menu\Programs\Startup
$ShellTemplatesWill be replaced by the path to current user's Templates shell folderC:\Documents and Settings\JohnSmith\Templates
$SystemDriveRefers to the drive where OS files are locatedC:
$SystemRootWill be replaced by the path to operating system folderC:\WINNT
$TempDirWill be replaced by the path to the temporary directory on the clientC:\Documents and Settings\JohnSmith\Local Settings\Temp
$WinDirWill be replaced by the path to user's Windows folder (usually same as SystemRoot, exception would be a terminal server)C:\WINNT

Trusted by