I installed a Windows Server 2003 virtual machine (KVM, VM specs 1x 3.8GHz and 1.5GB RAM) and I would like it to autostart a .NET framework 3.5 application right after login.
Unfortunately it takes approximately 30 seconds for my application to start up after the desktop is visible. If I start a different application (such as notepad.exe) manually instead it fires up pretty much instantly. Or if I wait 30 seconds and start my application manually it also starts up instantly.
Is there sort of a default delay for autostart applications or is there another factor I probably don’t know about? In order to autostart the application I simply put a shortcut into the All Programs / AutoStart directory of my start menu.
Any help would be highly appreciated. Thanks for reading.
Edit 1: The CPU usage of my process stays at 0% for the first 30 seconds
I have seen similar behavior with XP, and it tends to be applications that require network connections. For some reason, it can take a while to set up the LAN connection upon bootup.
Is your application using the NIC? If so, i’t probably sitting there, waiting for the network to come up.