Some of our Win-10 Jenkins agents were very seriously affected by JENKINS-47657, and was going offline for no apparenty reason several times per day.
As a workaround, I added a batch script (EnsureJenkinsServiceRunnning.cmd) to check the status of the service every 10 minutes, and restarting the service if stopped. The script was published in this comment. Unfortunately the problem has still not been fixed and have just been de-prioritized even more (no longer assigned to anybody) which is why I also add it here.
The batch must be scheduled by Windows Schedule Tasks service, and set to run as a high priority task whenever the computer starts. Note the script must be run by at least a local administrator.
Note: This script can be used to restart any service that for one reason or another suddenly quits when it shouldn't.