Add command to startup on reboot and not just log in
I'm trying to run a netmon right after a reboot. The only success I've had is adding the command to the RunOnce registry and adding it to the Startup Programs. The problem is that this works only after a user logs in and I need to have the netmon start immediately after a reboot regardless of whether a user has logged in or not.
The application should be capable of running as a service if you need to do it. If the application has to interact with desktop then the only way is to enable autologon on servers. But remember if u enable autologon you cannot compromise on physical access to the device.
see if there is a service already for that application in services.msc.
LEt me know how it goes.
srvany doesn't require autologon. also the program doesn't need to be capable of running as a service.
i used this to run a batch file to map a drive while a streaming server is restarted
http://support.microsoft.com/kb/137890
i found some alternatives too. looks like it may be a better option, but i have no experience using these.
http://www.sharewareconnection.com/titles/srvany.htm
http://iain.cx/src/nssm/
--Gopa