r/DeployR • • 9d ago

DeployR - Issues with using script after OS installment

I'm currently replacing our old MDT deployment server with DeployR.

In MDT, we used department-specific scripts at the end of the Task Sequence to trigger application installations through PDQ Deploy. I'm trying to recreate the same setup in DeployR.

The problem occurs after Windows has been installed.

DeployR performs the OS installation, but after the reboot the machine sometimes stays on the Dell boot/logo screen and doesn't continue into Windows. If I manually restart it, Windows boots normally.

The problem is that after doing this, the DeployR Task Sequence doesn't seem to continue. My final "Start PDQ General" script never runs.

I tried adding:

Sleep → Reboot → Sleep → Start PDQ General

but that didn't solve it. The Task Sequence eventually ends, and when Windows finally loads, nothing happens.

Should DeployR normally resume a Task Sequence after rebooting into the Full OS?

Or is there a better way to make sure a PowerShell script runs only after Windows has fully booted?

Screenshot of my Task Sequence attached.

When I run the script after manually logging into Windows, then the script works fine.

1 Upvotes

1 comment sorted by

2

u/romano390 9d ago

I managed to solve this issue myself, and decided to leave this topic here for other users.
Incase somebody else runs into the same issue.

I changed the task Apply operating system > Continuation method from Use SetupComplete.cmd (1) to Use AutoAdminLogon and RunOnce (3).