Solved

Add command to startup on reboot and not just log in

Posted on 2009-05-05
4
239 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Get HTML5 Certified

Want to be a web developer? You'll need to know HTML. Prepare for HTML5 certification by enrolling in July's Course of the Month! It's free for Premium Members, Team Accounts, and Qualified Experts.

Question has a verified solution.

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

INTRODUCTION The purpose of this document is to demonstrate the Installation and configuration of the Data Protection Manager product. Note that this demonstration was prepared on the basis of Windows OS is 2008 R2 and DPM 2010. DATA PROTECTI…
Ever notice how you can't use a new drive in Windows without having Windows assigning a Disk Signature?  Ever have a signature collision problem (especially with Virtual Machines?)  This article is intended to help you understand what's going on and…
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…
Windows 8 came with a dramatically different user interface known as Metro. Notably missing from that interface was a Start button and Start Menu. Microsoft responded to negative user feedback of the Metro interface, bringing back the Start button a…

630 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