Link to home
Start Free TrialLog in
Avatar of ndwHombre
ndwHombreFlag for United States of America

asked on

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.
ASKER CERTIFIED SOLUTION
Avatar of msgopakumar
msgopakumar

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
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.
 
Avatar of msgopakumar
msgopakumar

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
Avatar of ndwHombre

ASKER

Followed the steps from this link.  Worked fine.

http://support.microsoft.com/kb/137890