top of page

Windows Provisioning Failures with Timeout Error

  • Writer: Barry Ling
    Barry Ling
  • 1 day ago
  • 1 min read
ree

In some cases, the Horizon failed the desktop pool provisioning with timeout error.

ree

It happens on both different automatic pool types. And turn out the reason is the process stuck during Windows sysprep. Since the Windows desktop in automatic pool will have a customization process with sysprep. The desktop provisioning will fail If the sysprep failed.


This always happens on Windows 23H2 or above. This due to some pre-installed Appx package is not compatbile with sysprep. But the sysprep process failed to remove it and cause the whole desktop provisioning process failed.


To verify the case, you could run the sysprep.exe on the master image. It locates at c:\Windows\System32\Sysprep\.


ree

Select "OOBE" and check "Generalize".

Click "OK" to strat the process.

ree

If the sysprep failed with following error message, it is most likely the error mentioned.

ree

You can access the sysprep log file located at:

%WINDIR%\System32\Sysprep\Panther\Setupact.log


And you will find error like following. It will mention which package holding the process.


ree

The next step you will need to remove the package manually by Powers\Shell command.


Open the PowerShell . Run command.


Remove-AppxPackage [Package name shown in the Sysprep log].


Since there may have more than one package holding the process. Please repeat the sysprep.exe process untill all Appx packages have been identified and removed.





----- END -----

Comments


Post: Blog2_Post

Subscribe Form

Thanks for submitting!

  • Facebook
  • Twitter
  • LinkedIn

©2021 by Cifos EUC. Proudly created with Wix.com

bottom of page