Jump to content

Recommended Posts

Posted

Hi,

since I've made a few changes on my "well-working XP Unattended Install CD" (just added some hotfixes), my cmdlines.txt file doesn't seem to work anymore : my auto login I've made doesn't work (I have to manually choose beetween the user the install created (jojo), and an other default user, called "Proprietaire" at the first login; before my changes, the auto login used to work well...)

Here is a copy of some files.

Thanks !

Mrjojo

WINNT.SIF

;SetupMgrTag

[Data]

AutoPartition=0

MsDosInitiated="0"

UnattendedInstall="Yes"

[unattended]

UnattendMode=FullUnattended

OemSkipEula=Yes

OemPreinstall=Yes

TargetPath=\WINDOWS

UnattendSwitch="yes"

WaitForReboot="No"

Hibernation=No

CrashDumpSetting=0

[GuiUnattended]

AdminPassword=*

EncryptedAdminPassword=NO

OEMSkipRegional=1

TimeZone=105

OemSkipWelcome=1

[userData]

ProductID=XXXXX-XXXXX-XXXXX-XXXXX-XXXXX

FullName="Jojo"

OrgName=""

ComputerName=PCJOJO

[identification]

JoinWorkgroup=WORKGROUP

[Networking]

InstallDefaultComponents=Yes

[Components]

chat=off

msmsgs=off

deskpaper=off

freecell=off

hearts=off

minesweeper=off

pinball=off

solitaire=off

spider=off

zonegames=off

media_clips=off

media_utopia=off

msnexplr=off

mousepoint=off

mplay=off

[GuiRunOnce]

%systemdrive%\Install\softs.cmd

%systemdrive%\Install\hotfixes.cmd

%systemdrive%\Install\fin.cmd

CMDLINES.TXT

[COMMANDS]

"useraccounts.cmd"

USERACCOUNTS.CMD

net user Jojo /add

net localgroup Administrateurs Jojo /add

REGEDIT /S autologon.reg

EXIT

AUTOLOGON.REG

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon]

"DefaultUserName"="Jojo"

"AutoAdminLogon"="1"


Posted

Add

"DefaultPassword"=""

to your reg file.

How are you sure that cmdlines.txt executed or not? Press Shift+F11 during GUI-mode setup and type lusrmgr.msc to verify your account was added. (or you can always try out the commands on a running Windows XP machine)

Use

 boxes for code, not coloured text :/
Posted

Ok, thx, I try this right now; I've forgotten to tell I own XP Home Edition, so the lusrmgr.msc can't work.

And I'm sure the cmdlines.txt is launched (and the jojo account is created) because I can choose beetween "jojo" and "proprietaire" at the first logon screen... It seems only the .reg file is ignored !

Iam installing XP on VMWare, the answer in a few min...

MrJojo

PS : sorry for the forgotten code boxes, it was my first post on this forum, and I didn't know how it works... :)

Posted
USERACCOUNTS.CMD

net user Jojo /add

net localgroup Administrateurs Jojo /add

REGEDIT /S autologon.reg

EXIT

AUTOLOGON.REG

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon]"DefaultUserName"="Jojo"

"AutoAdminLogon"="1"

your useraccounts.cmd should have the first line changed to

net user "Jojo" password /add

your autologon.reg should have an additional line

"DefaultPassword"="password"

and your winnt.sif needs additional line under [GuiUnattended]

AutoLogon=Yes

i think that is all... try that and see if you get auto logged on

Posted

I've tried to add the "DefaultPassword"="" line, and it works ! Very strange, I'm quite sure I've never use it before !!

[bM]Crusher, I don't want to specify a password for this user, this is why I didn't add the password option...

Anyway, thank you both ! :)

MrJojo

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...