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

  1.    08 Oct 2017 #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 ComputerSystem Spec

  2.   My ComputerSystem Spec

  3. bro67's Avatar
    Posts : 5,274
    Mac OS High Sierra 10.14.3 Beta (18D21c)
       10 Oct 2017 #3

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

  4. Barman58's Avatar
    Posts : 2,837
    Windows 10 Pro x64 1809 - 17763.134 XP/Vista/Win7/Win8.1 in VM for testing
       10 Oct 2017 #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 ComputerSystem Spec

  5. bro67's Avatar
    Posts : 5,274
    Mac OS High Sierra 10.14.3 Beta (18D21c)
       10 Oct 2017 #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 ComputerSystem Spec


Related Threads
WDSC: Another Process is Running 15063.14 in AntiVirus, Firewalls and System Security
We keep on getting this message at least twice a day for 2 days. The new defenition is applied after closing/reopening the app.
A process is an instance of a program that is being executed. Each process running in Windows is assigned a unique decimal number called the process ID, or PID. Run as different user allows a user to run .bat, .cmd, .exe, .msc, and .msi files...
RDP to Headless Media Server in Network and Sharing
Not sure which area of the forum to post this, and thought the networking was probably the most relevant. I've built a home media server using a little AMD 5350 on a mini ITX board. I installed Windows 10 on it this week as I couldn't get my...
Hi there I know loads of people here use NAS boxes one way or another. I'm torn between getting a standard NAS box or using a home build Linux headless server for similar --using Linux LVM makes creating Logical data spaces out of multiple...
Hi, I just upgraded to windows 10 today, and when I try to log in the first message it gives me is a ridiculous long error code, and wont let me do anything. "c:windows\system32\config\systemprofile\desktop is not available....." or something...
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 23:46.
Find Us