Archive for category Unattended Windows 2003
XP/2003: Customize the Default user profile
Posted by Lars Krogh in Unattended Windows 2003, Unattended Windows XP on 11/08/2009
I use a lot of RegTweaks during base image builds.
Some I have from Kellys Korner – others from MSFN’s Unattended Windows guide
I import the RegTweaks (HKCU.reg, HKLM.reg, HKU.reg, NTUSER.reg and Winlogon.reg (created at runtime)) with this batch:
zCFG-Customize.bat
—code—
copy /Y “%0\..\HKCU.reg” “%SystemDrive%\Documents and Settings\Default User\”
copy /Y “%0\..\HKLM.reg” “%SystemDrive%\Documents and Settings\Default User\”
copy /Y “%0\..\HKU.reg” “%SystemDrive%\Documents and Settings\Default User\”
copy /Y “%0\..\NTUSER.reg” “%SystemDrive%\Documents and Settings\Default User\”
copy /Y “%0\..\XXXXX.bmp” “%WINDIR%\Web\Wallpaper\” & cd “%SystemDrive%\Documents and Settings\Default User\”
echo Windows Registry Editor Version 5.00> .\Winlogon.reg
echo.>> Winlogon.reg
echo [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon]>> .\Winlogon.reg
echo “LogonPrompt”=”DeployWindows.net: Install date %date%”>> .\Winlogon.reg
echo.>> .\Winlogon.reg
regedit /s .\Winlogon.reg
regedit /s .\HKCU.reg
regedit /s .\HKLM.reg
regedit /s .\HKU.reg
reg load HKLM\TempHive “%SystemDrive%\Documents and Settings\Default User\ntuser.dat”
regedit /s .\NTUSER.reg
reg unload HKLM\TempHive
del /Q .\Winlogon.reg
del /Q .\HKCU.reg
del /Q .\HKLM.reg
del /Q .\NTUSER.reg
del /Q .\HKU.reg
—code—
I place the files in %SCRIPTROOT%\Unattended\XP\
and
%SCRIPTROOT%\Unattended\2003\
XP/2003/2008/Vista/Win7: Rename the Administrator
Posted by Lars Krogh in Unattended Windows 2003, Unattended Windows 2008, Unattended Windows 7, Unattended Windows XP on 11/08/2009
I rename the Administrator account as part of my OS configuration steps (I use one username for my desktop installs and another username for my server installs).

These are the steps:
renuser Administrator “the-new-adminname” (download renuser from www.ntfaq.com)
reg ADD “HKLM\Software\Microsoft\Windows NT\CurrentVersion\Winlogon” /V DefaultUserName /T REG_SZ /F /D “the-new-adminname”
reg ADD “HKLM\Software\Microsoft\Windows NT\CurrentVersion\Winlogon” /V AltDefaultUserName /T REG_SZ /F /D “the-new-adminname”
net user /add Administrator “a-strong-password”
net user Administrator /active:no
XP/2003: Enabling the Classic Billboards
Posted by Lars Krogh in Unattended Windows 2003, Unattended Windows XP on 10/08/2009
In Windows setup I enabling the Classic Billboards – why? cause it’s old school and I like old school.
Here is the how-to:
In i386\ delete the files:
winntbbu.dll
winntbbu.dl_
Now edit txtsetup.sif.
Find all instances of winntbbu.dll, and delete the ENTIRE line that it’s on.
Do the same for the file dosnet.inf, and delete all instances winntbbu.dll you find in there as well.
XP/2003: Integrate driver for VMware SCSI Controller
Posted by Lars Krogh in Unattended Windows 2003, Unattended Windows XP on 10/08/2009
I build my base images in WMware Workstation (soon in MS Hyper-V).
Before building a Windows XP and Windows 2003 base image I integrate the VMware SCSI Controller driver into the original source files.
Here is the how-to:
1. Download driver
2. Makecab of *.inf, *.sys, *.cat
3. Drop files into \i386
4. Edit txtsetup.sif and Dosnet.inf
—txtsetup.sif start—
[SourceDisksFiles]
vmscsi.cat = 1,,,,,,,1,0,0
vmscsi.inf = 1,,,,,,,1,0,0
vmscsi.sys = 1,,,,,,,1,0,0
vmscsi.sys = 1,,,,,,4_,4,1,,,1,4
[HardwareIdsDatabase]
PCI\VEN_104B&DEV_1040 = “vmscsi”
[SCSI.load]
vmscsi = vmscsi.sys,4
[FileFlags]
vmscsi.sys = 16
[scsi]
vmscsi = “VMware SCSI Controller”
—txtsetup.sif end—
—Dosnet.inf start—
[FloppyFiles.1]
d1,vmscsi.sys
[Files]
d1,vmscsi.cat
d1,vmscsi.inf
d1,vmscsi.sys
—Dosnet.inf end—
