MSFN Forum: The Art of OEM - nLite & OEM Preinstallation - MSFN Forum

Jump to content


  • 8 Pages +
  • 1
  • 2
  • 3
  • Last »
  • You cannot start a new topic
  • You cannot reply to this topic

The Art of OEM - nLite & OEM Preinstallation Part 6: Windows Deployment Services / Server 2008 Rate Topic: -----

Poll: Your opinion goes here (138 member(s) have cast votes)

Would you like for Windows Designer Studio to perform most of the operations described in this guide?

  1. Yes, and I want more features too! (67 votes [73.63%])

    Percentage of vote: 73.63%

  2. Yes (13 votes [14.29%])

    Percentage of vote: 14.29%

  3. No, I'd rather stick with the plain old Windows Setup routine. (4 votes [4.40%])

    Percentage of vote: 4.40%

  4. No, it's just a waste of time; nLite/vLite will always be enough for my needs. (7 votes [7.69%])

    Percentage of vote: 7.69%

Now that this guide is complete, are you happy with its contents?

  1. Yes, it's a great idea! (61 votes [67.03%])

    Percentage of vote: 67.03%

  2. Somewhat, I used some of the things described here. (19 votes [20.88%])

    Percentage of vote: 20.88%

  3. Probably, but it is too complex for me to handle. (7 votes [7.69%])

    Percentage of vote: 7.69%

  4. No (4 votes [4.40%])

    Percentage of vote: 4.40%

Which of these should benefit you the most and you'd like to see first in Windows Designer Studio? (more details soon)

  1. Windows Setup SDK (Panther Engine) - WIM capture, Setup customization and ISO making, like in Parts 3 and 4 (43 votes [56.58%])

    Percentage of vote: 56.58%

  2. VKEY Explorer - an advanced tool to design the registry of the OS you are designing (5 votes [6.58%])

    Percentage of vote: 6.58%

  3. Package Designer - a set of diff and compression tools to allow you to author/create/add/remove windows components and preinstalled apps (18 votes [23.68%])

    Percentage of vote: 23.68%

  4. VM Workbench - an extension for the free VMware Player product to test the results of your work before finalizing (10 votes [13.16%])

    Percentage of vote: 13.16%

Vote Guests cannot vote

#1 User is offline   dexter.inside 

  • reverse engineering guru
  • PipPipPip
  • Group: Members
  • Posts: 331
  • Joined: 19-October 06

  Posted 25 March 2007 - 11:37 PM

Introduction
HTML Version, PDF Version

- Part 1 covers the creation of your base install. In it you will learn how to create a lab environment, personalize Windows with nLite and test it in a controlled environment.

- Part 2 covers Microsoft Sysprep and resealing the nLited OS to make it ready for the end-user.

- Part 3 covers my research concerning imaging and V2P (virtual-to-physical) migration and imaging, the reverse process for VMware P2V.

- Part 4 covers various means of deploying the customized OS.

- Part 5 is a quick guide for workstations, covering concepts detailed in parts 1 and 2.

- Part 6 (latest) "Heroes Happen Here"

This post has been edited by dexter.inside: 05 April 2008 - 04:22 PM



#2 User is offline   dexter.inside 

  • reverse engineering guru
  • PipPipPip
  • Group: Members
  • Posts: 331
  • Joined: 19-October 06

Posted 25 March 2007 - 11:40 PM

Part 1 - The Base Install
Featured: Windows 2003 Small Business Server

I will be using in this tutorial my own copy of Windows 2003 Small Business Server Edition, which is the most complex scenario that I could think of. Doing the same with Windows XP is much simpler. I chose SBS and, subsequently, WHS because they fit best the purpose of this 4-part guide. First, it involves many components that cannot be slipstreamed through unattended install. Second, it is one of the most undocumented SKUs of NT 5.2 up-to-date. Third, I want to demonstrate how to integrate a service pack, R2, Media Center 2005 (codenamed Freestyle), and Home Server (codenamed Quattro) on your installation media with minimal or no installation time penalties.

1.1. A few things you should know before starting

For Part 1, I have used the following:

- Windows 2003 Small Business Server Edition, build 3790.0, 3 CDs
- Windows 2003 R2 for SBS
- Windows 2003 Service Pack 2, standalone update pack (build 3790.3959)
- VMware Workstation 6
- nLite 1.3.0.4
- Business Desktop Deployment 2007 v3.0.141.0
- Total Commander 7

Also, I use these terms:

- technician's computer, the computer you are
using to modify the OS.
- distribution share, the folder (shared over intranet or not) that contains the OS files and folders. In this example, I:\temp\SBS
- lab, the computer that is used to test the OS, either physical or virtual.
- host, a physical machine that hosts one or more virtual machines. In my case, the technician's computer.
- guest, a virtual machine that is hosted by the host computer. In my case, the same as the lab computer.

It is a common OEM practice to use more than one computer for doing this. Because I know most of you do not have a domain server / home server or at least 2-3 computers available, this tutorial was done on only one computer.
Please remember that Windows Deployment Services through PXE boot, and not removable media, is the quickest solution in most of real scenarios.
1.2. The Distribution Share

Make sure you have enough space on the partition you are using. For this scenario, you will need 3 Gb of free space. I am doing the entire tutorial in a folder named I:\temp, which is physically a dynamic spanned partition with striping. RAID is by far the best choice. If your hard drive is slow, the operations described here will take a long time. Remember, snacks are good for you only with moderation.

First, you will have to add the files and folders from all the media in your distribution share. Mine is named I:\temp\SBS.

Posted Image
Picture 1 - Windows 2003 SBS CD1

Posted Image
Picture 2 - required from Windows 2003 SBS CD2

Posted Image
Picture 3 - required from Windows 2003 SBS CD3


Afterwards, also add R2. It is a common mistake to presume that R2 is SKU-independent. Each Server 2003 edition has its own R2. For example, in Picture 3 you can see the R2 for Enterprise Edition. You cannot use it with SBS.

Posted Image
Picture 4 - Windows 2003 R2

Note that it contains a file called WIN52IA.R2, "ia" meaning Enterprise Edition. You can see the SKU in SLIPSTREAM.INF. The correct R2 for SBS should contain "il", like in Picture 5.
Posted Image
Picture 5 - SLIPSTREAM.INF, for SBS


This is the resulting distribution share.
Posted Image
Picture 6 - My Distribution Share

1.3. nLite the Distribution Share (1)

Even if there are other methods of slipstreaming a service pack, doing
it with nLite certainly looks better. In case your edition is not
already slipsteamed, use this:
Posted Image
Picture 7 - Service Pack 2


So, here goes:
Posted Image
Picture 8 - nLite Welcome Screen


Select your distribution share in nLite:
Posted Image
Picture 9 - Windows Installation Location


You will need nLite twice, first with these 2 options.
Posted Image
Picture 11 - Task selection

This post has been edited by dexter.inside: 28 May 2007 - 10:32 AM


#3 User is offline   dexter.inside 

  • reverse engineering guru
  • PipPipPip
  • Group: Members
  • Posts: 331
  • Joined: 19-October 06

Posted 25 March 2007 - 11:42 PM

Here you select the location of the Service Pack
Posted Image
Picture 12 - Service Pack


Which will produce a warning, because there are some leftovers on the SBS I used.

Posted Image
Picture 13 - Warning

Posted Image
Picture 14 - Location of Service Pack

Posted Image
Picture 15 - Extracting files

Posted Image
Picture 16 - Update share

Posted Image
Picture 17 - Finished

The slipstream process has updated the distribution share. Service Pack 2 covers all the hotfixes for Server 2003. Besides it, you may need Terminal Services Client 6.0 and Internet Explorer 7.

You must slipstream SP2 in a non-trial edition of Server 2003 (either gold or SP1). The process will not work if the trial 360-day timebomb is present. Also, you have to do the slipstreaming before adding any other hotfixes / add-ons.

You can see here the build version for Service Pack 2 - v3959, information updated in nLite after slipstream. Windows Server 2003 is NT 5.2 build 3790.

Posted Image
Picture 18 - Status in nLite

You can now continue with other stuff.

Posted Image
Picture 19 - Add-ons

Posted Image
Picture 20 - Choose the add-on


In this tutorial, I've added just IE7. Remember, adding stuff this way will increase setup time. In Part 2 of this tutorial, I will describe a more efficient way to add stuff to your OEM image, with little or no install-time penalty, even for dozens of programs. The "vanilla" unattended method used by nLite was introduced several years ago when there were no other alternatives available.

Posted Image
Picture 21 - Internet Explorer 7

This post has been edited by dexter.inside: 28 May 2007 - 10:31 AM


#4 User is offline   dexter.inside 

  • reverse engineering guru
  • PipPipPip
  • Group: Members
  • Posts: 331
  • Joined: 19-October 06

Posted 25 March 2007 - 11:42 PM

Posted Image
Picture 22 - Advanced Options

Posted Image
Picture 23 - Perform Operations

Posted Image
Picture 24 - Finished

Posted Image
Picture 25 - The Result


At this point I also add extra stuff:
Posted Image
Picture 26 - Extra Stuff


1.4. Slipstreaming XPize

Posted Image
Picture 27 - XPize Welcome Screen

Posted Image
Picture 28 - Create ISO

Posted Image
Picture 29 - Select Distribution Share

Posted Image
Picture 30 - Patching

This post has been edited by dexter.inside: 28 May 2007 - 10:35 AM


#5 User is offline   dexter.inside 

  • reverse engineering guru
  • PipPipPip
  • Group: Members
  • Posts: 331
  • Joined: 19-October 06

Posted 26 March 2007 - 12:59 AM

Posted Image
Picture 31 - Finished

1.5. nLite the Distribution Share (2)

This time I will use nLite to remove unneeded stuff in my distribution share.

Posted Image
Picture 32 - Distribution Share

Posted Image
Picture 33 - Task Selection

Business Desktop Deployment 2007 is the most efficient way to manage your drivers today. It has a workbench that quickly adds/removes drivers from it's own distribution share. Sorting, efficient renaming and detailed info makes it a must-have for windows reinstallation geeks out
there. Note that you will also need a copy of Windows Automated Installation Kit (WAIK), preferably the one for Vista RTM.

Posted Image
Picture 34 - Drivers in my Deployment Workbench

In this case, I only have loaded Mass Storage PnP drivers. If you intend to try out Part 2 of this tutorial, don't add non-PnP drivers at this stage. BDD Workbench stores these drivers in \Distribution\Out-of-Box Drivers.

Posted Image
Picture 35 - Driver Pane


You will need to add to nLite hdc, SCSIAdapter and System driver collections from BDD Workbench. Due to the fact that I only have this folders loaded in this tutorial, I add the entire Out-of-Box Drivers folder.

Posted Image
Picture 36 - Multiple Driver Folder


You should not add 64-bit Mass Storage drivers in 32-bit editions of windows. Most likely you'd get UNMOUNTABLE_BOOT_VOLUME BSoD.

Posted Image
Picture 37 - Drivers to integrate


So, this is my final list of Mass Storage drivers I will add:

Posted Image
Picture 38 - Final list of drivers


To be able to perform Part 2 of this tutorial, you will need to keep Windows Update, Sysprep and OOBE compatibility.

Posted Image
Picture 39 - Compatiblity Removal

Here you remove what you don't want in your base install image.

Posted Image
Picture 40 - Components

This post has been edited by dexter.inside: 28 May 2007 - 10:41 AM


#6 User is offline   dexter.inside 

  • reverse engineering guru
  • PipPipPip
  • Group: Members
  • Posts: 331
  • Joined: 19-October 06

Posted 26 March 2007 - 01:16 AM

As you are not yet performing OEM preinstallation in this part of the tutorial, you should keep it Disabled. Loading extra non-PnP drivers when booting may be needed in certain scenarios.

In order to perform Part 2, you will need either 32-bit ACPI hardware abstraction layer (HAL) for 32-bit windows, or 64-bit ACPI for 64-bit windows (like Windows XP SP2 x64). I will be using a method that relies on this HAL in Part 2, to make your windows device-independent, like it happens when you install Vista.

My SBS R2 license key covers 50 CALs (client access licenses). You should choose what's most suitable for your standalone server/domain controller/test scenario.

Posted Image
Picture 41 - Unattended General


Add here whatever cleanup / registry operations you want to perform with elevated privileges.

Posted Image
Picture 42 - RunOnce

Posted Image
Picture 43 - Users


I added the Media Center 2006 theme Royale Noir here.

Posted Image
Picture 44 - Desktop Themes

Posted Image
Picture 45 - Automatic Updates

Posted Image
Picture 46 - Display


I am configuring IIS and SCW after installation. To save install time, I've disabled them.

Posted Image
Picture 47 - Components


I am merging SP2.CAB and DRIVER.CAB without high compression. The resulting DRIVER.CAB is ~120 Mb. Also, the Classic setup theme is a bit faster (I don't like the billboards from XP setup).

Posted Image
Picture 48 - General Options


You will need to disable SFC in this tutorial. If you do not, it may corrupt many of the advanced modifications I'm doing later on.

Posted Image
Picture 49 - Patches


Personalize here the desktop experience you need.

Posted Image
Picture 50 - General Tweaks


At this point, changes you do here will have no effect, because OEM Preinstall is turned off. What you change here will be enforced by what you will do in Part 3, during the virtual-to-physical (V2P) migration.

This post has been edited by dexter.inside: 28 May 2007 - 10:45 AM


#7 User is offline   dexter.inside 

  • reverse engineering guru
  • PipPipPip
  • Group: Members
  • Posts: 331
  • Joined: 19-October 06

Posted 26 March 2007 - 01:27 AM

Posted Image
Picture 51 - Services

Posted Image
Picture 52 - Processing

Posted Image
Picture 53 - Finished

Don't create the ISO just yet if you want to add other tweaks like 2003 server-to-workstation or any Transformation Pack.

Posted Image
Picture 54 - Bootable ISO


1.6. Slipstreaming Vista Transformation
Pack


Remember that OEM Preinstall is disabled, so themes will not be properly loaded on Server 2003 just yet. (the service will stay disabled).

Posted Image
Picture 55 - Vista Transformation Pack

Posted Image
Picture 56 - Transform setup files

Posted Image
Picture 57 - Resolution and DPI

Posted Image
Picture 58 - Distribution Share

Posted Image
Picture 59 - Apply transformation

Posted Image
Picture 60 - General system UI

This post has been edited by dexter.inside: 28 May 2007 - 10:48 AM


#8 User is offline   dexter.inside 

  • reverse engineering guru
  • PipPipPip
  • Group: Members
  • Posts: 331
  • Joined: 19-October 06

Posted 26 March 2007 - 01:44 AM

Posted Image
Picture 61 - Application UI

Posted Image
Picture 62 - Interface

Posted Image
Picture 63 - Toolbar

Posted Image
Picture 64 - Copying

Posted Image
Picture 65 - Updating resources

Posted Image
Picture 66 - Finished


You can see here some of the files that were added by VTP6.

Posted Image
Picture 67 - Files were added


1.7. Build the Base Install ISO

As the distribution share is ready, it is time to create the ISO:

Posted Image
Picture 68 - ISO Location

Posted Image
Picture 69 - Preparing


If you are not happy with the ISO creation feature in nLite for some reason, you can try OSCDIMG from Windows AIK.

Posted Image
Picture 70 - Writing

This post has been edited by dexter.inside: 28 May 2007 - 10:50 AM


#9 User is offline   Madhits45 

  • MSFN Indulger
  • PipPipPip
  • Group: Members
  • Posts: 364
  • Joined: 14-June 04

  Posted 27 March 2007 - 11:53 AM

Wow Dexter GREAT guide. I've seen your name on a few builds online. I wont say where but awesome builds. We need more brain power in this forum. A lot of the masters dont seem to be around here anymore. The ones that are dont seem to care to much.

This guide is so detailed, hope you finish it soon. Amazing stuff, I have a few questions.

This post has been edited by Madhits45: 28 April 2007 - 10:02 AM


#10 User is offline   dexter.inside 

  • reverse engineering guru
  • PipPipPip
  • Group: Members
  • Posts: 331
  • Joined: 19-October 06

Posted 28 March 2007 - 04:15 AM

Posted Image
Picture 71 - Finished


1.8. Lab Configuration

In this tutorial I am using VMware Workstation 6.

If you get freaky because of fragmentation levels on your beautiful partitions, remember that this operation causes a lot of fragmentation. In order to maximize disk I/O in VMware you should either defragment at this point, or use contig.exe from Sysinternals to keep your VMDKs contiguous. I use Diskeeper 2007 Server Enterprise.

Posted Image
Picture 72 - Massive fragmentation


Here's my edition of VMware. If you are using a Debug (checked) release, you should swap the contents between the bin and bin-debug folders in your VMware installation, otherwise performance will be very poor.

Posted Image
Picture 73 - About VMware


This is how VMware Workstation looks like when there are no virtual machines configured.

Posted Image
Picture 74 - VMware


I have detailed below the best practice for creating a suitable lab for testing the image you built in this part of the tutorial.

Posted Image
Picture 75 - New Virtual Machine Wizard


Posted Image
Picture 76 - Custom VM


Posted Image
Picture 77 - Workstation 6


Windows Home Server is also built on the Small Business platform.

Posted Image
Picture 78 - Guest OS


Posted Image
Picture 79 - Name


Posted Image
Picture 80 - Memory

This post has been edited by dexter.inside: 28 May 2007 - 10:52 AM


#11 User is offline   dexter.inside 

  • reverse engineering guru
  • PipPipPip
  • Group: Members
  • Posts: 331
  • Joined: 19-October 06

Posted 28 March 2007 - 04:26 AM

Posted Image
Picture 81 - Network


Posted Image
Picture 82 - Disk Controller


Posted Image
Picture 83 - New Disk


Posted Image
Picture 84 - LSI Logic Ultra320 SCSI


Posted Image
Picture 85 - Disk Size


Posted Image
Picture 86 - Disk Location


Posted Image
Picture 87 - Initial Config


Posted Image
Picture 88 - Settings

Use the ISO you made to boot.

Posted Image
Picture 89 - Options


Posted Image
Picture 90 - Final VM Config

This post has been edited by dexter.inside: 28 May 2007 - 10:54 AM


#12 User is offline   dexter.inside 

  • reverse engineering guru
  • PipPipPip
  • Group: Members
  • Posts: 331
  • Joined: 19-October 06

Posted 28 March 2007 - 05:05 AM

1.9. Lab Deployment

The initial deployment is done with removable media in this tutorial.

Posted Image
Picture 91 - BIOS

Posted Image
Picture 92 - Boot

Posted Image
Picture 93 - Text-mode Setup

Posted Image
Picture 94 - Copying files

Posted Image
Picture 95 - Windows Logo
1.10. Windows Setup

Posted Image
Picture 96 - Installing Devices


Posted Image
Picture 97 - Name and Organization


Posted Image
Picture 98 - Product Key


Posted Image
Picture 99 - Computer


Posted Image
Picture 100 - Date and Time

This post has been edited by dexter.inside: 28 May 2007 - 10:55 AM


#13 User is offline   dexter.inside 

  • reverse engineering guru
  • PipPipPip
  • Group: Members
  • Posts: 331
  • Joined: 19-October 06

Posted 28 March 2007 - 05:06 AM

Posted Image
Picture 101 - Networking


Posted Image
Picture 102 - Components


Posted Image
Picture 103 - Final Tasks


Posted Image
Picture 104 - First Boot


Posted Image
Picture 105 - Vista Transformation Pack


Posted Image
Picture 106 - Personalized Settings


Posted Image
Picture 107 - Server Post-Setup Security


Posted Image
Picture 108 - R2AUTO


Posted Image
Picture 109 - Automatic Updates


Posted Image
Picture 110 - Lab Disk size

This post has been edited by dexter.inside: 28 May 2007 - 10:56 AM


#14 User is offline   jimmsta 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 385
  • Joined: 04-May 05
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 03 April 2007 - 06:27 PM

Please continue! I had no idea that BDD2007 offered updated drivers for Windows installations, let alone a way to edit Windows installation sources. I really should have known this, what with being an OEM and all :) Very Cool guide.

#15 User is offline   dexter.inside 

  • reverse engineering guru
  • PipPipPip
  • Group: Members
  • Posts: 331
  • Joined: 19-October 06

Posted 04 April 2007 - 04:36 PM

View Postjimmsta, on Apr 4 2007, 03:27 AM, said:

I had no idea that BDD2007 offered updated drivers for Windows installations


Actually BDD2007 does not offer any drivers, those are my drivers from my collection, which I manage with BDD.

I will continue when I have the necessary screenshots, this is intended to be a visual-oriented guide.

#16 User is offline   jimmsta 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 385
  • Joined: 04-May 05
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 05 April 2007 - 11:16 PM

I realized that when I went through all the steps. I ended up using BDD to manage some driverpacks I got from driverpacks.net, which works really well. In any case, I had no idea that BDD was a decent piece of management software for these sorts of things.

#17 User is offline   geo411m 

  • Junior
  • Pip
  • Group: Members
  • Posts: 78
  • Joined: 03-June 05

Posted 19 April 2007 - 09:20 AM

I made an install similar to Dexter.inside using server 2003. i made it into a ghost image that should work on any PC. it doesn't contain driver packs so it fits on 1 bootable ghost cd (475) heres a screen shot.

Posted Image

#18 User is offline   dexter.inside 

  • reverse engineering guru
  • PipPipPip
  • Group: Members
  • Posts: 331
  • Joined: 19-October 06

Posted 19 April 2007 - 11:45 PM

Yes, at a first glance Norton Ghost is a good solution, but Microsoft has developed the WIM format specifically for this purpose. I am almost done gathering data for continuing my tutorial, and I will present my research in the next few days.
The main advantages are single instance storage over one and/or multiple sysprep resealed images and using a real Microsoft-written setup routine (with actual partitioning options, not with unattended diskpart).

#19 User is offline   dexter.inside 

  • reverse engineering guru
  • PipPipPip
  • Group: Members
  • Posts: 331
  • Joined: 19-October 06

Posted 30 April 2007 - 11:34 AM

Part 2: Road to the End-User

In Part 2 of this tutorial, I will continue with Windows Home Server (codenamed Quattro), and how can you use nLite to improve your Home Server experience. Later on, I will explain the sysprep -reseal technique and deploy your nLited windows distributions after further tweaking them in a controlled environment. You can learn here the advantages of OEM software preinstallation (a rather unfamiliar procedure AFAIK) over unattended software installation, to which most of you are already acquainted with (very well covered by nLite I might add).

2.1. A few things you should know before starting

For Part 2, I have used the following software:

- Windows 2003 Small Business Server (from Part 1)
- Windows Home Server CTP, build 06.00.1371
- VMware Workstation 6
- nLite 1.3.0.4
- Total Commander 7

2.2. Preparing the distribution share

Copy the contents of the Windows Home Server Installation DVD to your distribution share. Mine is named I:\temp\WHS.

Posted Image
Picture 1 - The distribution share


This is the layout of WHS folders:

- BOOT, the boot code for Windows PE 2.0 that is used to deploy WSH. In it you can find the BCD registry hive, that controls booting the DVD. You can edit it by using Microsoft's BCDEDIT.EXE or by loading it in your registry from REGEDIT.

Posted Image
Picture 2 - Loading BCD with REGEDIT


- DOCS, the EULA and documentation.
- FILES, installer logic that installs Codename Quattro over the base install.
- REDISTR, redistributable applications required by Quattro runtime code.
- SOURCES, containing the BOOT.WIM file, in which the base WinPE 2.0 is stored (build 6.0.6000 from the WAIK).
- SVR_2003, the first CD from Windows 2003 Small Business Server with SP2, v3790.2959. This is your nLite target. WSH installer logic generates a headless install for it the first time it runs.
- WHS, specific hotfixes and MSI packages to be added on top of SBS CD1 after install.
- WHSSUPPORTTOOLS, runtime tools for the WHS app.
- WINDOWS, the WinPE Shell that installs WHS.

This is how the BCD looks like.

Posted Image
Picture 3 - The BCD hive temporary loaded in HKU


Don't forget to unload the hive after you're done.

AUTORUN.INF contains:
 
[autorun]  
open=files\install\qs.exe -autorun 

and, as you can see, the DVD is tagged just like SBS, with WIN52IL.SP2.

This post has been edited by dexter.inside: 06 June 2007 - 05:08 PM


#20 User is offline   dexter.inside 

  • reverse engineering guru
  • PipPipPip
  • Group: Members
  • Posts: 331
  • Joined: 19-October 06

Posted 30 April 2007 - 12:05 PM

2.3. nLite your WHS Core

Just like in Part 1, use nLite on the \SVR_2003 folder.

Up to this moment, I am unsure on what components to keep in order not to break the WSH installer or functionality. For starters, remember to keep Sysprep and Activation Compatibility, IE Compatibility, and IIS 6.

Remember that in order to complete this tutorial, you will have to disable OEM and use the Advanced Configuration and Power Interface (ACPI) PC HAL in your nLite unattended settings.

This is what I used:
 
[Main]
Env = 1.3 - 2.0.50727.42.Microsoft Windows NT 5.2.3790 Service Pack 2, v.2845
Target = Windows Server 2003 for Small Business Server SP:2 - 5.2.3790.3959 - English (United States)

[Tasks]
Remove Components
Unattended Setup
Tweaks
Options

[Components]
;# Applications #
Accessibility Options
Defragmenter
;# Multimedia #
Mouse Cursors
Music Samples
Old CDPlayer and Sound Recorder
Speech Support
Windows Sounds
;# Network #
Communication tools
;# Operating System Options #
16-bit support
Color Schemes
Disk Cleanup
Document Templates
DR Watson
FAT to NTFS converter
Search Assistant
Shell Media Handler
Symbolic Debugger (NTSD)
Zip Folders
;# Services #
Beep Driver
Removable Storage
;# Compatibility #
Compat03

[KeepFiles]
msconfig.exe

[RemoveFiles]
clock.avi
yahoo.bmp
swtchbrd.bmp

[Options]
CABMerge
CABNoHigh
ClassicSetup
ProfilesDir = "%SystemDrive%\Documents and Settings"
TargetPath = "WINDOWS"
temp_dir = %SystemDrive%\WINDOWS\Temp
AdvTweaks

[Patches]
TcpIp = 100
DoUxTheme
DoSFC

[Services2]
Themes,2
AudioSrv,2

[Tweaks]
Boot and Shutdown-Ctrl-Alt-Del at logon-Disabled
Boot and Shutdown-Disable saving Last Good state at boot
Boot and Shutdown-Disable Shutdown Tracker
Boot and Shutdown-Logon Page-Welcome screen
Boot and Shutdown-Numlock-Off
Boot and Shutdown-Setup Prefetch-Cache-Applaunch and Boot enabled
Boot and Shutdown-Status Messages-Extended
Desktop-Internet Explorer icon-Show
Desktop-My Computer icon-Show
Desktop-My Documents icon-Hide
Desktop-My Network Places icon-Hide
Desktop-Recycle Bin icon-Hide
Desktop-Show Windows version on Desktop
Explorer-Add 'Command Prompt' to folder context menu
Explorer-Advanced Search: preconfigure options
Explorer-Classic Control Panel
Explorer-Disable Autorun
Explorer-Disable Beep on errors
Explorer-Disable Prefix: Shortcut to
Explorer-Display the contents of system folders
Explorer-Recycle Bin: allow to rename and delete
Explorer-Recycle Bin: delete files directly
Explorer-Remove Send To on context menu
Explorer-Show Drive Letters in front of Drive Names
Explorer-Show extensions of known file-types
Explorer-Show hidden files and folders
Explorer-Show Map Network Drives buttons in Explorer bar
Explorer-Show protected operating system files
Explorer-Show Statusbar in all windows
Explorer-Show the full path in the Address Bar
Explorer-Show the full path in the Title Bar
Internet Explorer-Disable Go Button
Internet Explorer-Disable Market Place bookmark
Internet Explorer-Disable Media Player 6.4 created bookmarks
Internet Explorer-Disable sound when popup is blocked
Internet Explorer-Enable Google URL-Search
Internet Explorer-Keep IE URL-History for-20 Days (default)
Internet Explorer-Set Homepage-about:blank
Internet Explorer-Set IE-Cache limit to-20 MB
Internet Explorer-Set Internet Explorer to accept 10 connects at a time
My Computer-Add Administrative Tools
My Computer-Add Control Panel
My Computer-Add Control Panel to Context Menu
My Computer-Add Device Manager to Context Menu
My Computer-Add Folder Options
My Computer-Add Fonts Folder
My Computer-Add My Network Places
My Computer-Add Network Connections
My Computer-Add Printers and Faxes
My Computer-Add Recycle Bin
My Computer-Add Scheduled Tasks
My Computer-Add Services to Context Menu
My Computer-Add Software to Context Menu
My Computer-Add Taskbar Settings
Network-Allow receiving Remote Assistance-Disable
Network-Disable administrative shares
Network-Remote Desktop-Enable
Network-Set TCP/IP Priority to 1
Performance-Disable Info Tips on Files and Folders
Performance-Disable Last accessed Timestamp on files
Performance-Disable Optimize harddisk when idle
Performance-Disable paging of kernel and core-os
Performance-Disable Tracking of Broken Shortcut Links
Performance-Disable Warn on low disk space
Performance-Disable WBEM logging
Performance-Do not cache thumbnails
Performance-Processor scheduling-Programs
Privacy-Disable Driver Update Internet prompt
Privacy-Disable Error Reporting
Privacy-Disable File MRU-List
Privacy-Disable Tracking of most used programs
Privacy-Remove Alexa
Security-Always show Updates under Software
Security-Disable Screensaver
Security-Disable Web Open With prompt
Security-Screensaver Password-Protection-Disabled
Start Menu-Add Administrative Tools menu
Start Menu-Clear most recently opened documents list on logoff
Start Menu-Control Panel-Display as a menu
Start Menu-Disable Highlight newly installed programs
Start Menu-Disable popup on first boot
Start Menu-Expand Network Connections
Start Menu-My Computer-Display as a menu
Start Menu-My Documents-Display as a menu
Start Menu-My Music-Display as a menu
Start Menu-My Network Places-Display as a menu
Start Menu-My Pictures-Display as a menu
Start Menu-Network Connections-Link to Network Connections folder
Start Menu-Number of programs on Start menu-6
Start Menu-Printers and Faxes-Display as a menu
Start Menu-Reduce popup delay
Start Menu-Remove Search For People from Search
Start Menu-Remove Search the Internet from Search
Start Menu-Remove Set Program Access and Defaults
Start Menu-Remove Windows Catalog shortcut
Start Menu-Remove Windows Update shortcut
Start Menu-Scroll Programs
Taskbar-Disable Hide inactive icons
Taskbar-Lock the Taskbar-Yes
Visual Effects-Active window tracking speed-Fast
Visual Effects-Animate windows when minimizing and maximizing-Disable
Visual Effects-Combo box animation-Disable
Visual Effects-Cursor shadow-Enable
Visual Effects-Fade out selection-Disable
Visual Effects-Gradient captions in windows-Enable
Visual Effects-Keyboard shortcut underline-Enable
Visual Effects-Menu animation-Disable
Visual Effects-Menu shadows-Disable
Visual Effects-Menu style-Normal
Visual Effects-Show translucent selection rectangle-Enable
Visual Effects-Show window contents while dragging-Disable
Visual Effects-Slide taskbar buttons-Disable
Visual Effects-Smooth edges of screen fonts-ClearType
Visual Effects-Smooth-scroll list boxes-Disable
Visual Effects-Tooltip animation-Disable
Visual Effects-Use a background image for each folder type-Disable
Visual Effects-Use drop shadows for icon labels on the desktop-Enable
Windows Media Player-Accept Privacy Statement
Windows Media Player-Disable auto-add music to library
Windows Media Player-Disable license backup prompt
Windows Media Player-Disable silent acqusition
Windows Media Player-Disable starting with Media Guide
Windows Media Player-Do not show anchor in Designmode
Windows Media Player-Optimize fullscreen mode behavior
Windows Media Player-Remove all context menu entries
Windows Media Player-Zoom video to windowsize

[Unattended]
DisableOem
ComputerType = Advanced Configuration and Power Interface (ACPI) PC
Resolution = 800x600
BitsPerPel = 32 bit (True Color)
MaximumDataStorePercentOfDisk = 12
RestorePointLife = 30
DesktopTheme = Default||
PerServer,100
SCWInstall = 2
AutoUpdates = 3
AutoUDay = 5
AutoUHour = 15
AUElevate
AUMinor
ProgFilesPath = "\Program Files"

[NetAdapter1]
connname = ""
macaddress = ""
ipaddress = "192.168.0.1"
subnetmask = "255.255.255.0"
defaultgateway = ""
dnsserver1 = ""
dnsserver2 = ""
winsserver = ""
netbiossetting = "0"
ipxnetworknumber = "00000000"
ipxnetworkframetype = "0xFF"

[GuiRunOnce]

[Drivers]

[Hotfixes] 


I have also unhidden stuff from SYSOC.INF:
 
[Version]
Signature = "$Windows NT$"
DriverVer=10/01/2002,5.2.3790.3959

[Components]
NtComponents=ntoc.dll,NtOcSetupProc,,4
WBEM=ocgen.dll,OcEntry,wbemoc.inf,,7
WBEMMSI=wbemupgd.dll,OcEntry,wbemmsi.inf,,7
Display=desk.cpl,DisplayOcSetupProc,,7
ADAM=adamocm.dll,OCEntry,adam.inf,,4
Fax=fxsocm.dll,FaxOcmSetupProc,fxsocm.inf,,6
NetOC=netoc.dll,NetOcSetupProc,netoc.inf,,7
iis=iis.dll,OcEntry,iis.inf,,7
com=comsetup.dll,OcEntry,comnt5.inf,,7
dtc=msdtcstp.dll,OcEntry,dtcnt5.inf,,7
IndexSrv_System = setupqry.dll,IndexSrv,setupqry.inf,,7
TerminalServer=TsOc.dll, HydraOc, TsOc.inf,,2
msmq=msmqocm.dll,MsmqOcm,msmqocm.inf,,6
RemInst=ocgen.dll,OcEntry,ocmri.inf,,3
Cluster=clusocm.dll,ClusOcmSetupProc,clusocm.inf,,7
aspnet=aspnetoc.dll,AspnetOcmProc,aspnetoc.inf,,7
netfx=netfxocm.dll,UrtOcmProc,netfxocm.inf,,7
netfx20=netfxocm20.dll,UrtOcmProc,netfx20.inf,,7
ins=imsinsnt.dll,OcEntry,ins.inf,,7
ims=imsinsnt.dll,OcEntry,ims.inf,,7
fp_extensions=fp50ext.dll,FrontPage5Extensions,fp50ext.inf,,7
sharepoint=ocwss.dll,OcEntry,ocwss.inf,,7
certsrv=certocm.dll,CertSrvOCProc,certocm.inf,,2
LicenseServer=LicenOc.dll,EntryProc,LicenOc.inf,,6
wms=wmsocm.dll,OcEntry,wmsocm.inf,,3
RootAutoUpdate=ocgen.dll,OcEntry,rootau.inf,,7
IEAccess=ocgen.dll,OcEntry,ieaccess.inf,,7
BITSServerExtensions=bitsoc.dll,OcEntry,bitssrv.inf,,7
UDDIServices=uddiocm.dll,OcEntry,uddi.inf,,6
authman=ocgen.dll,OcEntry,AuthMan.inf,,7
OEAccess=ocgen.dll,OcEntry,oeaccess.inf,,7
IEHarden=ocgen.dll,OcEntry,ieharden.inf,,7
SCW=ocgen.dll,OcEntry,scw.inf,,7
PMCsnap=ocgen.dll,OcOMEntry,pmcsnap.inf,,7
HWMGMT=wsocgen.dll,OcEntry,hwmgmt.inf,,7
SanMgmt=ocgen.dll,OcOMEntry,SanMgmt.inf,,7
Srm=ocgen.dll,OcOMEntry,srm.inf,,7
Dfsr=ocgen.dll,OcOMEntry,dfsr.inf,,7
DfsFrsUI=ocgen.dll,OcOMEntry,dfsfrsui.inf,,7
DfsRHelper=ocgen.dll,OcOMEntry,dfsrhelper.inf,,7
CfsCommonUIFx=ocgen.dll,OcOMEntry,cfscommonuifx.inf,,7
DfsExt=ocgen.dll,OcOMEntry,dfsext.inf,,7
FsrCommon=ocgen.dll,OcOMEntry,fsrcommon.inf,,7
FsrNas=ocgen.dll,OcOMEntry,fsrnas.inf,,7
FsrStandard=ocgen.dll,OcOMEntry,fsrstandard.inf,,7
SISInst=ocgen.dll,OcEntry,sis.inf,,7
CLFS=ocgen.dll,OcOMEntry,clfs.inf,,7
SNIS=suaidmog.dll,OcEntry,uidmsnis.inf,,7
PswdSync=suaidmog.dll,OcEntry,uidmpsnc.inf,,7
IdmuMgmt=suaidmog.dll,OcEntry,uidmadmn.inf,,7
UnixIDManagement=suaidmog.dll,OcEntry,uidmmain.inf,,7
SUA=suaidmog.dll,OcEntry,Interix.inf,,7
MSNFS=nfsocm.dll,OcEntry,msnfs.inf,,7
RpcXdr=nfsocm.dll,OcEntry,rpcxdr.inf,,7
Portmap=nfsocm.dll,OcEntry,portmap.inf,,7
NfsAdminUI=nfsocm.dll,OcEntry,NfsAdminUI.inf,,7
NFSserverAuth=nfsocm.dll,OcEntry,nfsauth.inf,,7
NFSserver=nfsocm.dll,OcEntry,nfssvc.inf,,7
NFSclient=nfsocm.dll,OcEntry,nfsclnt.inf,,7
MapServer=nfsocm.dll,OcEntry,mapsvc.inf,,7
ADServOC=ocgen.dll,OcEntry,adservoc.inf,,7
ADFS=adfsocm.dll,OcEntry,adfs.inf,,6
MultiM=ocgen.dll,OcEntry,multimed.inf,,7
AccessUtil=ocgen.dll,OcEntry,accessor.inf,,7
MSWordPad=ocgen.dll,OcEntry,wordpad.inf,,7
WhServer=whsoc.dll,WHSSetupProc,whsoc.inf,,7
InetPrint=ntprint.dll,IppOcEntry,IppOcm.inf,,7
K=KOC.dll,KOCSetupProc,KOC.inf,,7
nLite=ocgen.dll,OcEntry,nLite.inf,,7

[Global]
WindowTitle=%WindowTitle%
WindowTitle.StandAlone="*"

[Strings]
WindowTitle="Windows Server Setup"
WindowTitle_Standalone="Windows Components Wizard"

; Customized by nLite - www.nliteos.com 


Share this topic:


  • 8 Pages +
  • 1
  • 2
  • 3
  • Last »
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2013 msfn.org
Privacy Policy