Slipstream Update 1 and other Windows Updates into Windows 8.1 (Guide)


Recommended Posts

For this I believe you try here http://forums.mydigitallife.info/threads/54007-ESD-lt-gt-WIM-Conversion-batch . It looks like this guys have figured out how to do it with dism instead of imagex. 

This is the direct link to the Script to download. It did convert the original ESD file to a wim image. The size is 3.03GB. I will check it out and post back

http://ge.tt/api/1/files/5dh74VL1/91/blob?download

Link to comment
Share on other sites

I'm still confused why that ISO made me install Update 1 again from Windows update.

 

I think there were some updates made after they released the ISO. Anyway I encountered this too just a few days back when I used the ISO but it wasn't the full ~700MB Update 1 that got downloaded and installed, it was much smaller. Wasn't that the case for you?

For this I believe you try here http://forums.mydigitallife.info/threads/54007-ESD-lt-gt-WIM-Conversion-batch . It looks like this guys have figured out how to do it with dism instead of imagex.

The batch file seems to be using imagex /capture to capture the applied image back from the VHD to a new install.wim, so it's not as if imagex can be dispensed with completely.

Link to comment
Share on other sites

This is the direct link to the Script to download. It did convert the original ESD file to a wim image. The size is 3.03GB. I will check it out and post back

http://ge.tt/api/1/files/5dh74VL1/91/blob?download

Update. What it does, I don't know. But all I seen was what index you want to convert and a percentage bar. After I got the Wim I ran the script in my guide and all worked great. Will update more as I go. :-)

Link to comment
Share on other sites

Update. What it does, I don't know. But all I seen was what index you want to convert and a percentage bar. After I got the Wim I ran the script in my guide and all worked great. Will update more as I go. :-)

Update 2

In my guide you don't have to create a Virtual Machine if you run the batch file that you can download here: http://ge.tt/api/1/files/5dh74VL1/91/blob?download

just type or copy and past the exact location of the ESD file. Just extract the file into a folder and run the batch file with Admin rights.

Now, I just succeeded in Cleaning up the winSXS folder by adding to the one I posted in this guide. Nothing seemed different when using both switches StartComponentCleanup or StartComponentCleanup /ResetBase

Here is the modified batch file (keep the original batch file to run after installing update 1). make sure you run it before installing the 6 Update 1 files because the update 1 files are pending and the StartcomponentCleanup will fail if you run this after installing Update one files. I put both StartComponentCleanup or StartComponentCleanup /ResetBase switches and you can removed whatever you like but let us know what works best. :-) I got this info from a Microsoft article. http://technet.microsoft.com/en-us/library/dn251567.aspx

 

Copy below here in a text document and give it any name ending in .bat

 

MD %~dp0WIN8

 "c:\program files (x86)\windows kits\8.1\assessment and deployment kit\deployment tools\amd64\dism\Dism.exe" /Mount-Wim /WimFile:%~dp0install.wim /Index:1 /MountDir:%~dp0WIN8

"c:\program files (x86)\windows kits\8.1\assessment and deployment kit\deployment tools\amd64\dism\Dism.exe" /image:%~dp0WIN8 /Add-Package /PackagePath:"%~dp0patches"

"c:\program files (x86)\windows kits\8.1\assessment and deployment kit\deployment tools\amd64\dism\Dism.exe" /image:%~dp0WIN8  /Get-Packages | more

"c:\program files (x86)\windows kits\8.1\assessment and deployment kit\deployment tools\amd64\dism\Dism.exe" /Image:%~dp0WIN8 /Cleanup-Image /StartComponentCleanup

"c:\program files (x86)\windows kits\8.1\assessment and deployment kit\deployment tools\amd64\dism\Dism.exe" /Image:%~dp0WIN8 /Cleanup-Image /StartComponentCleanup /ResetBase

 pause

"c:\program files (x86)\windows kits\8.1\assessment and deployment kit\deployment tools\amd64\dism\Dism.exe" /Unmount-Wim /MountDir:%~dp0WIN8 /commit

 

Link to comment
Share on other sites

Update 2

In my guide you don't have to create a Virtual Machine if you run the batch file that you can download here: http://ge.tt/api/1/files/5dh74VL1/91/blob?download

just type or copy and past the exact location of the ESD file. Just extract the file into a folder and run the batch file with Admin rights.

Now, I just succeeded in Cleaning up the winSXS folder by adding to the one I posted in this guide. Nothing seemed different when using both switches StartComponentCleanup or StartComponentCleanup /ResetBase

Here is the modified batch file (keep the original batch file to run after installing update 1). make sure you run it before installing the 6 Update 1 files because the update 1 files are pending and the StartcomponentCleanup will fail if you run this after installing Update one files. I put both StartComponentCleanup or StartComponentCleanup /ResetBase switches and you can removed whatever you like but let us know what works best. :-) I got this info from a Microsoft article. http://technet.microsoft.com/en-us/library/dn251567.aspx

 

Copy below here in a text document and give it any name ending in .bat

 

MD %~dp0WIN8

 "c:\program files (x86)\windows kits\8.1\assessment and deployment kit\deployment tools\amd64\dism\Dism.exe" /Mount-Wim /WimFile:%~dp0install.wim /Index:1 /MountDir:%~dp0WIN8

"c:\program files (x86)\windows kits\8.1\assessment and deployment kit\deployment tools\amd64\dism\Dism.exe" /image:%~dp0WIN8 /Add-Package /PackagePath:"%~dp0patches"

"c:\program files (x86)\windows kits\8.1\assessment and deployment kit\deployment tools\amd64\dism\Dism.exe" /image:%~dp0WIN8  /Get-Packages | more

"c:\program files (x86)\windows kits\8.1\assessment and deployment kit\deployment tools\amd64\dism\Dism.exe" /Image:%~dp0WIN8 /Cleanup-Image /StartComponentCleanup /ResetBase

 pause

"c:\program files (x86)\windows kits\8.1\assessment and deployment kit\deployment tools\amd64\dism\Dism.exe" /Unmount-Wim /MountDir:%~dp0WIN8 /commit

 

Update 3

I installed Windows 8.1 With Update 1 successfully. All works great. Though I modified the script in this message. Instead of having both Cleanup-image switches I just kept the "ResetBase" switch. Just remember to use this script for all the 40+ updates that need to get installed before the 6 Update 1 files. Also there are 3 extra updates in the Updates ISO that Microsoft released for April. These 3 updates can get installed with the 40+ updates. Just remember you can't do a component Store clean-up after update 1 is installed because it's Status is Pending for an online configuration. So use my original script after you install Update 1. :-)

 

Well you guys asked for a component store clean-up and a ESD to WIM converter and I provided with the help of you guys. :-) Thanks all :)

Link to comment
Share on other sites

dism /online /cleanup-image /startcomponentcleanup /ResetBase (reset base only works on 8 and 8.1). Would recommend doing this before putting the machine into audit mode

 

After update 1 leaked this command saved me about 8 gigs of disk space.

The resetbase argument was added in to DISM in Windows 8.1 and Windows Server 2012 R2 operating systems. It can be used to as an additional cleanup argument only targeting Windows 8.1 or Windows 2012 R2 WIMs. (and future...)

http://technet.microsoft.com/en-us/library/dn251565.aspx or http://technet.microsoft.com/en-us/library/dn251567.aspx

Link to comment
Share on other sites

The resetbase argument was added in to DISM in Windows 8.1 and Windows Server 2012 R2 operating systems. It can be used to as an additional cleanup argument only targeting Windows 8.1 or Windows 2012 R2 WIMs. (and future...)

http://technet.microsoft.com/en-us/library/dn251565.aspx or http://technet.microsoft.com/en-us/library/dn251567.aspx

This is where I got my info from so I can modify and add to the Batch file in my guide. Look at my previous post. :-)

I added this line to the script:

"c:\program files (x86)\windows kits\8.1\assessment and deployment kit\deployment tools\amd64\dism\Dism.exe" /Image:%~dp0WIN8 /Cleanup-Image /StartComponentCleanup /ResetBase

Link to comment
Share on other sites

I have everything you need on my OneDrive. This whole guide plus the batch files and folders you need. Everything is virus and harmless. :-) I updated the guide on my OneDrive.

https://onedrive.live.com/redir?resid=FF876747A444836D%2115004

Link to comment
Share on other sites

Guys, I updated the zip file and guide on my "OneDrive". The dism commands do not like spaces, example: "Work Folder" will not work, but if you add an underscore like so: "Work_Folder". this should work. OneDrive folder is here: https://onedrive.live.com/redir?resid=FF876747A444836D%2115004

Link to comment
Share on other sites

Great Guide. Although I think it would be WAY easier to find an iso that matches SHA1 hashes.

 

Actually just tested the ISO .. After install already had update 1 had to do 13 updates and I was done.

Link to comment
Share on other sites

Great Guide. Although I think it would be WAY easier to find an iso that matches SHA1 hashes.

 

Actually just tested the ISO .. After install already had update 1 had to do 13 updates and I was done.

Isn't the ISO file you download from Microsoft a SHA1 hash legit? If you bought the $40 Windows 8.0 pro then you can re-download as Windows 8.1 pro with some easy trickery. I also found out (through allot of googling) how to make a Secure Boot USB flash drive by using the original ISO from Microsoft. I will make a new post for it.

Link to comment
Share on other sites

  • 2 weeks later...

Here is May 13th 2014 Patch Tuesday ISO (These updates require that you already have Update 1 Fully installed). If you only slipstreamed Update 1 then it is not fully installed. You have to follow my instructions on slipstreaming update one then you have to also follow my instruction on install it in to a Virtual Machine and once you capture it back to a wim it will then be fully installed. (Follow my instructions)

http://www.microsoft.com/en-gb/download/details.aspx?id=42776

Link to comment
Share on other sites

  • 3 months later...

Just a reiteration: To use Hyper-V, you need to make a bootable ISO with the image you made. What I did was I used the original Windows ISO and made a bootable USB drive out of it and then I copied my modified ESD/WIM file to the USB flash drive, which replaced the old one and then I copied everything to a folder on my PC. Here are the instructions which has the folder structure that also needs to be created so the command works properly. If the original ISO had an ESD file then make sure you replace it with your new ESD file. Same goes for a WIM file. Instructions are in my updated guide.

Link to instruction on making a Bootable ISO 

https://www.neowin.net/forum/topic/1212745-creating-bootable-media-from-a-command-usb-or-iso/

 

Also, after each group of update injections (When it shows the update packages), take note of any pending updates. You will need to make a virtual machine to complete the installation in order to use the "Resetbase" switch.

Link to comment
Share on other sites

This topic is now closed to further replies.