Commit Graph

481 Commits

Author SHA1 Message Date
rbalsleyMSFT a4cd349f45 Refactor BuildFFUVM.ps1 script***
This commit refactors the BuildFFUVM.ps1 script by:
- Changing the default value of FFUDevelopmentPath to $PSScriptRoot
- Adding a new parameter RemoveFFU
- Adding a new function Remove-FFU to remove all FFU files in the FFUCaptureLocation
- Adding a conditional block to call Remove-FFU if RemoveFFU parameter is true
2024-02-16 10:38:42 -08:00
rbalsleyMSFT 1c38556e32 Added Get-USBDrive function to check for presence of USBDrive prior to running if $buildUSBDrive -eq $true 2024-02-15 17:11:16 -08:00
rbalsleyMSFT aee1aa1e95 2401.1 update 2024-01-26 14:28:38 -08:00
rbalsleyMSFT ed3fcf1a3d Fixed bug with Windows Update failing to install updates for VHDX-only captures. 2023-12-14 15:32:14 -08:00
rbalsleyMSFT 4d8966d3a1 Added variables 2023-09-18 12:06:20 -07:00
rbalsleyMSFT 161e77720b 2309.2 final commit 2023-09-14 15:34:12 -07:00
rbalsleyMSFT 6dee088139 Fixed logging 2023-09-12 16:12:08 -07:00
rbalsleyMSFT 131d7920bf Changed USB build functionality 2023-09-12 13:12:48 -07:00
rbalsleyMSFT 34efbda7ec Fixed an issue with Critical Process Died BSOD
When using -installapps $false when capturing a FFU, a Critical Process Died BSOD would happen when deploying the FFU and Windows attempted to load.

When capturing the FFU, the registry is loaded to grab the Windows version information to create the FFU file name. After unloading the registry, the FFU is captured. This process can happen too fast on certain hard drives (NVME). A 15 second delay was added after the unloading of the registry to allow for the process to complete before the FFU is captured.
2023-09-07 10:32:58 -07:00
rbalsleyMSFT f28281671e Fixed an issue with manually naming a device. Updated version string 2023-06-29 12:04:27 -07:00
rbalsleyMSFT b2d2536530 Minor comment change 2023-06-22 15:41:11 -07:00
rbalsleyMSFT 3fbde27a77 test 2023-06-22 11:24:23 -07:00
rbalsleyMSFT b7b4a53b06 2306.1.1
Included some better error handling if defining optionalfeatures that require source folders (netfx3). ESD files don't have source folders like ISO media, which means installing .net 3.5 as an optional feature would fail. Also cleaned up some formatting.
2023-06-02 13:55:49 -07:00
rbalsleyMSFT 70ae2272e2 2306.1 release
See readme.md for more info
2023-06-01 14:20:17 -07:00
rbalsleyMSFT a81261fa6b Removed the need for Insider ADK but still allow optimize FFU
Optimize-FFU is broken due to the Recovery partition not having a name. dism checks for the presence of a name for each partition and if it doesn't have one, optimize-FFU breaks. The fix is in the ffuprovider.dll in the 25255 branch, which is in the Insider ADK. The public release for that isn't coming soon, and using the Insider ADK requires test signing/test mode to be turned on and secureboot disabled. This causes issues with systems that have virtualization-based security. Due to this, changing the code back to not creating a recovery partition while building the FFU, and creating the recovery partition during deployment and then letting Windows copy in and configure WinRE after. Later this year, whenever the ADK gets released, I'll update the script to revert this behavior.
2023-05-25 12:30:21 -07:00
rbalsleyMSFT aeffca2dca fixed a bug when $installdrivers set to $false the FFU would fail to optimize 2023-05-23 19:06:16 -07:00
rbalsleyMSFT 468103580e updated docs 2023-05-23 12:45:23 -07:00
rbalsleyMSFT 9a292f018b updated docs 2023-05-22 17:18:35 -07:00
rbalsleyMSFT 366075da74 added gitkeep file to maintain empty folders 2023-05-22 17:14:09 -07:00
rbalsleyMSFT c0ef99d8e4 removed old FFUDev folder 2023-05-22 17:03:30 -07:00
rbalsleyMSFT 5fcd648a18 updated docs. 2023-05-22 16:44:34 -07:00
rbalsleyMSFT d6e5bff58b revamped automation 2023-05-22 16:41:08 -07:00
rbalsleyMSFT 9799da1018 Update Convert-WimToFfu.ps1 2023-03-03 18:14:30 -08:00
rbalsleyMSFT 9feabc3bd3 Added wimtoFFU script and doc 2023-03-03 18:07:46 -08:00
rbalsleyMSFT 08d64f24c3 Moved some variables around in BuildFFUVM. Updated docs to be more clear. 2023-03-03 10:26:29 -08:00
rbalsleyMSFT e2dc9ee227 Update docs 2023-03-01 16:08:55 -08:00
rbalsleyMSFT f4f767c258 Create ~$ildDeployFFU.docx 2023-03-01 16:08:13 -08:00
rbalsleyMSFT 6ed00c4420 Update BuildDeployFFU.docx 2023-02-27 17:40:16 -08:00
rbalsleyMSFT 994cbc6bea Delete BuildWinPEDeploymentMediaVM.cmd 2023-02-27 15:42:57 -08:00
rbalsleyMSFT 4b959df197 Updated files 2023-02-27 15:31:49 -08:00
rbalsleyMSFT d06f7a884e Reorganized files into FFUDevelopment folder 2023-02-15 17:14:41 -08:00