-
-
Notifications
You must be signed in to change notification settings - Fork 358
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Windows Update removing service #231
Comments
I've never heard of WUS uninstalling user-installed processes, nor do I see how it would touch node-windows at all. I'd need to see more evidence that node-windows is actually related to this (i.e. I'm not even sure if this is something that can be handled or where to start troubleshooting). |
I can confirm the problem with disappearing services. Most services are not installed on machines that I control, but I have also linked it to Windows Update. |
On the second thought it might be more of https://github.com/kohsuke/winsw/ business. |
I'm encountering this issue now. I have a machine which was running an installed service consistently through reboots but this morning after it automatically installed 20H2, the service is missing in the Services list. Running the install function again emits the "alreadyinstalled" event so I'm unable to reinstall or restart the service. Installing the same service under a different name works for the time being. |
If an attempt to reinstall triggers the |
I didn't have a chance to try that before uninstalling/re-installing the service, but the service also did not start at boot-up after a few attempts which is what prompted me to check the list. |
@daviditsygin I'd double check any logging to assure the Windows update didn't cause the app to break. If node-windows detects too many restarts (i.e. launches, fails immediately), then it will gradually back off and eventually stop attempting to restart the service. So, if there was an error in the app caused by the update, it could look like it's not starting, even if it is starting/stopping/backing off rapidly. It's a rare circumstance, but I can't think of anything else that would cause this behavior. |
We had to disable windows updates completely on all our workstations for the time being as it would uninstall the service that would launch our node app at boot. Unfortunately I don't have any logs but it was definitely due to updates. |
I had the same issue recently after Windows Upgrade to 20H2, all services still there, but were unable to restart.
myService.err from daemon
details are in this thread #314 (comment) |
Whenever there's a automated Windows Update (Windows 10) the service that was installed will no longer be installed. Is there a way to prevent this from happening?
The text was updated successfully, but these errors were encountered: