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

About The Author

Leave a Comment

Your email address will not be published. Required fields are marked *

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Scroll to Top