Question Locked

Setting the "Log On To" setting in active directorty to a default value

0 helpful
2 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
I work in a school and computers come in and out to me for regular maintenance checks. We are running windows server 2003 and windows seems to remember if i have logged into the machine the next time if boots after i have performed maintenance tasks. This can lead to pupils coming to staff saying the computers not logging in when all they have to do is change this setting from the loacl machine to log onto the network. Is there a way in active directory so when the computer boots it automaticly has are network in this box and not the machine i.e. PORTABLE114 (this computer)? This would save are tech support alot of hassle!

2 replies

by ztouba

I do realize this post is from 3/19/07. However when searching this question (or similar query) on Google this page still always shows up in the top results and the question was worded/explained very well. This answer is for anyone just now stumbling across this.

That I am aware of there is only one "fix". If it doesn't work for some reason, there are 3 alternate things you can do to help (not really fixes but will improve your situation):

1) Open regedit, Navigate to the HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon subkey.
Double-click DefaultDomainName (or create this String value if it doesn't exist), and set the value to the preferred domain. Double-click AltDefaultDomainName (or create this String value if it doesn't exist), and set the value to the preferred domain (same as above). There IS a good chance that your user will need to change the drop down box one last time, but after that it will always default to the domain you set.

2) Instruct your users to log on using the: username@yourdomain.local method. Example: domain: cnncorp, username: johnsmith. johnsmith@cnncorp.local, is entered into the username box, you will notice as soon as you type "@" that the "Log On To" domain box at the bottom is grayed out and no longer applies regardless of what it is set to.

3) Instruct your users to log on using the: yourdomain\username method. Example: domain: cnncorp, username: johnsmith. cnncorp\johnsmith, is entered into the username box, you will notice as soon as you type "\" that the "Log On To" domain box at the bottom is grayed out and no longer applies regardless of what it is set to.

4) Delete all local (non domain) user accounts other than the built in "Administrator" account. If you always disable the built in "Administrator" for security then leave only your self titled "Admin" account you created. Alternatively if you need/want some local user accounts for some reason, it is strongly recommended to use a different naming convention for local user accounts than your domain user accounts. For example if your domain naming convention is full first and last (johnsmith) then use anything else as a standard for the local accounts. Such as first initial first name + full last (jsmith) or full first, first initial last name (johns) or just (john) or (john.smith). This way if "johnsmith" is entered for a username and the "Log On To" box is still set to the local machine they won't be able to login since the account doesn't exist at which point you can only hope they would look at the username realize it's correct, retype the password realize it's correct, and check the ONLY other variable, the log on to box, to make sure it's correct.

This discussion is closed to new replies.