vBulletin statistics
Group Policy Preferences: Tips & Tricks #1: Variables List - Windows Server blog by Kurt Roggen [BE]
maandag 11 mei 2009 11:15 Kurt Roggen

Group Policy Preferences: Tips & Tricks #1: Variables List

In many cases, when you are in the Group Policy Preferences editor, you can use the F3 function key and use Variables List to select a variable from.
Preference extensions provide a list of variables from which you can choose to insert into text boxes. You can open the dialog box from any text box that is:

  • Not disabled.
  • Not read only.
  • Not restricted to a numeric value.
image 
F3 function key to use Variables List


Preference extensions support Windows environment variables and generate a number of additional process environment variables. Any variable may be used in a configuration parameter value.
This variables list contains 2 types of variables:

  1. Windows environment variables: Variables defined externally to GPP
    Default system and/or user variables or custom-defined by user or administrator and visible using SET command.
    Some examples: %USERNAME%, %USERDOMAIN%, %COMPUTERNAME%, %HOMEPATH%, %HOMEDRIVE%, %USERNAME%, %LOGONSERVER%, %OS%, etc…

    image
  2. Preference Process Variables: Variables defined internally to GPP
    Variables known only to Group Policy Preferences extensions.
    Some examples: %GROUPPOLICYVERSION%, %DATETIME%, %MACADDRESS%, %OSVERSION%, %LOGONSERVERSID%
    For a more complete list, see below.

Variables List
%AppDataDir% -
The current user's Application Data directory.
%BinaryComputerSid% - The SID of the computer in hexadecimal format.
%BinaryUserSid% - The SID of the current user in hexadecimal format. 
%CommonAppdataDir% - The "all users" Application Data directory.
%CommonDesktopDir% - The "all users" Desktop directory.
%CommonFavoritesDir% - The "all users" Explorer Favorites directory.
%CommonProgramsDir% - The "all users" Programs directory.
%CommonStartMenuDir% - The "all users" Start Menu directory.
%CommonStartUpDir% - The "all users" Startup directory.
%ComputerName% - The NetBIOS name of the computer.
%CurrentProcessId% - The numeric identity of the main client process.
%CurrentThreadId% - The numeric identity of the main client thread.
%DateTime% - The current time (UTC).
%DateTimeEx% - The current time (UTC) with milliseconds.
%DesktopDir% - The current user's desktop directory.
%DomainName% - The domain name or workgroup of the computer.
%FavoritesDir% - The current user's Explorer Favorites directory.
%LastError% - The last error code encountered during configuration.
%LastErrorText% - The last error code text description.
%LdapComputerSid% - The SID of the computer in LDAP escaped binary format.
%LdapUserSid% - The SID of the current user in LDAP escaped binary format.
%LocalTime% - The current local time.
%LocalTimeEx% - The current local time with milliseconds.
%LogonDomain% - The domain of the current user.
%LogonServer% - The domain controller that authenticated the current user.
%LogonUser% - The user name of the current user.
%LogonUserSid% - The SID of the current user.
%MacAddress% - The first detected MAC address on the computer.
%NetPlacesDir% - The current user's My Network Places directory.
%OsVersion% - The operating system: Windows Server 2008, Windows Vista, Windows Server 2003, Windows XP, or Unknown.
%ProgramFilesDir% - The Windows Program Files directory.
%ProgramsDir% - The current user's Programs directory.
%RecentDocumentsDir% - The current user's Recent Documents directory.
%ResultCode% - The client's exit code.
%ResultText% - The client's exit code text description.
%ReversedComputerSid% - The SID of the computer in reversed byte order hexadecimal format.
%ReversedUserSid% - The SID of the current user in reversed byte order hexadecimal format.
%SendToDir% - The current user's Send to directory.
%StartMenuDir% - The current user's Start Menu directory.
%StartUpDir% - The current user's Startup directory.
%SystemDir% - The Windows system directory.
%SystemDrive% - The name of the drive from which the operation system is running.
%TempDir% - The current user's Temp directory as determined by Windows API.
%TimeStamp% - The time stamp of the configurations being executed.
%TraceFile% - The path/name of the trace file.
%WindowsDir% - The Windows directory.

You can prevent the resolution of a variable before it is applied to client computers, so that the variable rather than the resolved value appears in the preference setting on client computers. To do so for a preference process variable, clear the Resolve Variable check box. This inserts <> between the % % delimiters and the variable name (for example, %<ProgramFiles>%). Preference extensions remove < > characters from the text and leave the unresolved variable. You can also use this syntax with a Windows environment variable.

image

Related reading:

Filed under: ,

# Group Policy &#8211; Preferences &#8211; Variables List &laquo; Chris Beams&#8217;s Blog

Pingback from  Group Policy – Preferences – Variables List « Chris Beams’s Blog

# http://bmd-wiki.de/phpinfo.php?a%5B%5D=%3Ca+href%3Dhttp%3A%2F%2Fwww.socialcheats.com%2Freal-racing-3-cheats%2F%3Ehttp%3A%2F%2Fwww.socialcheats.com%2Freal-racing-3-cheats%2F%3C%2Fa%3E

Group Policy Preferences: Tips & Tricks #1: Variables List - Windows Server blog by Kurt Roggen [BE]

# sneak a peek at this web-site

zondag 14 september 2014 10:08 by sneak a peek at this web-site

Group Policy Preferences: Tips & Tricks #1: Variables List - Windows Server blog by Kurt Roggen [BE]

# http://www.demo.stools.net/?a%5B%5D=%3Ca+href%3Dhttp%3A%2F%2Fwww.socialcheats.com%2Ffifa-15-coin-generator%2F%3Efifa+15+coins%3C%2Fa%3E

Group Policy Preferences: Tips & Tricks #1: Variables List - Windows Server blog by Kurt Roggen [BE]

# http://www.pikebu.de/cgi-bin/info.php?a%5B%5D=%3Ca+href%3Dhttp%3A%2F%2Fwww.socialcheats.com%2Fclash-of-clans-hack%2F%3Ehttp%3A%2F%2Fwww.socialcheats.com%2Fclash-of-clans-hack%2F%3C%2Fa%3E

Group Policy Preferences: Tips & Tricks #1: Variables List - Windows Server blog by Kurt Roggen [BE]

# http://www.nahansm.com/index3.php?a%5B%5D=%3Ca+href%3Dhttp%3A%2F%2Fwww.socialcheats.com%2Fdragon-city-hack-dragon-city%2F%3Ehack+dragon+city%3C%2Fa%3E

Group Policy Preferences: Tips & Tricks #1: Variables List - Windows Server blog by Kurt Roggen [BE]

# http://www.brunnbergs.no/index.php?a%5B%5D=%3Ca+href%3Dhttp%3A%2F%2Fwww.socialcheats.com%2Fhay-day-hack-hay-day-cheats%2F%3Eworking+hay+day+hack%3C%2Fa%3E

Group Policy Preferences: Tips & Tricks #1: Variables List - Windows Server blog by Kurt Roggen [BE]

# this post

zaterdag 4 oktober 2014 17:49 by this post

Group Policy Preferences: Tips & Tricks #1: Variables List - Windows Server blog by Kurt Roggen [BE]

# simpsons tapped out cheats

zondag 5 oktober 2014 15:42 by simpsons tapped out cheats

Group Policy Preferences: Tips & Tricks #1: Variables List - Windows Server blog by Kurt Roggen [BE]

# 8 ball pool cheats

zondag 5 oktober 2014 20:26 by 8 ball pool cheats

Group Policy Preferences: Tips & Tricks #1: Variables List - Windows Server blog by Kurt Roggen [BE]

# click here to find out more

zondag 5 oktober 2014 21:49 by click here to find out more

Group Policy Preferences: Tips & Tricks #1: Variables List - Windows Server blog by Kurt Roggen [BE]

# look at these guys

maandag 6 oktober 2014 4:41 by look at these guys

Group Policy Preferences: Tips & Tricks #1: Variables List - Windows Server blog by Kurt Roggen [BE]

# minion rush cheats

maandag 6 oktober 2014 10:13 by minion rush cheats

Group Policy Preferences: Tips & Tricks #1: Variables List - Windows Server blog by Kurt Roggen [BE]

# cod advanced warfare prestige hack

maandag 6 oktober 2014 12:16 by cod advanced warfare prestige hack

Group Policy Preferences: Tips & Tricks #1: Variables List - Windows Server blog by Kurt Roggen [BE]

# http://87.118.110.235/php.php?a%5B%5D=%3Ca+href%3Dhttp%3A%2F%2Fwww.socialcheats.com%2Ffifa-14-coin-generator%2F%3Efifa+14+coin+generator%3C%2Fa%3E

Group Policy Preferences: Tips & Tricks #1: Variables List - Windows Server blog by Kurt Roggen [BE]

# http://www.pipodekloon.nl/phpinfo.php?a%5B%5D=%3Ca+href%3Dhttp%3A%2F%2Fwww.socialcheats.com%2Fcastle-clash-hack%2F%3Ecastle+clash+cheats%3C%2Fa%3E

Group Policy Preferences: Tips & Tricks #1: Variables List - Windows Server blog by Kurt Roggen [BE]

# updated call of duty advanced warfare prestige hack

donderdag 9 oktober 2014 11:36 by updated call of duty advanced warfare prestige hack

Group Policy Preferences: Tips & Tricks #1: Variables List - Windows Server blog by Kurt Roggen [BE]

# generateur credit fifa 15

vrijdag 10 oktober 2014 3:55 by generateur credit fifa 15

Group Policy Preferences: Tips & Tricks #1: Variables List - Windows Server blog by Kurt Roggen [BE]

# http://ww.isaev.info/?a%5B%5D=%3Ca+href%3Dhttp%3A%2F%2Fbaliman.co.kr%2Fphp_test.php%3Fa%255B%255D%3D%253Ca%2Bhref%253Dhttp%253A%252F%252Fgenerateurdecreditsfifa15.social-cheats.com%252F%253Ehttp%253A%252F%252Fgenerateurdecreditsfifa15.social-cheats.com%252

Group Policy Preferences: Tips & Tricks #1: Variables List - Windows Server blog by Kurt Roggen [BE]

# http://buyalaptops.com.braginclub.org/1.php?a%5B%5D=%3Ca+href%3Dhttp%3A%2F%2Fgenerateurdecreditsfifa15.social-cheats.com%2F%3Egenerateur+credit+fifa+15%3C%2Fa%3E

Group Policy Preferences: Tips & Tricks #1: Variables List - Windows Server blog by Kurt Roggen [BE]

# generateur credit fifa 15

maandag 13 oktober 2014 22:22 by generateur credit fifa 15

Group Policy Preferences: Tips & Tricks #1: Variables List - Windows Server blog by Kurt Roggen [BE]

# minion rush cheats

woensdag 15 oktober 2014 10:08 by minion rush cheats

Group Policy Preferences: Tips & Tricks #1: Variables List - Windows Server blog by Kurt Roggen [BE]

# http://www.mydearfear.eu

woensdag 15 oktober 2014 13:57 by http://www.mydearfear.eu

Group Policy Preferences: Tips & Tricks #1: Variables List - Windows Server blog by Kurt Roggen [BE]

# Clash Of Clans Hack No Survey

donderdag 16 oktober 2014 10:08 by Clash Of Clans Hack No Survey

Group Policy Preferences: Tips & Tricks #1: Variables List - Windows Server blog by Kurt Roggen [BE]

# http://www.sicoes.gob.bo/info.php/%22/%3E%3Ca%20href=%22/superkasyna.net%22%3Ekasyno%3C/a%3E%3Cimg?a%5B%5D=%3Ca+href%3Dhttp%3A%2F%2Fconfidencegames.com%2Fclash-of-clans-hack%2F%3Ehttp%3A%2F%2Fconfidencegames.com%2Fclash-of-clans-hack%2F%3C%2Fa%3E

Group Policy Preferences: Tips & Tricks #1: Variables List - Windows Server blog by Kurt Roggen [BE]