Logon Script Environment Variables - TechRepublic
General discussion
August 21, 2001 at 02:28 AM
dclausson

Logon Script Environment Variables

by dclausson . Updated 24 years, 10 months ago

I have had experience writing logon scripts using the USERNAME and COMPUTERNAME variables. At my previous position, NT was already configured and using these variables, I merely expanded on them to automate tasks. Currently, I have a W2K Server with W9*/ME/NT workstations and need to “grab” this info. In testing, these variables are not present, “ECHO UserId: USERNAME%” yields “UserId:” only. No username displayed.

How can I establish or use these in my logon scripting? Is there a server setting or feature to activate?

Thanks in advance.

This discussion is locked

All Comments