Content Type
Profiles
Forums
Events
Everything posted by maxXPsoft
-
How to avoid customer having to enter product key?
maxXPsoft replied to Jimmo's topic in Unattended Windows 7/Server 2008R2
yes Look at Waik.chm Understanding Distribution Shares and Configuration Sets -
New to unattend.xml - 2 quick questions
maxXPsoft replied to Stilez's topic in Unattended Windows 7/Server 2008R2
Microsoft-Windows-Shell-Setup | OEMInformation | HelpCustomized false Specifies that Help is not customized. This is the default value. <OEMInformation> <HelpCustomized>false</HelpCustomized> just right click on the setting and choose Help -
New to unattend.xml - 2 quick questions
maxXPsoft replied to Stilez's topic in Unattended Windows 7/Server 2008R2
be careful adding anything, they crash you if wrong. Do not add Default values either many many installs testing stuff told me this Best to test in VM -
How to create an OEM folder
maxXPsoft replied to maxXPsoft's topic in Unattended Windows 7/Server 2008R2
If you want to add an AutoUnattend.xml then look here When you go to select image that you will be mounting please look here Make sure you get the right Index number 64 bit iso will contain these images normally except Windows 7 STARTER Details for image : D:\CD DVD\en_windows_7_ultimate_with_sp1_x64_dvd_u_677332\sources\install.wim Index : 1 Name : Windows 7 HOMEBASIC Description : Windows 7 HOMEBASIC Size : 11,710,161,360 bytes Index : 2 Name : Windows 7 HOMEPREMIUM Description : Windows 7 HOMEPREMIUM Size : 12,222,587,449 bytes Index : 3 Name : Windows 7 PROFESSIONAL Description : Windows 7 PROFESSIONAL Size : 12,122,886,417 bytes Index : 4 Name : Windows 7 ULTIMATE Description : Windows 7 ULTIMATE Size : 12,285,492,779 bytes 32 bit iso will contain these images Details for image : D:\CD DVD\en_windows_7_ultimate_with_sp1_x86_dvd_u_677460\sources\install.wim Index : 1 Name : Windows 7 STARTER Description : Windows 7 STARTER Size : 8,074,968,070 bytes Index : 2 Name : Windows 7 HOMEBASIC Description : Windows 7 HOMEBASIC Size : 8,127,590,116 bytes Index : 3 Name : Windows 7 HOMEPREMIUM Description : Windows 7 HOMEPREMIUM Size : 8,569,006,173 bytes Index : 4 Name : Windows 7 PROFESSIONAL Description : Windows 7 PROFESSIONAL Size : 8,450,188,760 bytes Index : 5 Name : Windows 7 ULTIMATE Description : Windows 7 ULTIMATE Size : 8,610,128,720 bytes -
Feel free to add information or answer ?. 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/direct-download-links-download-official-original-and-untouched-windows-7-iso-32-bit-and-64-bit/ more languages here http://www.heidoc.net/joomla/technology-science/microsoft/14-windows-7-direct-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 Now open admin cmd prompt and type slmgr -xpr | slmgr -dlv if OEM then then under description it will say OEM_SLP channel 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.mydigitallife.info/differences-between-oem-channel-slp-nonslp-and-coa-license-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.com/?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 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. 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.
-
How to avoid customer having to enter product key?
maxXPsoft replied to Jimmo's topic in Unattended Windows 7/Server 2008R2
No thats just where they put the file, you can copy that whole OEM folder to DVD\sources\$OEM$\$$\System32\OEM look above and copy them folders some OEM use a script located in Windows\Setup\Scripts and it is deleted after you install. cscript %windir%\system32\slmgr.vbs -ilc %windir%\system32\oem\oem.xrm-ms REG QUERY "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion" /v "EditionID" | FINDSTR /I "Ultimate" IF NOT ERRORLEVEL 1 SET PIDKEY=xxxxx-xxxxx-xxxxx-xxxxx-xxxxx cscript %windir%\system32\slmgr.vbs -ipk %PIDKEY% -
How to avoid customer having to enter product key?
maxXPsoft replied to Jimmo's topic in Unattended Windows 7/Server 2008R2
leave it to lenovo to do something different. d:\mount2\swwork\OEM\lenovo.xrm-ms -
http://www.askvg.com/direct-download-links-download-official-original-and-untouched-windows-7-iso-32-bit-and-64-bit/ go get the SP1 original iso here. straight from MS more languages here http://www.heidoc.net/joomla/technology-science/microsoft/14-windows-7-direct-download-links As long as they are coming from msft.digitalrivercontent.net they are valid MS downloads
-
Add Right click .wim Windows 7 or Windows 8/8.1
maxXPsoft replied to maxXPsoft's topic in Unattended Windows 7/Server 2008R2
; 8/2/11 Add url and remove 1 item not being added [ Mkdir zPackage ] -
How to avoid customer having to enter product key?
maxXPsoft replied to Jimmo's topic in Unattended Windows 7/Server 2008R2
OEM structure created in DVD\souces folder $OEM$ $$ <<- C:\Windows $$\Web\Wallpaper <<- Wallpapers here Setup\Scripts <<- setupcomplete.cmd System32 <<- $$\System32\OEM <<- OEM *.xrm-ms + valid Product Key $1 <<- Drive Root Drivers <<- where some OEM place driver files Install <<- where I place most things and call from there. EX: %SystemRoot%\Install\Firstlog.cmd Done a lenovo some time back messed up with viruses here was the folders I copied from Recovery part Plug your key in anywhere within the cmd files -
How to avoid customer having to enter product key?
maxXPsoft replied to Jimmo's topic in Unattended Windows 7/Server 2008R2
open admin cmd prompt and type slmgr -dli | slmgr -xpr | slmgr -dlv if OEM then then under description it will say OEM_SLP channel That is done with Slic 2.1 bios and the key only. Automatic activation. You must create OEM folders and add those files to your DVD\sources\$OEM$ exactly where they are in the recovery. Make sure you get the *.xrm-ms from Windows\System32\OEM and place in DVD\sources\$oem$\$$\System32\OEM -
Tweak to arrange the Win Explorer shell (right-click)
maxXPsoft replied to coucou's topic in Windows Tips 'n' Tweaks
you don't have full permissions on those keys. I haven't tried one either http://www.howtogeek.com/forum/topic/tutorial-setting-permissions-on-a-registry-key?replies=10 -
Tweak to arrange the Win Explorer shell (right-click)
maxXPsoft replied to coucou's topic in Windows Tips 'n' Tweaks
1. Bad example. I found on a tweak site and I think it gives it some places it's not already there. Drive will allow to Pin from root of drive like an exe. At 1 time I had a lot of those standalone virus check exe on diff drive. But look at HKEY_CLASSES_ROOT\Drive\shellex\ContextMenuHandlers. Those are your right click on Drive 2. Its handy to have cmd prompt on background. I do a lot of Dos stuff for knowledge Full cmd for Windows 7 http://www.msfn.org/board/topic/13334-add-ons-for-right-click-my-computer/page__view__findpost__p__972365 3. Find target was for XP. Haven't found 'Open file location' yet. Might be added by a dll 4. HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\Windows.delete HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\Windows.rename -
Tweak to arrange the Win Explorer shell (right-click)
maxXPsoft replied to coucou's topic in Windows Tips 'n' Tweaks
We can add anything to our right click, just a matter of figuring it out. I started this back with XP Add ons for right click MY Computer http://www.msfn.org/board/topic/13334-add-ons-for-right-click-my-computer/ for Windows 7 this is the new thing Background http://www.msfn.org/board/topic/13334-add-ons-for-right-click-my-computer/page__view__findpost__p__894130 [HKEY_CLASSES_ROOT\Directory\Background\shell] Heres an example of Drive and Folder ;43 Add right Click Pin to Start / Taskbar [HKEY_CLASSES_ROOT\Drive\shellex\ContextMenuHandlers\PinToStartMenu] @="{a2a9545d-a0c2-42b4-9708-a0b2badd77c8}" [HKEY_CLASSES_ROOT\Folder\ShellEx\ContextMenuHandlers\PinToStartMenu] @="{a2a9545d-a0c2-42b4-9708-a0b2badd77c8}" Of course you can see if you add that and play with it then you cannot Pin anything unless it's like an executable EX: me.exe whether it's located in the root of the Drive or in a Sub folder on the drive. Something that is 'pin' able -
How to avoid customer having to enter product key?
maxXPsoft replied to Jimmo's topic in Unattended Windows 7/Server 2008R2
yes could do that in VM actually. Really strange you cannot see the files, are you sure you have all options unchecked under folder op[tions Trying to remember how I took control of my entire recovery partition and was able to browse it. Have a laptop new I'll test later on something like this run from a Admin cmd prompt. replace Administrators with your language version of it echo y| icacls "D:\*" /grant Administrators:F /T attrib -R -A -S -H "D:\" /S /D -
How to avoid customer having to enter product key?
maxXPsoft replied to Jimmo's topic in Unattended Windows 7/Server 2008R2
yes remember that now, Dell sent me an upgrade to Win 7 and all it was Microsoft Windows 7 Dvd exactly Do you have recovery partition? I have opened that up and looked at things in the past. I repair some PCs here so I dig under the hood to the extreme. -
How to avoid customer having to enter product key?
maxXPsoft replied to Jimmo's topic in Unattended Windows 7/Server 2008R2
Using image from MS don't contain things needed although it is better with SP1 Look at on System32\OEM. will probably find the fileslenovo.oemcert.100036.xrm-ms Now also look at SETUP\SCRIPTS which probably contains .cmd files Example: cscript %windir%\system32\slmgr.vbs -ilc %windir%\system32\oem\lenovo.oemcert.100036.xrm-ms cscript %windir%\system32\slmgr.vbs -ipk xxxxx-xxxxx-xxxxx Once installed it usually deletes them .cmd files You can look in live install Windows\Panther and find xml they use to install but product key gets stripped from it but will point at lenovo images you need also -
Tweak to arrange the Win Explorer shell (right-click)
maxXPsoft replied to coucou's topic in Windows Tips 'n' Tweaks
even more now that I look at it, you see that is at very top of menu and perhaps that holds the key for it being that way [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell all the normal Windows operations are stored there cut, delete, copy, burn All the ones I added are above because normal Windows operations start with Windows.burn and Windows.copy interesting and didn't think about it before -
Different choices during install
maxXPsoft replied to Octopuss's topic in Unattended Windows 7/Server 2008R2
perhaps during Setupcomplete.cmd you could check Ip and change it using both above. Firstlogoncommands would be too late -
Prevent password expiration
maxXPsoft replied to nickster's topic in Unattended Windows 7/Server 2008R2
I had to boot into Ultimate cause don't have box on Premium. gonna anytime update here in a few days I was able to do that with an Administrator command prompt. Then checked box and it was checked C:\Windows\system32>wmic useraccount where "name='xxxxx'" set PasswordExpires=FALSE Updating property(s) of '\\xxxxxxxx\ROOT\CIMV2:Win32_UserAccount.Domain="xxxxxx",Name="xxxxxx"' Property(s) update successful. -
Tweak to arrange the Win Explorer shell (right-click)
maxXPsoft replied to coucou's topic in Windows Tips 'n' Tweaks
The sendtoa3x appears in the Send To and can't move that I know of yet. Can remove from there and create a personal menu and set Top but might not move as far as you want I see you have both winzip, winrar and 7zip???? remove them other 2 and that will move things up, all I use is 7zip for everything You can combine a lot of those sub menus but takes some work. I'm kinda busy with win 8 right now an example of what I done with .wim -
Tweak to arrange the Win Explorer shell (right-click)
maxXPsoft replied to coucou's topic in Windows Tips 'n' Tweaks
been using Sendtoa3x quite awhile myself You can only move it so far and some things default up top because they are dll and can't move them. You can set some things to bottom if you add them yourself -
Prevent password expiration
maxXPsoft replied to nickster's topic in Unattended Windows 7/Server 2008R2
I don't know where to find "password never expires" box but If I go to Admin prompt and type Net User memememe Account active Yes Account expires Never Password last set 7/17/2011 5:05:52 AM Password expires Never -
Different choices during install
maxXPsoft replied to Octopuss's topic in Unattended Windows 7/Server 2008R2
should be able to use this. Ran across that last week trying to set mine static http://support.microsoft.com/kb/257748