1.    08 Oct 2017 #1
    Join Date : Sep 2015
    Posts : 10
    Windows 10 Home

    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.    08 Oct 2017 #2
    Join Date : Jul 2016
    Crewe Cheshire
    Posts : 1,451
    windows 10
      My ComputerSystem Spec
  3.    10 Oct 2017 #3
    Join Date : May 2015
    Central IL
    Posts : 4,221
    Mac OS Sierra

    You cannot unless you can get in with WinSCP or Putty.
      My ComputerSystem Spec
  4.    10 Oct 2017 #4
    Join Date : Oct 2013
    Newport, South Wales, UK
    Posts : 1,808
    Windows 10 Pro x64 FCU - XP/Vista/Win7/Win8.1 in VM for testing

    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.    10 Oct 2017 #5
    Join Date : May 2015
    Central IL
    Posts : 4,221
    Mac OS Sierra

    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

 


Similar Threads
Thread Forum
WDSC: Another Process is Running 15063.14
We keep on getting this message at least twice a day for 2 days. The new defenition is applied after closing/reopening the app.
AntiVirus, Firewalls and System Security
User Accounts See What User a Process is Running As in Windows 10
How to See What User a Process is Running As in Windows 10 Run as different user allows a user to run .bat, .cmd, .exe, .msc, and .msi files with different permissions than the user's current logon provides. Run as different user will only...
Tutorials
RDP to Headless Media Server
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...
Network and Sharing
NAS or Headless Linux box for multimedia server etc
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...
Network and Sharing
Explorer.exe The server process could not be started because the...
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...
General Support
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 19:35.
Find Us
Twitter Facebook Google+ Ten Forums iOS App Ten Forums Android App



Windows 10 Forums