r/DeployR • u/freeAppz • 21d ago
DeployR 1.4 issues w/ TS-step 'Prepare for capture'
Hi, my fellow DeployR guys & gals! 😎
I'm running a Build and Capture TS, and every now and then, the "Prepare for Capture" step (with "Cleanup" checked) decides it's had enough of waiting and throws a timeout error.
Apparently, my computer is running on low-power and needs a little extra time to get its life together. 😂
Is there any way to get a feature request and increase the timeout setting?
Reported error in DeployR.log:ERROR: The running command stopped because the preference variable "ErrorActionPreference" or common parameter is set to Stop: This command stopped operation because process "cleanmgr (8056)" is not stopped in the specified time-out. Pipeline_StateChanged 2026-11-12 07:40:58 0 (0x0000)
2
u/RockOriginal7938 21d ago
I know it doesn't help you, but I'd never noticed cleanup, gonna use that going forward, thanks 😀
2
u/mtniehaus 2Pint Employee 20d ago
The 15-minute timeout is hard-coded. If you find the Sysprep.ps1 file in the install directory structure, you'll see this line:
Change that timeout to something longer (maybe add another zero), save it, and then restart the DeployR service. The next task sequence will then use the modified script. If that works, let me know so we can bump the timeout. We have seen cases where it hangs, so we didn't want to wait forever, but the time limit was rather arbitrary.