I have been asked this so many times here and elsewhere I wanted to put together 1 post with all the relevant information that anyone here can add to.
Microsoft Understanding Distribution Shares and Configuration Sets
Go get the Windows 7 SP1 original iso here. straight from MS
more languages here http://www.heidoc.ne...-download-links
As long as they are coming from msft.digitalrivercontent.net they are valid MS downloads
These are authentic Microsoft. Much better than getting from an unknown untrusted source
These are genuine and official download links. Its completely LEGAL to use them as they don't come with a product key. You'll need to use your own product key to activate Windows. The links provide an untouched Windows 7 ISO which is a fully functional 30-day trial version which can be converted into full version after entering your product key and activating it.
Now open admin cmd prompt and type slmgr -xpr | slmgr -dlv
if OEM then then under description it will say OEM_SLP channel
slp.png 15.3KB 72 downloads
if it is installed with COA from sticker on side it most likely will say COA in the channel
This will explain that http://www.mydigital...e-product-keys/
Extract your iso to a folder on any drive like DVD. Inside \sources folder of that create $OEM$ folder and then add other folders as needed.
The main folder needed is $$\Setup\Scripts and $$\System32\OEM
DVD\sources\$OEM$ $$ <<- C:\Windows $$\Web\Wallpaper <<- Wallpapers here $$\Setup\Scripts <<- setupcomplete.cmd, OOBE.CMD, OEM.reg, SLP.cmd $$\System32 $$\System32\OEM <<- OEM *.xrm-ms, OEM logos. you can copy these folders from Windows\System32\OEM $$\SYSWOW64\OEM <<- replica of system32\oem for 64 bit systems OEM *.xrm-ms, OEM logos. you can copy these folders from Windows\System32\OEM $$\System32\oobe $1 <<- Drive Root $1\Drivers <<- where some OEM place driver files $1\Install <<- where I place most things and call from there. EX: %SystemRoot%\Install\Firstlog.cmd $1\ProgramData\Hewlett-Packard\images <<- example of what we are looking for
To capture your actual product key you can use this simple vb script. This captures actual key and not the one on COA sticker.
If you have installed using the COA then you will have to capture the 2 files below and add to the install.wim listed in NON OEM
Selecting Image or Version
How to Choose Desired Windows 7 Edition / Version During Setup?
or just delete or rename the ei.cfg in \sources folder
If you have an OEM PC you can mount your recovery image install.wim and you will find most these files. Look for .cmd, .vbs in the above folders
I have used following run from a cmd prompt as Admin to gain access to recovery partition
echo y| icacls "F:\*" /grant Administrators:F /T echo y| icacls "F:\*" /grant *S-1-5-32-544:F /T attrib -R -A -S -H "F:\" /S /D
To activate all we really need is just add a setupcomplete.cmd in $$\Setup\Scripts with the .XRM-MS located in SYSTEM32\OEM
setupcomplete.cmd run's automatically in this location. It also run's invisible so will not show anything except applications installing. Not good to call .cmd files here
cscript %windir%\system32\slmgr.vbs -ilc %windir%\SYSTEM32\OEM\*.*.XRM-MS cscript %windir%\system32\slmgr.vbs -ipk xxxxx-xxxxx-xxxxx-xxxxx-xxxxx
Windows 7 has good driver support but if you have some kind of new device needed drivers then you may want to capture drivers and inject them
Driver Magician Lite free
Can use my Add Right click .wim Windows 7 for these operations.
Adding Boot critical and all other drivers to an OEM installation if you don't want to inject - tested and working in a VM today
Only .inf drivers can be added to a Windows image by using this procedure. Drivers packaged as an .exe file or other file types must be installed on a running Windows operating system.
Create folder on root of DVD called $WinPEDriver$
Add all your driver folders there. Drivers must be extracted. You can see from my image long path names are acceptable
Add this to your AutoUnattend.xml in <settings pass="windowsPE">
<component name="Microsoft-Windows-PnpCustomizationsWinPE" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <DriverPaths> <PathAndCredentials wcm:action="add" wcm:keyValue="1"> <Path>$WinPEDriver$</Path> </PathAndCredentials> </DriverPaths> </component>
2011-08-08 10:13:03, Info PnPIBS: Checking for pre-configured driver directory D:\$WinPEDriver$. 2011-08-08 10:13:03, Info PnPIBS: Found pre-configured driver directory D:\$WinPEDriver$. 2011-08-08 10:13:03, Info PnPIBS: Building the list of drivers in the path D:\$WinPEDriver$ ... 2011-08-08 10:13:03, Info PnPIBS: Added driver D:\$WinPEDriver$\Intel(R) ICH10 Family PCI Express Root Port 1\ichacore.inf to the list of drivers.
$WinPEDriver$.png 14.01KB 42 downloads
If you don't have an OEM we capture and save 2 files from your existing installation
We then mount and insert these files into the install.wim. Can use my right click .wim for these operations, it has an uninstall when you are done with it.
Add Right click .wim Windows 7
The 2 files we need
You can simply install and enter product key to activate.
Edited by maxXPsoft, 23 March 2013 - 10:25 PM.