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
http://www.askvg.com...bit-and-64-bit/
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
Quote
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.3K)
Number of downloads: 54
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
http://www.mediafire...zv4bu6cn0h8bbfk
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
setupcomplete.cmd
cscript %windir%\system32\slmgr.vbs -ilc %windir%\SYSTEM32\OEM\*.*.XRM-MS cscript %windir%\system32\slmgr.vbs -ipk xxxxx-xxxxx-xxxxx-xxxxx-xxxxx
Drivers
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
Quote
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.01K)
Number of downloads: 29
NON OEM
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
C:\Windows\System32\spp\tokens\pkeyconfig\pkeyconfig.xrm-ms
C:\Windows\ServiceProfiles\NetworkService\AppData\Roaming\Microsoft\SoftwareProtectionPlatform\tokens.dat
or
You can simply install and enter product key to activate.
This post has been edited by maxXPsoft: 23 March 2013 - 10:25 PM



Help
Back to top










