Jump to content

Recommended Posts

Posted

Hi everyone, and thank you for all the good work. I've almost done my unattend CD with extras.

Actually, I have only one batch file called by GuiRunOnce. I extracted the main lines of my .bat file (which does all the tweaks I need) (in this order) :

- Removing wallpapers, shortcuts and useless screensavers...

- Replacing uxtheme and SFC_OS...

- Applying Registry Tweaks...

- Installing Winrar 3.1b5

- Installing DirectX 9.0b...

- Applying SP2 Hotfixes and patches... (30 hotfixes with switches)

- Removing useless folders... (ex: RMDIR "%systemdrive%\Program Files\chat" /S /Q)

I think I need to create my user account before installing Winrar and the registry tweaks. I browsed the tutorial and the forums but I didnt find anything clear about it. :D

And I'd like to know if its possible to modify only a couple of files on a CDRW without having to go over all the process : copy all files on the HD, paste the modified versions of the files and burn again the damned boot CD :) ...

Thanx for any help :rolleyes:

(I hope my english is not too bad)


Posted

in your $OEM$ :) directory place these two files

cmdlines.txt

[COMMANDS]
".\installs.cmd"

installs.cmd

rem Change this username
set _USER=********put your choice of username here**********
net user %_USER% "" /add >nul
net localgroup administrators "%_USER%" /add>nul
%SystemRoot%\system32\reg add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" /v "DefaultUserName" /d "%_USER%" /f
%SystemRoot%\system32\reg add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" /v "DefaultUserPassword" /d "" /f
%SystemRoot%\system32\reg add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" /v "AutoAdminLogon" /d "1" /f

and make sure your winnt.sif has these lines in it amongst others

;SetupMgrTag
[Unattended]
   UnattendMode=FullUnattended
   UnattendSwitch="Yes"
 
[Data]
   UnattendedInstall="Yes"
   
[GuiUnattended]
   AdminPassword=*
   EncryptedAdminPassword=NO

and this should auto create a user for you.

I leave all my files on the hard disk and alter them there and burn to a 24speed rewritable when needed

Posted

UnattendSwitch

Specifies whether Setup skips Windows Welcome or Mini-Setup when preinstalling Windows XP Home Edition or Windows XP Professional using the CD Boot method

(Mini-Setup is where you input your user names, so it also has no connection)

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