I'm on the latest version of Windows 10. I'm using my huawei E3272 to share Mobile connection to the router. This works great until I reboot my computer. Sharing option is still checked, but sharing is not working. I checked services - it seems that all of required by ICS are working. The rourer connection just say "No connection access". Then I uncheck and check again sharing option on Mobile connection - it works great again. Best solution at this moment would be to use some restart ICS script. I found icsmanager but unfortunately sometimes it throws Unhandled Exception: System.AccessViolationException exactly like in this I posted this issue some time ago on Microsoft support site, i don't know if they're going to fix this or no. Maybe someone also had this issue and resolved it?
71 Answer
An optional “EnableRebootPersistConnection” registry key was introduced in KB4054517 (included in 1709). Setting this key to 1 (see below) and the ICS service startup type to "Automatic" fixes the issue for me.
A quote from KB4055559:
1To fix this issue, set the following registry subkey:
Path: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\SharedAccess Type: DWORD Setting: EnableRebootPersistConnection Value: 1
Then, change the ICS Service Startup mode to Automatic.