Jump to content

Look over my code


Recommended Posts

I'm nearing my final unattended XP CD build, and I'd like all you wizards to go over my code, make any suggestions, etc. :)

winnt.sif

;SetupMgrTag
[Data]
   AutoPartition=1
   MsDosInitiated="0"
   UnattendedInstall="Yes"

[Unattended]
   UnattendMode=FullUnattended
   OemSkipEula=Yes
   OemPreinstall=Yes
   TargetPath=\Windows
   Repartition=Yes
   FileSystem=ConvertNTFS
   WaitForReboot=No
   UnattendSwitch=Yes
   OemFilesPath="..\$OEM$"
   DriverSigningPolicy=Ignore
   OEMPnPDriversPath="Drivers\Ess\Modem\;Drivers\Nvidia\Video\;Drivers\Creative\Sound\"
   Hibernation = No

[GuiUnattended]
   AdminPassword=*
   EncryptedAdminPassword=NO
   OEMSkipRegional=1
   TimeZone=4
   OemSkipWelcome=1

[UserData]
   ProductID=*****-*****-*****-*****-*****
   FullName="Valkyre"
   OrgName="altStudio"
   ComputerName=ALT-WORKSTATION

[Display]
   BitsPerPel=32
   Xresolution=1152
   YResolution=864
   Vrefresh=75

[TapiLocation]
   CountryCode=1
   AreaCode=***

[RegionalSettings]
   LanguageGroup=1

[Identification]
   JoinWorkgroup=ALTSTUDIO

[Networking]
   InstallDefaultComponents=Yes

[Components]
   msnexplr=off
   msmsgs=off
   fp_extensions=off
   fp_vdir_deploy=off
   freecell=off
   hearts=off
   indexsrv_system=off
   media_clips=off
   minesweeper=off
   pinball=off
   solitaire=off
   spider=off
   zonegames=off
   indexsrv_system=off
   fp_extensions=off

[Branding]
   BrandIEUsingUnattended=Yes
   IEBrandingFile = install.ins

[URL]
   Home_Page=about:blank

[Shell]
   CustomDefaultThemeFile = "%WinDir%\Resources\Themes\Classic.theme"

[GUIRunOnce]
   %systemdrive%\Install\main_batch.cmd

main_batch.cmd

CLS
@echo off

ECHO Adding User "Valkyre"
net user Valkyre /add
net localgroup "administrators" Valkyre /add
net localgroup "users" Valkyre /delete
net user administrator /active:no
ECHO.

REGEDIT /S %systemdrive%\Install\user.reg

ECHO Removing Wallpapers...
DEL "%systemroot%\Blue Lace 16.bmp"
DEL "%systemroot%\Coffee Bean.bmp"
DEL "%systemroot%\FeatherTexture.bmp"
DEL "%systemroot%\Gone Fishing.bmp"
DEL "%systemroot%\Greenstone.bmp"
DEL "%systemroot%\Prairie Wind.bmp"
DEL "%systemroot%\Rhododendron.bmp"
DEL "%systemroot%\River Sumida.bmp"
DEL "%systemroot%\Santa Fe Stucco.bmp"
DEL "%systemroot%\Soap Bubbles.bmp"
DEL "%systemroot%\Zapotec.bmp"
DEL "%systemroot%\Web\Wallpaper\Crystal.jpg"
DEL "%systemroot%\Web\Wallpaper\Friend.jpg"
DEL "%systemroot%\Web\Wallpaper\Home.jpg"
DEL "%systemroot%\Web\Wallpaper\Moon flower.jpg"
DEL "%systemroot%\Web\Wallpaper\Peace.jpg"
DEL "%systemroot%\Web\Wallpaper\Power.jpg"
DEL "%systemroot%\Web\Wallpaper\Purple flower.jpg"
DEL "%systemroot%\Web\Wallpaper\Radiance.jpg"
DEL "%systemroot%\Web\Wallpaper\Ripple.jpg"
DEL "%systemroot%\Web\Wallpaper\Stonehenge.jpg"
DEL "%systemroot%\Web\Wallpaper\Vortec space.jpg"
DEL "%systemroot%\Web\Wallpaper\Ascent.jpg"
DEL "%systemroot%\Web\Wallpaper\Autumn.jpg"
DEL "%systemroot%\Web\Wallpaper\Azul.jpg"
DEL "%systemroot%\Web\Wallpaper\Follow.jpg"
DEL "%systemroot%\Web\Wallpaper\Red moon desert.jpg"
DEL "%systemroot%\Web\Wallpaper\Tulips.jpg"
DEL "%systemroot%\Web\Wallpaper\Wind.jpg"
ECHO.

ECHO Removing useless shortcuts...
DEL "%systemdrive%\Documents and Settings\All Users\Start Menu\Windows Update.lnk"
DEL "%systemdrive%\Documents and Settings\All Users\Start Menu\Set Program Access and Defaults.lnk"
DEL "%systemdrive%\Documents and Settings\All Users\Start Menu\Windows Catalog.lnk"
ECHO.

ECHO Removing Screensavers...
DEL "%systemroot%\system32\dllcache\scrnsave.scr"
DEL "%systemroot%\system32\dllcache\ss3dfo.scr"
DEL "%systemroot%\system32\dllcache\ssbezier.scr"
DEL "%systemroot%\system32\dllcache\ssflwbox.scr"
DEL "%systemroot%\system32\dllcache\ssmarque.scr"
DEL "%systemroot%\system32\dllcache\ssmypics.scr"
DEL "%systemroot%\system32\dllcache\ssmyst.scr"
DEL "%systemroot%\system32\dllcache\sspipes.scr"
DEL "%systemroot%\system32\dllcache\ssstars.scr"
DEL "%systemroot%\system32\dllcache\sstext3d.scr"
DEL "%systemroot%\system32\scrnsave.scr"
DEL "%systemroot%\system32\ss3dfo.scr"
DEL "%systemroot%\system32\ssbezier.scr"
DEL "%systemroot%\system32\ssflwbox.scr"
DEL "%systemroot%\system32\ssmarque.scr"
DEL "%systemroot%\system32\ssmypics.scr"
DEL "%systemroot%\system32\ssmyst.scr"
DEL "%systemroot%\system32\sspipes.scr"
DEL "%systemroot%\system32\ssstars.scr"
DEL "%systemroot%\system32\sstext3d.scr"
ECHO.

ECHO Deleting Shared Documents Files
DEL /Q "%systemdrive%\Documents and Settings\All Users\Documents\My Music\*.*"
DEL /Q "%systemdrive%\Documents and Settings\All Users\Documents\My Pictures\*.*"
ECHO.

COPY "%systemdrive%\Install\Classic.theme" "%systemroot%\Resources\Themes\"

ECHO Installing DirectX 9.0b
ECHO Please wait...
start /wait %systemdrive%\Install\DX9b\dxsetup.exe /opk
ECHO.

ECHO Installing Windows Media Player 9
ECHO Please wait...
start /wait %systemdrive%\Install\WMP9\wmp9.exe /Q:A /R:N
ECHO.

ECHO Installing Firebird 0.6
MD "%systemdrive%\Program Files\Firebird\"
XCOPY /S /E "%systemdrive%\Programs\Firebird" "%systemdrive%\Program Files\Firebird\"
ECHO.

ECHO Installing Thunderbird 0.2
MD "%systemdrive%\Program Files\Thunderbird\"
XCOPY /S /E "%systemdrive%\Programs\Thunderbird" "%systemdrive%\Program Files\Thunderbird\"
ECHO.

ECHO Installing Miranda IM 0.3.1
MD "%systemdrive%\Program Files\Miranda IM\"
XCOPY /S /E "%systemdrive%\Programs\Miranda IM" "%systemdrive%\Program Files\Miranda IM\"
ECHO.

ECHO Installing Default Wallpapers
MD "%systemroot%\Wallpapers\"
XCOPY /S /E "%systemdrive%\Install\Wallpapers\" "%systemroot%\Wallpapers\"
ECHO.

REGEDIT /S %systemdrive%\Install\regtweaks.reg

ECHO Deleting Temporary Installation Files...
RMDIR /S /Q %systemdrive%\Install\
RMDIR /S /Q %systemdrive%\Programs\
RMDIR /S /Q %systemdrive%\Drivers\
ECHO.

ECHO Restarting the sytem in 1 minute...
shutdown -r -f -t 60 -c "Windows XP will now restart in 1 minute"
ECHO.

EXIT

user.reg

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon]
"DefaultUserName"="Valkyre"
"DefaultPassword"=""
"AutoAdminLogon"="1"

regtweaks.reg

Windows Registry Editor Version 5.00

;Disables Windows Tour bubble popup
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Applets\Tour]
"RunCount"=dword:00000000
[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Applets\Tour]
"RunCount"=dword:00000000

;Disable thumbnail cache
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced]
"DisableThumbnailCache"=dword:00000001

;Disable StickyKeys
[HKEY_CURRENT_USER\Control Panel\Accessibility\StickyKeys]
"Flags"="506"

;Disable Desktop Cleanup Wizard
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Desktop\CleanupWiz]
"NoRun"=dword:00000001

;Disable highlighting of new programs
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer]
"Start_NotifyNewApps"=dword:00000000

;Use small icons for start menu programs
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced]
"Start_LargeMFUIcons"=dword:00000000
"Start_MinMFU"=dword:0000000a

;Disable automatic restart in the event of a BSOD
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\CrashControl]
"AutoReboot"=dword:00000000

;Disable Error Reporting
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\PCHealth\ErrorReporting]
"AllOrNone"=dword:00000001
"DoReport"=dword:00000000
"IncludeKernelFaults"=dword:00000000
"IncludeMicrosoftApps"=dword:00000000
"IncludeWindowsApps"=dword:00000000
"ShowUI"=dword:00000000

;Disable Windows Time service
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time]
"Start"=dword:00000004

;Remove shortcut arrows
[HKEY_CLASSES_ROOT\lnkfile]
"IsShortcut"=-

;Speed up NTFS
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem]
"NtfsDisable8dot3NameCreation"=dword:00000001
"Win31FileSystem"=dword:00000000
"Win95TruncatedExtensions"=dword:00000001
"NtfsDisableLastAccessUpdate"=dword:00000001

;RAM usage tweaks
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management]
"DisablePagingExecutive"=dword:00000001
"LargeSystemCache"=dword:00000001
"IoPageLockLimit"=dword:1bf00000
"SecondLevelDataCache"=dword:00000100

;Prefetcher tweak
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management\PrefetchParameters]
"EnablePrefetcher"=dword:00000003

;Changes Windows Driver Signing Policy 'prompt' to 'ignore'
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Driver Signing]
"Policy"=hex:00

;Disable System Restore
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SystemRestore]
"DisableSR"=dword:00000001

;Disable Remote Assistance
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server]
"fDenyTSConnections"=dword:00000001
"fAllowToGetHelp"=dword:00000000

;Disable autoupdates
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU]
"NoAutoUpdate"=dword:00000001

;Disable autoupdates
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update]
"AUOptions"=dword:00000001
"AUState"=dword:00000007

;Disable QoS
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Psched]
"NonBestEffortLimit"=dword:00000000

;Disable low disk space check
[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer]
"NoLowDiskSpaceChecks"=dword:00000001

;IE stuff
[HKEY_LOCAL_MACHINE\Software\Microsoft\Internet Explorer\Main]
"ShowGoButton"="no"
"NotifyDownloadComplete"="no"

;Disable Windows File Protection
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon]
"SFCDisable"=dword:ffffff9d

;Speed-up access to AVI media files
[-HKEY_CLASSES_ROOT\CLSID\{87D62D94-71B3-4b9a-9489-5FE6850DC73E}]

;Speed up NTFS
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem]
"Win31FileSystem"=dword:00000000
"Win95TruncatedExtensions"=dword:00000001
"NtfsDisableLastAccessUpdate"=dword:00000001

;Speed up shutdown
[HKEY_CURRENT_USER\Control Panel\Desktop]
"HungAppTimeout"="2000"
"WaitToKillAppTimeout"="1000"

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control]
"WaitToKillServiceTimeout"="1000"

;Do not receive media player licences
[HKEY_CURRENT_USER\Software\Microsoft\MediaPlayer\Preferences]
"SilentAcquisition"=dword:00000000

;Disable media player identification through internet sites
[HKEY_CURRENT_USER\Software\Microsoft\MediaPlayer\Preferences]
"SendUserGUID"=dword:00000000

;Disable automatic codec downloads
[HKEY_CURRENT_USER\Software\Microsoft\MediaPlayer\Preferences]
"UpgradeCodecPrompt"=dword:00000000

;Do not synchronize time via internet
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\Parameters]
"Type"="NoSync"

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Applets\SysTray]
"Services"=dword:0000001b

;Disable ALL BalloonTips
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced]
"EnableBalloonTips"=dword:00000000

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced]
"FolderContentsInfoTip"=dword:00000000

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\tips]
"Show"=dword:00000000

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced]
"StartButtonBalloonTip"=dword:00000000

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced]
"ShowInfoTip"=dword:00000000

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer]
"NoSMBalloonTip"=dword:00000000

;Open 16-bit applications in a seperate memory space
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\WOW]
"DefaultSeparateVDM"="Yes"

;Enable boot optimization when defragging
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Dfrg\BootOptimizeFunction]
"Enable"="Y"

;Set Notepad preferences
[HKEY_CURRENT_USER\Software\Microsoft\Notepad]
"fWrap"=dword:00000001
"StatusBar"=dword:00000000
"lfFaceName"="Verdana"

;Remove "Shotcut to..." in new shorcuts
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer
"Link"=hex:00,00,00,00

;Disable the "search-dog" assistant
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\CabinetState]
"Use Search Asst"="no

;Show "Connect To..." menu
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced]
"Start_ShowNetPlaces"=dword:00000001
"CascadeNetworkConnections"="YES"
"Start_ShowNetConn_ShouldShow"=dword:00000042
"Start_ShowNetConn"=dword:00000002

;Disable Autorun
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Cdrom]
"AutoRun"=dword:00000000

;Disable ALL visual effects
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\VisualEffects]
"VisualFXSetting"=dword:00000002

;Configure Start Menu
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced]
"Hidden"=dword:00000002
"ShowCompColor"=dword:00000001
"HideFileExt"=dword:00000001
"DontPrettyPath"=dword:00000000
"ShowInfoTip"=dword:00000001
"HideIcons"=dword:00000000
"MapNetDrvBtn"=dword:00000000
"WebView"=dword:00000000
"Filter"=dword:00000000
"SuperHidden"=dword:00000000
"ListviewAlphaSelect"=dword:00000000
"ListviewShadow"=dword:00000000
"ListviewWatermark"=dword:00000000
"TaskbarAnimations"=dword:00000000
"StartMenuInit"=dword:00000002
"StartButtonBalloonTip"=dword:00000002
"Start_ShowNetPlaces"=dword:00000001
"Start_LargeMFUIcons"=dword:00000000
"Start_MinMFU"=dword:00000000
"Start_ShowControlPanel"=dword:00000001
"Start_EnableDragDrop"=dword:00000001
"StartMenuFavorites"=dword:00000000
"Start_ShowHelp"=dword:00000001
"Start_ShowMyComputer"=dword:00000001
"Start_ShowMyDocs"=dword:00000001
"Start_ShowMyMusic"=dword:00000001
"Start_ShowMyPics"=dword:00000001
"Start_ShowPrinters"=dword:00000001
"Start_ShowRun"=dword:00000001
"Start_ScrollPrograms"=dword:00000000
"Start_ShowSearch"=dword:00000001
"Start_ShowRecentDocs"=dword:00000000
"Start_AutoCascade"=dword:00000001
"Start_NotifyNewApps"=dword:00000000
"Start_AdminToolsRoot"=dword:00000000
"StartMenuAdminTools"=dword:00000000
"TaskbarSizeMove"=dword:00000000
"TaskbarGlomming"=dword:00000001
"Start_ShowNetConn"=dword:00000001
"NoNetCrawling"=dword:00000001
"FolderContentsInfoTip"=dword:00000001
"FriendlyTree"=dword:00000001
"WebViewBarricade"=dword:00000000
"DisableThumbnailCache"=dword:00000001
"ShowSuperHidden"=dword:00000000
"ClassicViewState"=dword:00000000
"PersistBrowsers"=dword:00000000

;Configure Services
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Alerter]
"Start"=dword:00000004

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\ALG]
"Start"=dword:00000003

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\AppMgmt]
"Start"=dword:00000003

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\AudioSrv]
"Start"=dword:00000002

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\BITS]
"Start"=dword:00000004

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Browser]
"Start"=dword:00000004

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\cisvc]
"Start"=dword:00000004

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\ClipSrv]
"Start"=dword:00000004

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\COMSysApp]
"Start"=dword:00000003

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\CryptSvc]
"Start"=dword:00000002

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Dhcp]
"Start"=dword:00000002

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\dmadmin]
"Start"=dword:00000003

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\dmserver]
"Start"=dword:00000003

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Dnscache]
"Start"=dword:00000002

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\ERSvc]
"Start"=dword:00000004

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Eventlog]
"Start"=dword:00000002

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\EventSystem]
"Start"=dword:00000003

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\FastUserSwitchingCompatibility]
"Start"=dword:00000003

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\helpsvc]
"Start"=dword:00000004

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\HidServ]
"Start"=dword:00000004

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\ImapiService]
"Start"=dword:00000003

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\lanmanserver]
"Start"=dword:00000004

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\lanmanworkstation]
"Start"=dword:00000002

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LmHosts]
"Start"=dword:00000004

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Messenger]
"Start"=dword:00000004

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\mnmsrvc]
"Start"=dword:00000004

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MSDTC]
"Start"=dword:00000003

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MSIServer]
"Start"=dword:00000003

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\NetDDE]
"Start"=dword:00000004

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\NetDDEdsdm]
"Start"=dword:00000004

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Netlogon]
"Start"=dword:00000003

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Netman]
"Start"=dword:00000003

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Nla]
"Start"=dword:00000003

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\NtLmSsp]
"Start"=dword:00000004

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\NtmsSvc]
"Start"=dword:00000003

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\NVSvc]
"Start"=dword:00000004

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\PlugPlay]
"Start"=dword:00000002

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\PolicyAgent]
"Start"=dword:00000004

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\ProtectedStorage]
"Start"=dword:00000002

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\RasAuto]
"Start"=dword:00000003

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\RasMan]
"Start"=dword:00000003

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\RDSessMgr]
"Start"=dword:00000004

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\RemoteAccess]
"Start"=dword:00000004

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\RemoteRegistry]
"Start"=dword:00000004

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\RpcLocator]
"Start"=dword:00000003

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\RpcSs]
"Start"=dword:00000002

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\RSVP]
"Start"=dword:00000004

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SamSs]
"Start"=dword:00000002

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SCardDrv]
"Start"=dword:00000004

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SCardSvr]
"Start"=dword:00000004

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Schedule]
"Start"=dword:00000002

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\seclogon]
"Start"=dword:00000004

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SENS]
"Start"=dword:00000002

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SharedAccess]
"Start"=dword:00000002

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\ShellHWDetection]
"Start"=dword:00000002

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Spooler]
"Start"=dword:00000004

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\srservice]
"Start"=dword:00000004

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SSDPSRV]
"Start"=dword:00000004

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\stisvc]
"Start"=dword:00000004

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SwPrv]
"Start"=dword:00000004

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SysmonLog]
"Start"=dword:00000004

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\TapiSrv]
"Start"=dword:00000003

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\TermService]
"Start"=dword:00000003

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Themes]
"Start"=dword:00000003

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\TlntSvr]
"Start"=dword:00000004

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\TrkWks]
"Start"=dword:00000003

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\uploadmgr]
"Start"=dword:00000004

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\upnphost]
"Start"=dword:00000004

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\UPS]
"Start"=dword:00000004

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\VSS]
"Start"=dword:00000004

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time]
"Start"=dword:00000004

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\WebClient]
"Start"=dword:00000004

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\winmgmt]
"Start"=dword:00000002

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\WmdmPmSN]
"Start"=dword:00000004

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Wmi]
"Start"=dword:00000003

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\WmiApSrv]
"Start"=dword:00000004

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\wuauserv]
"Start"=dword:00000004

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\WZCSVC]
"Start"=dword:00000004

Link to comment
Share on other sites


Let me ask you one thing. when U say:

%systemdrive%\Install\main_batch.cmd

In what folder of the cd do you put the batch?

I can't to understand where does %systemdrive%\Install\ is actually...

Hope for reply.. tnks

Link to comment
Share on other sites

Let me ask you one thing. when U say:

%systemdrive%\Install\main_batch.cmd

In what folder of the cd do you put the batch?

I can't to understand where does %systemdrive%\Install\ is actually...

Hope for reply.. tnks

On the root of the CD, my OEM folder structure looks something like this...

$OEM$\

$OEM$\$1\

$OEM$\$1\Drivers\

$OEM$\$1\Drivers\Creative\Sound\

$OEM$\$1\Drivers\Ess\Modem\

$OEM$\$1\Drivers\Nvidia\Video\

$OEM$\$1\Install\

$OEM$\$1\Install\DX9b\

$OEM$\$1\Install\JavaVM\

$OEM$\$1\Install\WMP9\

$OEM$\$1\Install\Wallpapers\

$OEM$\$1\Programs\

$OEM$\$1\Programs\Firebird\

$OEM$\$1\Programs\Thunderbird\

$OEM$\$1\Programs\Miranda IM\

Your $OEM$ directory should be placed on the root of the CD, like say D: was your CD drive letter, your path would look like D:\$OEM\$1\

**EDIT**

I should also add, that anything inside your $OEM$\$1\ folder will be copied to your hard drive, on the root of the drive. (ex. C:)

Link to comment
Share on other sites

;Speed up NTFS

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem]

"NtfsDisable8dot3NameCreation"=dword:00000001 = dangerous and breaks regression and some ntfs regression compatibility with non 2k/xp certified and ntfs aware applications

"Win31FileSystem"=dword:00000000 = safe

"Win95TruncatedExtensions"=dword:00000001 = dangerous and breaks regression compatibility only for use with 2k and xp certified apps

"NtfsDisableLastAccessUpdate"=dword:00000001 = safe

;RAM usage tweaks

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management]

"DisablePagingExecutive"=dword:00000001 = safe with non ati video drivers

"LargeSystemCache"=dword:00000001 = safe with non ati video drivers

"IoPageLockLimit"=dword:1bf00000 = unneccessary with the kernal update 820128 and can cause memory starvation in low/mid memory systems under 1gb

"SecondLevelDataCache"=dword:00000100 = safe

;Prefetcher tweak

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management\PrefetchParameters]

"EnablePrefetcher"=dword:00000003 = unnecessary, set by guisetup to default, interloks to ntfs journaling and index manager = do not disable it

Link to comment
Share on other sites

This is the full components listing of what you would want to consider when turning components on and off from the install phase

enjoy

[Components]

AccessOpt = On

Appsrv_console = On

Aspnet = On

AutoUpdate = On

BitsServerExtensionsISAPI = On

BitsServerExtensionsManager = On

Calc = On

Certsrv = On

Certsrv_client = On

Certsrv_server = On

Charmap = On

Chat = On

Clipbook = On

Complusnetwork = On

Deskpaper = On

Dialer = On

Dtcnetwork = On

Fax = On

Fp_extensions = On

Fp_vdir_deploy = On

Freecell = On

Hearts = On

Hypertrm = On

IEAccess = On

Iis_asp = On

Iis_common = On

Iisdbg = On

Iis_ftp = On

Iis_htmla = On

Iis_doc = On

Iis_inetmgr = On

Iis_internetdataconnector = On

Iis_nntp = On

Iis_pwmgr = On

Iis_serversideincludes = On

Iis_smtp = On

Iis_smtp_docs = On

Iis_webadmin = On

Iis_webdav = On

Iis_www = On

Iis_www_vdir_printers = On

Iis_www_vdir_scripts = On

Iis_www_vdir_terminalservices = On

Indexsrv_system = On

Inetprint = On

Licenseserver = On

Media_clips = On

Media_utopia = On

Minesweeper = On

Mousepoint = On

Msmq_ADIntegrated = On

Msmq_Core = On

Msmq_HTTPSupport = On

Msmq_LocalStorage = On

Msmq_MQDSService = On

Msmq_RoutingSupport = On

Msmq_TriggersService = On

Msnexplr = On

Mswordpad = On

Netcis = On

Netoc = On

Objectpkg = On

OEAccess = On

Paint = On

Pinball = On

Pop3Admin = On

Pop3Service = On

Pop3Srv = On

Rec = On

Reminst = On

Rootautoupdate = On

Rstorage = On

Solitaire = On

Spider = On

Templates = On

TerminalServer = On

TSWebClient = On

Vol = On

WBEMSNMP = On

WMAccess = On

WMPOCM = On

Zonegames = On

Link to comment
Share on other sites

valkyre

I see you used the net user command to create a new user, this does not seem to have a password but you use the automatice logon registry script later in your setup, i dont think it is neccessary, because windows xp will automatically login the first account that is not the administrator account. Please check that..

Link to comment
Share on other sites

sunil: you are quite correct, as long as the admin account does not appear on the welcom screen and as long as there is only one user the system will automatically logon.

on a side note

if you ceate a user called System before your first logon ie: in your cmdlines.txt cmd script the system will auto logon without the admin account without the need for it to be set in winnt.sif and it will also show on welcome screen<<<------ completly useless i agree but informative non the less

Link to comment
Share on other sites

Quick question. (didn't want to start another thread)

Should I just remove the "AutoAdminLogon=1" line from my user.reg file? Or should I remove the user.reg file altogether?

The AutoAdminLogon will only work the first time you start windows, but if no user account is created beside that one, it will continue to work, as for the removal of the reg file, this not necessary because it will lon the first time for you and all the other times after that, until you create another user account...

Link to comment
Share on other sites

Looks really nice!

Question; Is there a complete list of commands that is OK to use in the winnt.sif?

And which command go under which heading?

Curious as usual  :)

/ SwedenXP

Have a look in deploy.cab under support\tools on ur XP CD, there is a ref.chm file , it contains all information u would need :rolleyes:

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