Commit Graph

231 Commits

Author SHA1 Message Date
rbalsleyMSFT b5b43c2e42 Fix an issue with SecurityHealthSetup install 2024-03-22 17:17:14 -07:00
rbalsleyMSFT 48c31bc169 Merge pull request #14 from zehadialam/11-24031
Introduce Automated ADK Retrieval and Installation Functions
2024-03-22 17:14:39 -07:00
Zehadi Alam 662572e5e5 Add clarifying comments to Install-ADK function 2024-03-18 19:45:08 -04:00
Zehadi Alam ab86c5e1ac Add Get-ADKURL and Install-ADK functions
This commit introduces two new functions, Get-ADKURL and Install-ADK, to facilitate the retrieval and installation of the Windows Assessment and Deployment Kit (ADK) components.

The Get-ADKURL function retrieves the download URL for the specified ADK option (either "Windows ADK" or "WinPE Add-on") from the official Microsoft documentation page. It utilizes web scraping to extract the URL dynamically.

The Install-ADK function downloads the specified ADK component from the obtained URL and installs it silently on the system. It handles errors gracefully and cleans up the temporary installation file after completion.

These functions enhance the automation capabilities of the project by simplifying the process of acquiring and installing ADK components required for Windows deployment and assessment tasks.
2024-03-18 18:35:37 -04:00
rbalsleyMSFT 3686294d4c Merge pull request #12 from rbalsleyMSFT/9-24021-feature-list
2402.1 PR
2024-03-11 16:22:39 -07:00
rbalsleyMSFT d07ce0a279 Merge branch '9-24021-feature-list' of https://github.com/rbalsleyMSFT/FFU into 9-24021-feature-list 2024-03-11 16:20:10 -07:00
rbalsleyMSFT 2df568c215 update docs 2024-03-11 16:20:08 -07:00
rbalsleyMSFT 37607e7cb7 update readme 2024-03-11 16:19:08 -07:00
rbalsleyMSFT bc498995e9 update docs 2024-03-11 12:04:19 -07:00
rbalsleyMSFT c7cef66aff count folders within drivers folder, not all objects. 2024-03-08 16:23:42 -08:00
rbalsleyMSFT 5a5947d9b0 Added $CleanupCaptureISO, $CleanupDeployISO, $CleanupAppsISO, and $CompactOS to allow for control over cleanup of generated ISOs and whether OS is compacted at install 2024-03-08 15:40:30 -08:00
rbalsleyMSFT 2526722c15 Added $CopyPEDrivers variable to handle copying PEDrivers to boot media 2024-03-08 11:44:32 -08:00
rbalsleyMSFT 980ba025a3 added $CopyPPKG, $CopyUnattend, $CopyAutopilot, and $CompactOS variables and fixed some logging 2024-03-08 10:31:47 -08:00
rbalsleyMSFT 0b334ad95e Added functionality to download latest CU, Defender, OneDrive, Edge 2024-02-26 18:06:16 -08:00
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 3a83d6e642 Merge pull request #8 from rbalsleyMSFT/4-23101-featurefix-list
update readme
2024-01-26 14:41:44 -08:00
rbalsleyMSFT 015816f3d6 update readme 2024-01-26 14:36:23 -08:00
rbalsleyMSFT d7b6b83247 Merge pull request #7 from rbalsleyMSFT/4-23101-featurefix-list
2401.1 Update
2024-01-26 14:31:43 -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 de3423c3c7 Update README.md 2023-09-15 10:52:01 -07:00
rbalsleyMSFT 465a5b288c Update README.md 2023-09-15 10:43:32 -07:00
rbalsleyMSFT 603aaea9e3 Merge pull request #3 from rbalsleyMSFT/v_next
2309.2
2023-09-15 10:32:48 -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 d6c46ff304 Update README.md 2023-09-07 10:43:50 -07:00
rbalsleyMSFT 56ef765907 Merge pull request #2 from rbalsleyMSFT/vnext
Fixed an issue with Critical Process Died BSOD
2023-09-07 10:38:31 -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 c74a61ecfa updated readme.md 2023-06-29 12:09:20 -07:00
rbalsleyMSFT 694c41567c Merge pull request #1 from rbalsleyMSFT/vnext
Vnext
2023-06-29 12:06:30 -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 6f45d6fe04 Update readme with 2306.1.1 note 2023-06-02 13:58:20 -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 5e7da0e0c5 Merge branch 'main' of https://github.com/rbalsleyMSFT/FFU 2023-06-01 14:20:24 -07:00
rbalsleyMSFT 70ae2272e2 2306.1 release
See readme.md for more info
2023-06-01 14:20:17 -07:00
rbalsleyMSFT 77df36c961 Update README.md 2023-06-01 14:13:55 -07:00
rbalsleyMSFT 5f8af1bb0d Update README.md 2023-05-25 12:47:21 -07:00
rbalsleyMSFT b56b09737b Update README.md 2023-05-25 12:37:44 -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 0898bae80e Merge branch 'main' of https://github.com/rbalsleyMSFT/FFU 2023-05-22 17:03:33 -07:00
rbalsleyMSFT c0ef99d8e4 removed old FFUDev folder 2023-05-22 17:03:30 -07:00