Predefined Dynamic Variables can be used to aid in the creation of configuration elements. These variables are globally defined and used by Desktop Authority during the client logon process. Using them is helpful, if not a necessity, when writing custom scripts.
Dynamic Variables can be used in virtually every field within the Desktop Authority manager, including those fields with built-in lists. Simply press the F2 key to display a dialog that allows the selection of a predefined variable from a visual list. The dynamic variable will be inserted at the current position of the cursor.
These variables are available for a few different categories:
Applications Variables
Date and Time Variables
Folder and Disk Variables
Messaging System Variables
Network Variables
Operating System Variables
Security Variables
System Variables
Connection Type:
LAN - LAN or WAN connection
RAS - dial-up networking connection
Current date (e.g. "2000/04/01")
Description (from UMD)
Location of OS DLL's (e.g. Windows - "C:\Windows\System") (e.g. Win NT - "D:\WinNT\System32")
Domain (or Workgroup) that computer belongs to.
If set to 1 in a custom script, Desktop Authority will immediately exit after pre or post-engine custom scripts complete.
Available disk space on $SystemDrive (in bytes)
Available disk space on $SystemDrive (in Megabytes)
"morning", "afternoon" or "evening", based on time of day 00:00-11:59, 12:00-17:59, 18:00-23:59, respectively.
Base sharename part of $HomePath. (e.g. "Users")
'Long' name of the directory part of the home directory. (e.g. "bjohnson")
Complete home path, including the server, base share and home directory. (e.g. "\\Server1\Users\JohnSmith")
Server-only part of $HomePath, without leading backslashes. (e.g. "MyServer")
Server & base share parts of $HomePath. (e.g. "\\Server\Users")
TCP/IP host name of the client.
Internet Explorer Version
IP address ( First address detected )
The first octet of $IPAddr
The second octet of $IPAddr
The third octet of $IPAddr
The fourth octet of $IPAddr
Authenticating Domain Controller - without leading backslashes. (Example: "server1')
Authenticating Domain Controller - with leading backslashes. (Example: "\\server1")
Network MAC address (adapter 0)
Name of the default Windows Messaging System profile for the user logging on.
location of Desktop Authority scripts on authenticating server in UNC form.
Example 1 - "\\server1\netlogon"
Example 2 - "\\server2\netlogon\site1"
Numeric value of the OS version, expressed as an integer (e.g. 40 or 50)
a PDC, BDC or Member Server will return "Server"
an NT Workstation or Windows 2000 Professional will return "Workstation"
Operating System build number (e.g. 1381)
Operating System current service pack (e.g. Service Pack 4.0)
Operating System type:
95 - Windows 95
98 - Windows 98
NT - All versions of NT/2000
Operating System version (e.g. " NT Workstation 4.0")
Privilege level of user on the domain: "User" or "Admin"
Loc. of Program Files on the client (e.g. " C:\Program Files")
Number of days before password expiration.
If set to 1, user will be forced to logoff. A 2 will force the client to reboot.
Location of client's Application Data shell folder.
Location of client's Temporary Internet Files shell folder.
Location of client's Cookies folder.
Location of client's Desktop shell folder
Location of NT client's Common (All Users) Desktop shell folder.
Location of client's Favorites shell folder (IE bookmarks).
Location of client's Fonts shell folder.
Location of client's History shell folder.
Location of client's Local Application Data shell folder.
Location of client's My Pictures shell folder.
Location of client's Network Neighborhood shell folder.
Location of client's Personal shell folder.
Location of client's Printer Neighborhood shell folder.
Location of client's Start-Menu Programs shell folder.
Location of NT client's Common (All Users) Start-Menu Programs shell folder.
Location of client's Recent Documents shell folder.
Location of client's Send To shell folder.
Location of NT client's Common (All Users) Start-Menu shell folder.
Location of client's Start-Menu shell folder
Location of client's Startup shell folder.
Location of client's Templates shell folder.
System Info: CPU #1 MHz (approx.)
System Info: CPU #1 Type
System Info: CPU #1 Vendor ID
Security Identifier (SID) of current user.
System Info: Size of desktop (Width x Height)
System Info: Size of Hard Drive #1
System Info: Physical memory, in Mb
System Info: System BIOS Date
System Info: System BIOS Mfg.
System Info: Video BIOS Date
Drive where OS loaded from (e.g. "C:")
0 = Non-Terminal Server Client
1 = Terminal Server Client
Current time (e.g. "14:10")
Current 2-digit hour (e.g. "14")
Current 2-digit minutes (e.g. "10")
0 = Non-Terminal Server Client
1 = Terminal Server Client
Logon ID of the user.
Operating System version.build (e.g. " NT Workstation 4.0.1381")
For Windows 95 & 98 clients:
0 = User Profiles are not enabled.
1 = User Profiles are enabled.
© ALL RIGHTS RESERVED. Terms of Use Privacy Cookie Preference Center