?
Solved

Windows Server 2008 Auto Login Script?

Posted on 2009-04-11
6
Medium Priority
?
4,004 Views
Last Modified: 2012-05-06

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!!
0
Comment
Question by:JReacher
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
6 Comments
 
LVL 59

Accepted Solution

by:
Darius Ghassem earned 2000 total points
ID: 24123313
Here are some article to show you how to do it.

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

Author Comment

by:JReacher
ID: 24123387
Thanks, This article doesn't say that it applies to Server 2008. Can anyone confirm/deny that it works for Server 2008?
0
 
LVL 59

Expert Comment

by:Darius Ghassem
ID: 24124071
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
Does Powershell have you tied up in knots?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

 

Author Comment

by:JReacher
ID: 24125067
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
 
LVL 59

Expert Comment

by:Darius Ghassem
ID: 24126360
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
 
LVL 58

Expert Comment

by:tigermatt
ID: 24128399

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

Featured Post

Three Reasons Why Backup is Strategic

Backup is strategic to your business because your data is strategic to your business. Without backup, your business will fail. This white paper explains why it is vital for you to design and immediately execute a backup strategy to protect 100 percent of your data.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Possible fixes for Windows 7 and Windows Server 2008 updating problem. Solutions mentioned are from Microsoft themselves. I started a case with them from our Microsoft Silver Partner option to open a case and get direct support from Microsoft. If s…
This article describes how to use a set of graphical playing cards to create a Draw Poker game in Excel or VB6.
This tutorial will walk an individual through the steps necessary to install and configure the Windows Server Backup Utility. Directly connect an external storage device such as a USB drive, or CD\DVD burner: If the device is a USB drive, ensure i…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…
Suggested Courses
Course of the Month7 days, 23 hours left to enroll

765 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question