Environmental variable available for login scripts


%COMPUTERNAME% PC Name
%HOMEDRIVE% User’s local drive
letter

%HOMEPATH% Path to
user’s home directory

%HOMESHARE% Share used to house user’s home area
%LOGONSERVER% Machine that authenicates user
logon

%OS% Operating System
(ie Windows_NT)

%PROCESSOR% CPU
%USERDOMAIN% Domain containing user’s account
%USERNAME% Domain containing user’s
account

Leave a Comment

Your email address will not be published.

Scroll to Top