programming4us
programming4us
DESKTOP

Windows Server 2008 and Windows Vista : Advanced Group Policy Preferences Settings - Process Variables

- Free product key for windows 10
- Free Product Key for Microsoft office 365
- Malwarebytes Premium 3.7.1 Serial Keys (LifeTime) 2019

Group Policy Preferences also provide a seamless integration with environment variables. The environment variables that Group Policy Preferences support include those that the system generates, as well as numerous additional environment variables to the process environment.

The environment variables are available for use in many of the text boxes associated with Group Policy Preferences. Some of the settings allow for environment variables, as do some of the item-level targeting entries. As a general rule, if the environment variable contains text properties that are associated with the text box you are filling out, the environment variable will function properly.

To access the environment variables via a shortcut, press the F3 key from within the text box where you want to use the environment variable. The Select a Variable dialog box appears, as shown in Figure 1.

Figure 1. The list of supported environment variables appears when you press F3 from within the GPME; this can help you configure Group Policy Preferences settings and targeting items.


The environment variables that are supported in Group Policy Preferences settings include those listed in Table 1.

Table 1. Environment Variables Supported in Group Policy Preferences
Environment VariableVariable Use
%AppDataDir%The current user’s Application Data directory
%BinaryComputerSid%The SID of the computer in hexadecimal format
%BinaryUserSid%The SID of the log-on 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
GphPathThe path to the Group Policy history file
GptPathThe path to the Group Policy configuration file
GroupPolicyVersionThe version of the running Group Policy CSE
LastDriveMappedThe drive letter of the last successful network drive mapping
%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 R2, 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, which is Local System when running in the computer context.
%TimeStamp%The time stamp of the configurations being executed
%TraceFile%The path/name of the trace file
%WindowsDir%The Windows directory
Other  
  •  Windows Server 2008 and Windows Vista : Item-Level Targeting (part 7) - Item-Level Targeting Controls, Common Item-Level Targeting Scenarios
  •  Windows Server 2008 and Windows Vista : Item-Level Targeting (part 6) - Security Group,WMI Query
  •  Windows Server 2008 and Windows Vista : Item-Level Targeting (part 5) - Portable Computer,Processing Mode, Registry Match
  •  Windows Server 2008 and Windows Vista : Item-Level Targeting (part 4) - MSI Query,Operating System, Organizational Unit
  •  Windows Server 2008 and Windows Vista : Item-Level Targeting (part 3) - Environment Variable, Language, LDAP Query
  •  Windows Server 2008 and Windows Vista : Item-Level Targeting (part 2) - Date Match, Dial-Up Connection,Disk Space, Domain
  •  Windows Server 2008 and Windows Vista : Item-Level Targeting (part 1) - Battery Present, Computer Name, CPU Speed
  •  Windows Server 2008 and Windows Vista : Advanced Group Policy Preferences Settings - Action Modes, Common Tab
  •  The Gaming Mouse: Ozone Neon
  •  Windows 8 : Understanding product editions, architectures, and hardware requirements
  •  
    Top 10
    Free Mobile And Desktop Apps For Accessing Restricted Websites
    MASERATI QUATTROPORTE; DIESEL : Lure of Italian limos
    TOYOTA CAMRY 2; 2.5 : Camry now more comely
    KIA SORENTO 2.2CRDi : Fuel-sipping slugger
    How To Setup, Password Protect & Encrypt Wireless Internet Connection
    Emulate And Run iPad Apps On Windows, Mac OS X & Linux With iPadian
    Backup & Restore Game Progress From Any Game With SaveGameProgress
    Generate A Facebook Timeline Cover Using A Free App
    New App for Women ‘Remix’ Offers Fashion Advice & Style Tips
    SG50 Ferrari F12berlinetta : Prancing Horse for Lion City's 50th
    - Messages forwarded by Outlook rule go nowhere
    - Create and Deploy Windows 7 Image
    - How do I check to see if my exchange 2003 is an open relay? (not using a open relay tester tool online, but on the console)
    - Creating and using an unencrypted cookie in ASP.NET
    - Directories
    - Poor Performance on Sharepoint 2010 Server
    - SBS 2008 ~ The e-mail alias already exists...
    - Public to Private IP - DNS Changes
    - Send Email from Winform application
    - How to create a .mdb file from ms sql server database.......
    programming4us programming4us
    programming4us
     
     
    programming4us