I've written a small program that displays an acceptable use policy. Users have a choice of not accepting, whereupon they're logged off, or accepting it, whereupon another screen appears that gives them some information. They click a button on it and the Desktop appears.
Stupid me, I thought I could put this in the user's Startup folder and it would appear immediately after login. But no, the Desktop appears first and a few seconds later my program appears. I've tried enabling the "Run these programs at user logon" (User Config > System > Logon) Group Policy, but it didn't help. And I've tried using Task Scheduler to run my program after logon, which has the shortest delay between login screen and my program but the Desktop still appears briefly. Is there a way to delay the Desktop's appearance, bypass it and spawn it later, or otherwise be first in line to appear?