Solved

Add command to startup on reboot and not just log in

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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Can't Print from Outlook 2003 2 39
Windows 2012 KMS Server Trial Key 5 234
Help with internal NTP server 12 51
Dell Latitude E7240 freezes when coming out of sleep 6 445
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. …
In a hurry?.. scroll down to "HERE's HOW TO DO IT" Section. Greetings All, I was going to post this as question/solution, but its seems more appropriate as an article considering its length.  I felt it important to illucidate all the details c…
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…
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…

803 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