Solved

Add command to startup on reboot and not just log in

Posted on 2009-05-05
4
237 Views
Last Modified: 2012-05-06
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.
0
Comment
Question by:ndwHombre
  • 2
4 Comments
 
LVL 2

Accepted Solution

by:
msgopakumar earned 500 total points
ID: 24310006
you can use srvany from microsoft. i used it successfully many times.  here is the link
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
0
 
LVL 6

Expert Comment

by:question
ID: 24311179
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.
 
0
 
LVL 2

Expert Comment

by:msgopakumar
ID: 24311479
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
0
 

Author Comment

by:ndwHombre
ID: 24321072
Followed the steps from this link.  Worked fine.

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

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Event ID 10010 3 69
sbs 2011 6 29
Foundation won't redirect my printers 2 37
Check Disk (CHKDSK) on all volumes and fix if needed. 8 201
Introduction: I have always been a big fan of Windows but my liking towards it is slowly being eroded by the variety of other Applications that I encounter, when I browse the Web. Most of the software available is free and maybe Open Source too. …
Many times while working on a computer regardless of any Operating System, lag and crashes seem to creep in, hindering your working speed. Sometimes, it can also cause your work to be lost unexpectedly and as a result, you are unable to meet your de…
This video Micro Tutorial explains how to clone a hard drive using a commercial software product for Windows systems called Casper from Future Systems Solutions (FSS). Cloning makes an exact, complete copy of one hard disk drive (HDD) onto another d…
Windows 8 comes with a dramatically different user interface known as Metro. Notably missing from the new interface is a Start button and Start Menu. Many users do not like it, much preferring the interface of earlier versions — Windows 7, Windows X…

808 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question