Automatic login after sysprep

D

david_ua

I'm running a computer class of about 70 computers where students come
every day. Every night I reset them with a ghost image. I use symantec
Ghost 7.0 and then I multicast the image to the computers. But I want
to upgrade the os to a Windows 2000.
I've setup the windows 2k so that the student doesn't have to fill in
a username and password (automatic login). This setting disappear
after running sysprep and then they have to fill in a username and
password.
The (automatic login)account has only user rights...
I prepared a script(sysprep.inf) to avoid the mini setup and this
works fine.

How can I adjust the setting so that win2k automatically logs in with
the user account?
 
B

Bill Curtis [MSFT]

I take it that you want to perform an automatic logon with just that user
account.

To solve this problem, I would probably create a registry file (.REG) that
looks like this:

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon]
"DefaultDomainName"="DIAMONDBACKS"
"DefaultUserName"="user"
"AutoAdminLogon"="1"
"DefaultPassword"= "password"
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

I would then use CMDLINES.TXT to run "regedit /s
%WINDIR%\SysprepSettings\Autologon.reg" during the Mini-setup during
sysprep to put these values into the registry.

Source Article:

324737 HOW TO: Turn On Automatic Logon in Windows
http://support.microsoft.com/?id=324737


- Bill Curtis [MSFT]
“This posting is provided "AS IS" with no warranties, and confers no
rights.”
 
D

david_ua

thanx for the reply....
But the cmdlines.txt doesn't run...

I am using Ghost to image some workstations and am having a problem in
getting cmdlines.txt to run. Has anyone actually made this work?
There are
plenty of postings in this group and also KB articles on this topic
and it
looks like plenty of you must use this method. But I just can't make
it
work ... could someone run their eyes over my set up below and see if
they
can see any errors.

* I am using Sysprep 1.0 (because win2k could have problems with 1.1)
* I have a customised Sysprep.inf file (see below)
* I have created my cmdlines.txt file (see below)
* I have created my autologin.reg (see below)


With the exception of the failure of cmdlines.txt, all other fuctions
in my
sysprep.inf file work and I have a hands free install working.
I use Symantec Ghost Console to dump and pull my images. So when I
pull an image, it automatically applies the sysprep.inf. I just don't
know where I have to put my other files (cmdlines.txt and *.reg)
because the sysprep is located on the server.

Sysprep.inf
-------------
[GuiUnattended]
OEMSkipWelcome = 1
OemSkipRegional = 1
AdminPassword = *
TimeZone = 4

[Unattended]
OemSkipEula = Yes
OemPreinstall = Yes

[UserData]
FullName = uauser
OrgName = UA
ComputerName = *

[Identification]
JoinWorkgroup = pcklasa

[Networking]
InstallDefaultComponents = Yes

[LicenseFilePrintData]
AutoMode = PerServer1
AutoUsers = 5

cmdlines.txt
------------
regedit /s %Windir%\sysprepsettings\autologin.reg

autologin.reg
---------------
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows
NT\CurrentVersion\Winlogon]
"DefaultUserName"="uauser"
"AutoAdminLogon"="1"
"DefaultPassword"= "uauser"
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top