Solved

Automatic Login to Win 2000 Server

Posted on 2002-05-06
14
9,126 Views
Last Modified: 2010-04-13
How do I configure a Windows 2000 Server such that it will automatically login using a particular user account? For Windows 2000 Professional, I can do that with "Users and Passwords" in the Control Panel, but this is not available in Windows 2000 Server. Thanks.
0
Comment
Question by:yongsing
[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
  • 4
  • 4
  • 2
  • +3
14 Comments
 
LVL 4

Accepted Solution

by:
EricWestbo earned 50 total points
ID: 6992823
According to technet, this option is not available for Windows 2000 Server or Advanced Server by design... however, the info on how to do it in Pro (control panel and registry) *is* available:

http://support.microsoft.com/default.aspx?scid=kb;EN-US;q234562


If you're comfortable with backing up and tweaking your registry a bit, this might be the place to start.

hope this steers you in the right direction...

/ew





WARNING : Using Registry Editor incorrectly can cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that problems resulting from the incorrect use of Registry Editor can be solved. Use Registry Editor at your own risk.
0
 
LVL 9

Author Comment

by:yongsing
ID: 6992859
The article only described about automatic login in Win2000 professional. So there's no way for automatic login in Win2000 server?
0
 
LVL 1

Expert Comment

by:braddn
ID: 6993878
Eric is correct. This is by design. You cannot automatically login to W2k Server/Adv Server.

One thing you might not know however is that you do NOT need to login to your server in order for it to function properly and perform all of it's tasks. For example, if you reboot your exchange 2000 server and it comes back up to the "Press Ctrl+Alt+Del to login" screen you do NOT need to login for Exchange to function properly. Same with all of your services - all of them will function properly.

Not sure if thats what your worried about or if there were other issues that you were concerned with.

Thanks!
0
The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

 
LVL 2

Expert Comment

by:ThaiTran
ID: 6994084
You can use the link that EricWewstbo gave you.  It will work on Windows 2000 server as well.  We did it on our site and it's been working very well.
0
 

Expert Comment

by:sfavilla
ID: 6994623
what about using TweakUI.  We use it here with no problems.
0
 

Expert Comment

by:sfavilla
ID: 6994646
what about using TweakUI.  We use it here with no problems.
0
 
LVL 4

Expert Comment

by:EricWestbo
ID: 6995253
Yongsing,
  Again this is by design... major security issue to have your server auto logon.  And Braddn is also correct in that you do not need to logon in order for the services to run.

Glad we could help!

/ew
0
 
LVL 9

Author Comment

by:yongsing
ID: 6995524
The server needs to run a Java program when it starts up. This is a program I put in the "Startup" menu. If it's not logged in, I don't think that it will run.

Also, I have some tasks under the "Scheduled Tasks" which needs to be run periodically. These tasks are set to run under a particular user account. Without logging in, I don't think that they will be run.

The server will eventually have an Uninterruptible Power Supply. However, in the event of a prolonged power failure, the UPS will not be able to supply the needed power, and the server will be completely shut off. When power is restored, I want the server to boot up and function as normal.

I like sfavilla's suggestion of using TweakUI. I have used it before on Windows NT, but I didn't know that it works just as well on Windows 2000. I would prefer using this program than meddling with the registry.
0
 
LVL 9

Author Comment

by:yongsing
ID: 6995551
sfavilla, how do you install TweakUI 1.33 on Windows 2000 Server? There is a tweakui.inf file that needs to be run from the Control Panel. I tried all means but can't get it to install.
0
 
LVL 4

Expert Comment

by:EricWestbo
ID: 6996197
Yongsing....

With W2K you can pretty much configure everything that Tweak will allow you to configure.  Admin has nearly complete control, so why introduce additional layers here?

I don't have server installed on this machine, but if you check out the link I originally gave you (for W2K pro) and use it as a guideline, I believe you may find what you are looking for.

http://support.microsoft.com/default.aspx?scid=kb;EN-US;q234562

Again, According to technet, the option to auto boot is not available for Windows 2000 Server or Advanced Server BY DESIGN... however, the information on how to do it in PRO is available & MAY be helpful to you in configuring your server.

In an "expert" capacity, I'd have to advise against trying to auto logon w/server, as you'll be bypassing a security feature designed to protect your system.  That's not to say it can't be done...


/ew
0
 
LVL 4

Expert Comment

by:EricWestbo
ID: 6996217
Yongsing...

Thinking a little further into how to resolve your issue, have you tried running this script as a Startup Script?  That may allow you to run it prior to logon, which would alleviate the need to auto logon.

Group Policy > Computer Configuration > Windows Settings > Scripts (Startup/Shutdown)


some info:

- http://www.microsoft.com/technet/treeview/default.asp?url=/TechNet/columns/tips/2kscript.asp

- http://support.microsoft.com/directory/article.asp?ID=KB;EN-US;Q243486&


hope this helps!

/ew
0
 
LVL 1

Expert Comment

by:braddn
ID: 6997331
Eric's definitely got the idea. Also, can't programs be run as a service? If this java program were setup to run as a service that would solve all your problems.
0
 
LVL 9

Author Comment

by:yongsing
ID: 6998145
I'll accept this solution. Thanks for your help, guys.
0
 

Expert Comment

by:mozkill
ID: 7689915
why not use the Windows resource kit?  It has a utility for adding a program as a service, which you can then configure to run at system startup.

By the way, i tried the solutions given above in a new VMWare session, and the registry hack did not work.  Perhaps service pack 3 has changed something?
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

The following article is comprised of the pearls we have garnered deploying virtualization solutions since Virtual Server 2005 and subsequent 2008 RTM+ Hyper-V in standalone and clustered environments.
NTFS file system has been developed by Microsoft that is widely used by Windows NT operating system and its advanced versions. It is the mostly used over FAT file system as it provides superior features like reliability, security, storage, efficienc…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

739 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