How do I tell if a process/application is running on headless server?


  1. Posts : 13
    Windows 10 Home
       #1

    How do I tell if a process/application is running on headless server?


    I'll try to make this as un-convoluted as possible. I have multiple machines in my home. One of which, is a headless media server which runs Windows 10. This machine stays on 24/7 and runs various tasks, not the least of which is holding all of my media, and serving PLEX. What I want is for this machine to *always* be connected to a VPN. I have a VPN subscription, and on this machine, I have installed OpenVPN gui client. I can open the OpenVPN client and connect to the VPN just fine. Trouble is, I want this machine to *always* be connected.

    OK, now that the scenario has been built... The best way I could figure on doing this, was to create a task using Task Scheduler. I've got the task all set up as follows:

    GENERAL> "Run whether user is logged in or not" / "run with highest privileges"
    TRIGGERS> "At system Startup"
    ACTIONS> "start a program" - <path to .exe and arguments>

    My problem is that when I manually click "run", nothing happens, or at least, the program does not start. However, if I change the general setting to use a user account instead of "run whether user is logged in or not", when I click run, the program launches.

    Here's the conundrum I'm confronted with: If I have this task set to "start at login", how do I know the task is starting by itself? If I remote into the server machine(which is how I connect to it), then once the desktop loads, I would imagine OpenVPN is loaded, but I also just logged in! How can I tell if this process is running without my having to log in?

    Wow, that was really convoluted. I hope someone can help!

    Thanks in advance!
      My Computer

  2.   My Computer


  3. Posts : 9,790
    Mac OS Catalina
       #3

    You cannot unless you can get in with WinSCP or Putty.
      My Computer


  4. Posts : 4,201
    Windows 10 Pro x64 Latest RP
       #4

    Does this startup scheduled task create an entry in the Event log? either directly or indirectly - if so checking this log entry should give the assurance you are seeking. If it does not then adding a call to a batch file that creates a basic log file entry to the task should serve purpose
      My Computers


  5. Posts : 9,790
    Mac OS Catalina
       #5

    Barman58, I was thinking of maybe setting something to do a trigger to send a request for a small smtp mail server that could send a message out. There are some free SMS services out there that could be used to send a text message if the server goes down or comes back online, or even switches to UPS. Only problem is that if you lose Internet, they would have to have a way to send a alert from the server through a SMS broadcast.
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 10:39.
Find Us




Windows 10 Forums