Windows Server 2008 Auto Login Script?


Experts,

  I am pretty new to Windows Server 2008, I have a need to have a Windows Server 2008 Web Edition machine on a domain automatically login to a certain account on bootup. I've heard that in older versions of server you could do it using a vb script? Could someone tell me if there is an easy way to do this and how to go about it? If it is using a vb script how would I implement that script to take effect on every boot up?

Thanks!!
JReacherAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

 
Darius GhassemCommented:
Here are some article to show you how to do it.

http://support.microsoft.com/kb/324737
0

Experts Exchange Solution brought to you by ConnectWise

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
 
JReacherAuthor Commented:
Thanks, This article doesn't say that it applies to Server 2008. Can anyone confirm/deny that it works for Server 2008?
0
 
Darius GhassemCommented:
This does work for 2008 I have used it for it. Here are some more articles. I have used the first to make a 2008 server a workstation.

http://www.win2008workstation.com/wordpress/2008/03/08/configure-auto-logon/

http://www.windowsnetworking.com/nt/registry/rtips34.shtml
0
Has Powershell sent you back into the Stone Age?

If managing Active Directory using Windows Powershell® is making you feel like you stepped back in time, you are not alone.  For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why.

 
JReacherAuthor Commented:
Ok I am going to try this today. Also, this machine is on a domain and the account I want to auto login to is the local admin account. Is there a way to specifiy whether you are logging into a domain or local account?
0
 
Darius GhassemCommented:
I have done it with a local account but the machine wasn't on the domain. Also, I have done it with a domain machine but with a domain account.
0
 
tigermattCommented:

You cannot use a VBScript directly to do the auto-logon. The only way a VBScript could run would be as a Startup script, which runs prior to the login prompt.

The approach dariusg linked to is the correct approach to follow. Simply add the necessary registry entries. For it being a domain account, you simply need to add the additional string value in the Winlogon key, called 'DefaultDomainName', and specify the NetBIOS name of your domain as the value. That will allow an automated domain logon to take place.

-Matt
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.