Solved

Add command to startup on reboot and not just log in

Posted on 2009-05-05
4
229 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

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

This is a little timesaver I have been using for setting up Microsoft Small Business Server (SBS) in the simplest possible way. It may not be appropriate for every customer. However, when you get a situation where the person who owns the server is i…
When you upgrade from Windows 8 to 8.1 or to Windows 10 or if you are like me you are on the Insider Program you may find yourself with many 450MB recovery partitions.  With a traditional disk that may not be a problem but with relatively smaller SS…
In this video, we discuss why the need for additional vertical screen space has become more important in recent years, namely, due to the transition in the marketplace of 4x3 computer screens to 16x9 and 16x10 screens (so-called widescreen format). …
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…

759 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now