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.