squallgreg Posted October 7, 2003 Posted October 7, 2003 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. 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 (I hope my english is not too bad)
pmcx9 Posted October 7, 2003 Posted October 7, 2003 in your $OEM$ directory place these two filescmdlines.txt[COMMANDS]".\installs.cmd"installs.cmdrem Change this usernameset _USER=********put your choice of username here**********net user %_USER% "" /add >nulnet 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" /fand make sure your winnt.sif has these lines in it amongst others;SetupMgrTag[Unattended] UnattendMode=FullUnattended UnattendSwitch="Yes" [Data] UnattendedInstall="Yes" [GuiUnattended] AdminPassword=* EncryptedAdminPassword=NOand 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
The Saint Posted October 7, 2003 Posted October 7, 2003 That's in $OEM$\$1\Install?Or just $OEM$? Will the changes like the regtweaks and OS apply also for this user?
Aaron Posted October 7, 2003 Posted October 7, 2003 just the $OEM$ folder.As for the Current User regtweaks - yes
pmcx9 Posted October 7, 2003 Posted October 7, 2003 $OEM$ and yes to regtweaks etc.DOH! your soooo quick AAron.May as well delete this post as just cluttering up now!
The Saint Posted October 7, 2003 Posted October 7, 2003 I might have to put a thanks in my sig for all the quick asner AaronXP gave me!
squallgreg Posted October 8, 2003 Author Posted October 8, 2003 Thanks a lot PMCX9. So how do I know that during the first boot, it'll log under this user account ?
pmcx9 Posted October 8, 2003 Posted October 8, 2003 It will, don't forget to put the name in that you want to create in the installs.cmd
squallgreg Posted October 8, 2003 Author Posted October 8, 2003 ImportantIf you are wish to silently install the extras, then add these lines to the [Unattended] section in your Winnt.sif now:[Unattended]OemPreinstall=YesUnattendSwitch="no"Found in http://www.MSFN.org/unattended/xp/winnt_sif.htm. But you wrote to use the value "Yes" for UnattendSwitch
pmcx9 Posted October 8, 2003 Posted October 8, 2003 UnattendSwitchSpecifies 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)
squallgreg Posted October 9, 2003 Author Posted October 9, 2003 Ok I chose "yes" for unattendswitch.And also under [GuiUnattended], I must remove autologon and logoncount, right ?
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now