Fubyou
asked on
How do I set default user name and domain name instead of last user logon
I and many of my colleagues frequently visit client's computers for various tasks. I set down login as local administrator complete my task and reboot. I don't know their passwords nor their login names and don't want to know either. Is there a way I can setup their computers so no matter who successfully logs in before the reboot the default Username has that clients username; the default domain name is the domain they log into (we have multiple domains) and the password box is left blank. NO THIRD PARTY SOFTWARE!!!!! In some cases 3rd party software works great but I will not guarantee points to be awarded because we are not a 3rd party shop. So be warned.
ASKER
THIS ABOVE ANSWER IS WRONG.
PLEASE AT LEAST READ THE QUESTION BEFORE ANSWERING.
PLEASE AT LEAST READ THE QUESTION BEFORE ANSWERING.
Are you logging into Active Directory domains? If so, why can't the user just type in "username@domain.com" for their username. That way they won't need to select their domain.
Possibly I am misunderstanding what you are asking for, but I will give it a shot.
You can easily setup a script at logoff (if you are using Win2K or XP) to modify the registry.
The keys you would modify are:
HKLM/SOFTWARE/Microsoft/Wi ndowsNT/Cu rrentVersi on/Winlogo n/DefaultU serName
and
HKLM/SOFTWARE/Microsoft/Wi ndowsNT/Cu rrentVersi on/Winlogo n/DefaultD omainName
You could call a .reg file (like logoff.reg) that had something similar to the following in it:
-------------------------- ---------- -------
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWA RE\Microso ft\Windows NT\CurrentVersion\Winlogon ]
"DefaultDomainName"="CLIEN TDOMAIN"
"DefaultUserName"="clientu sername"
-------------------------- ---------- -------
Let me know if this is what you were looking for
Netelligen
You can easily setup a script at logoff (if you are using Win2K or XP) to modify the registry.
The keys you would modify are:
HKLM/SOFTWARE/Microsoft/Wi
and
HKLM/SOFTWARE/Microsoft/Wi
You could call a .reg file (like logoff.reg) that had something similar to the following in it:
--------------------------
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWA
"DefaultDomainName"="CLIEN
"DefaultUserName"="clientu
--------------------------
Let me know if this is what you were looking for
Netelligen
ASKER
That answer was actually amusing.
ASKER
Yea thats it Netelligen. I went to the microsoft site and downloaded some script maker. And I know I should write a script but am not sure how to write it exactlly. But you are on the right track.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
The aboce code works great thank you
ASKER
above i meant
Not a problem.
Glad I could help :)
Glad I could help :)
http://www.microsoft.com/technet/treeview/default.asp?url=/technet/prodtechnol/winxppro/proddocs/574.asp