Hello. I am trying to get an updated VM (that had been working fine until now) to sysprep as part of creating new VMs for an AVD pool. But sysprep isn't completing like usual. It starts off and gets to "Processing generalize phase Sysprep plugins". Looking at the log, it shows it started SysprepGeneralize (Appx) and then stops logging and never ends. There are no error messages. Typically, this process only takes couple minutes to complete. But after an hour I just stop it because it's not making progress.
Here's the tail of the log:
2023-12-12 06:15:20, Info SYSPRP Entering SysprepGeneralize (Appx).
2023-12-12 06:15:21, Info SYSPRP All appx packages were verified to be inbox or alluser installed.
2023-12-12 06:15:21, Info SYSPRP Package Microsoft.Wallet_2.4.18324.0_x64__8wekyb3d8bbwe was removed
2023-12-12 06:15:22, Info SYSPRP Package Microsoft.UI.Xaml.2.7_7.2208.15002.0_x64__8wekyb3d8bbwe was removed
2023-12-12 06:15:22, Info SYSPRP Package Microsoft.UI.Xaml.2.7_7.2208.15002.0_x86__8wekyb3d8bbwe was removed
2023-12-12 06:15:22, Info SYSPRP Package Microsoft.UI.Xaml.2.3_2.32002.13001.0_x86__8wekyb3d8bbwe was removed
2023-12-12 06:15:23, Info SYSPRP Package Microsoft.UI.Xaml.2.3_2.32002.13001.0_x64__8wekyb3d8bbwe was removed
2023-12-12 06:15:24, Info SYSPRP Package Microsoft.WindowsSoundRecorder_10.2103.28.0_x64__8wekyb3d8bbwe was removed
2023-12-12 06:15:25, Info SYSPRP Package Microsoft.ZuneVideo_10.22091.10031.0_x64__8wekyb3d8bbwe was removed
2023-12-12 06:15:26, Info SYSPRP Package Microsoft.WindowsAppRuntime.1.2_2000.777.2143.0_x64__8wekyb3d8bbwe was removed
2023-12-12 06:15:26, Info SYSPRP Package Microsoft.ZuneMusic_11.2212.31.0_x64__8wekyb3d8bbwe was removed
2023-12-12 06:15:27, Info SYSPRP Package Microsoft.WindowsAppRuntime.1.2_2000.802.31.0_x64__8wekyb3d8bbwe was removed
2023-12-12 06:15:28, Info SYSPRP Package Microsoft.WindowsAppRuntime.1.2_2000.802.31.0_x86__8wekyb3d8bbwe was removed
2023-12-12 06:15:28, Info SYSPRP Package Microsoft.VCLibs.140.00_14.0.32530.0_x64__8wekyb3d8bbwe was removed
2023-12-12 06:15:28, Info SYSPRP Package Microsoft.UI.Xaml.2.8_8.2310.30001.0_x64__8wekyb3d8bbwe was removed
2023-12-12 06:15:29, Info SYSPRP Package Microsoft.UI.Xaml.2.8_8.2310.30001.0_x86__8wekyb3d8bbwe was removed
2023-12-12 06:15:29, Info SYSPRP Package Microsoft.WindowsCamera_2023.2311.5.0_x64__8wekyb3d8bbwe was removed
2023-12-12 06:15:30, Info SYSPRP Package Microsoft.549981C3F5F10_4.2308.1005.0_x64__8wekyb3d8bbwe was removed
2023-12-12 06:15:31, Info SYSPRP Package Microsoft.MicrosoftEdge.Stable_119.0.2151.97_neutral__8wekyb3d8bbwe was removed
2023-12-12 06:15:32, Info SYSPRP Package microsoft.windowscommunicationsapps_16005.14326.21752.0_x64__8wekyb3d8bbwe was removed
2023-12-12 06:15:32, Info SYSPRP Package Microsoft.SkypeApp_15.109.3209.0_x64__kzf8qxf38zg5c was removed
2023-12-12 06:15:33, Info SYSPRP Package AdobeAcrobatReaderCoreApp_23.0.0.0_x64__pc75e8sa7ep4e was removed
2023-12-12 06:15:35, Info SYSPRP Package Microsoft.Windows.Photos_2023.11110.6001.0_x64__8wekyb3d8bbwe was removed
2023-12-12 06:15:35, Info SYSPRP Package Microsoft.People_10.2202.33.0_x64__8wekyb3d8bbwe was removed
2023-12-12 06:15:36, Info SYSPRP Package Microsoft.BingWeather_4.53.52331.0_x64__8wekyb3d8bbwe was removed
2023-12-12 06:15:37, Info SYSPRP Package Microsoft.WindowsMaps_11.2311.1.0_x64__8wekyb3d8bbwe was removed
2023-12-12 06:15:37, Info SYSPRP Package Microsoft.WindowsStore_22311.1401.2.0_x64__8wekyb3d8bbwe was removed
Here are the commands I'm using:
cd C:\Windows\System32\Sysprep
sysprep.exe /generalize /oobe /mode:VM /shutdown
Can someone please give me some suggestions as to what's wrong?