Why is my Windows Service getting deleted after a Windows Update on Win 10
I am running a Windows 10 virtual machine on Azure. I have deployed my application using simple copy file approach (not MSI). After which, i am successfully creating the service using SC.exe as follows:
Everything works as expected for weeks (including many reboots) until the next Windows update is taken. After taking the Windows update, the service appears to have been deleted. I need to rerun the script above to create the service each time a windows update occurs.
Not sure how to confirm that this is the answer. It will take time to know if this is the right solution. I hope it is, but cannot confirm until we get a few more updates to OS.
McKnife
Take a test installation with windows 10 v1703, create that service, do an inplace upgrade to version v1709 and see if the service remains there. Of course you might be running other builds of windows 10, take those that you use.
McKnife
RXGeorge, it is not that hard to try. Please return with feedback or this will be deleted.