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.