Hey folks! I'm currently setting up my company's golden image (yes, we're still using those), and I'm running into an issue with startup programs. I have a script that I need to trigger after the user logs in, and I put it in the shell common startup folder. However, there's a delay of about 30 seconds after the user lands on the desktop before the script actually runs. We have some essential services running, like our VPN, Quest KACE, and CrowdStrike, but that's about it. Unfortunately, using Task Scheduler is off the table for my company, and I've also tried adding it to the registry's run section, but no luck there either. Has anyone dealt with something similar or have any ideas on how to speed this up?
4 Answers
No Task Scheduler? That’s ridiculous! So many people use it to manage startup tasks efficiently. Seems like a missed opportunity.
One trick that worked for me was tweaking the registry. You can set
[HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionExplorerSerialize]
"StartupDelayInMSec"=dword:00000000
"WaitForIdleState"=dword:00000000
This helped eliminate some of the delays at startup for my scripts.
I’m not sure if it’s something with my company’s image, but on my setup, it takes a good 45-60 seconds before I can even open Outlook or Teams. My VPN login page is a real slowpoke too—it takes over 2 minutes to come up!
That's odd, especially since our VPN authenticates quickly due to a 24-hour retention policy. After that, it pauses for 20 seconds before running scripts. Just seems strange!
I’ve been noticing that in Windows 11, if it thinks there's no internet connection, it can really delay the launch of applications. It could be worth checking if your machine is struggling to recognize the internet right at login. Sometimes it waits to verify the connection status before trying to launch anything, which causes delays.
Yeah, I’ve seen that too. It checks the connection and if there's a hiccup, it makes you wait longer than it should.
I totally agree, it’s insane! You’d think they’d find a way for it to work, but I guess company policies can be wild.