• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 216
  • Last Modified:

How do I set a job to start (BAT file) at windows start but NOT when a user RDPs to the server?

I have a batch file that I want to start when a server is rebooted.

I added the batch file to HKLM/SOFTWARE/MICROSOFT/WINDOWS/CURRENTVERSION/RUN

Problem is the batch file runs as well if anyone does an RDP session to the server.

How can I make it run only on server start up?
0
FarrellFritz
Asked:
FarrellFritz
  • 2
1 Solution
 
FarrellFritzAuthor Commented:
Windows Task Scheduler?
0
 
FarrellFritzAuthor Commented:
Self Resolved.  Might be useful to others.
0

Featured Post

[Webinar] Database Backup and Recovery

Does your company store data on premises, off site, in the cloud, or a combination of these? If you answered “yes”, you need a data backup recovery plan that fits each and every platform. Watch now as as Percona teaches us how to build agile data backup recovery plan.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now