Jump to content

Assistance with winnt.sif and others...


Recommended Posts

I have been playing and researching online for a few weeks now on a custom install of XPSP2. I have been absolutely succesful in all the goalks that I set for my project except one... I can't seem to find a solution for it although I am very close now. What I have done to start with. I took XP with no SP at all VLK edition and slipped SP and all updates as of 08/01/2005 into a disk. Ran Setupmgr.exe and created a basic winnt.sif. Modified it with several entries from the unattended pdf (very nice file BTW!!!) and ran the driver packs from Bashrat version 5077 and have got it nicely setup. I will include file contents later in the post.

My issue is that other than picking a partition to install into I do not want to touch the machine at all. When it is at the desktop it is done. In and of itself this is not hard and I have succesfully done this very feat. My problem is that I want the disk to create an account called "User" with no PW at all. I found in M$ KB section a switch to remove the password for the lin of Net User User /add/Passwordreq:no and this works. When I make the disk and boot, it wants to try to login as Administrator. I tinker and try to change it a bit it then asks for a password from either User or Administrator.

I hope I wrote this clear enough... My goal is to create a account called User with no PW at all and have it go into this account every time after the install is done.

I also removed the autologin.reg file as it seemed to make matters worse. It got better after removal.

Thank you all in advance for your input on this matter!! Keep up the good work!

Contents of WINNT.SIF:

; Generated by nLite 1.0 beta 5

[Data]
MsDosInitiated = "No"
Autopartition = 0
UnattendedInstall = Yes

[Unattended]
OemPreinstall = "Yes"
UnattendMode = FullUnattended
UnattendSwitch = Yes
OemSkipEula = Yes
WaitForReboot = No
NoWaitAfterTextMode = 1
NoWaitAfterGUIMode = 1
TargetPath = Windows

[GuiUnattended]
AutoLogon = Yes
AutoLogonCount = 1
AdminPassword={removed for security reasons....}
EncryptedAdminPassword=Yes
TimeZone = 035
OEMSkipRegional = 1
OemSkipWelcome = 1

[Components]

[UserData]
ProductKey = "blah1-blah2-blah3-blah4-blah5"
ComputerName = *
FullName = *

[RegionalSettings]
Language = 0409

[Networking]
InstallDefaultComponents = Yes

[Identification]
JoinWorkgroup = workgroup

[GUIRunOnce]
command9 = "%SystemDrive%\D\BTS_DPs_finish.cmd"

Useraccounts.cmd:

net user User /add /passwordreq:no
net localgroup Administrators User /add
net accounts /maxpwage:unlimited
EXIT

Edited by baronvonfoxbat7734
Link to comment
Share on other sites


Useraccounts.cmd:

@echo off
net user "USER" /add
net localgroup Administrators "USER" /add
net accounts /maxpwage:unlimited
REGEDIT /S autologin.reg
EXIT

autologin.reg:

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon]
"DefaultUserName"="USER"
"AutoAdminLogon"="1"
"DefaultPassword"=""
"LogonType"=dword:00000000
"ForceAutoLogon"="1"

that works just fine if u just want one account called USER and to make it login automatically (forever untill u change that) without no password

-T

Link to comment
Share on other sites

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...