if you have added the EnableRebootPersistConnection DWORD to 1 then the service start up type will automatically start the service on Reboot. could you check the dependent services for ICS and whether they are reboot which could explain this ?
Windows Server 2016 Internet Connection Sharing Service automatically entering stopped state
Hi there,
I have a few servers that are currently running Windows Server 2016 and despite performing the steps in https://learn.microsoft.com/en-us/troubleshoot/windows-client/networking/ics-not-work-after-computer-or-service-restart, what I notice is that every quarter, the service automatically stops and it triggers alarms on the software that we're running. This has consistently happened more on servers that underutilises the shared internet connection versus others. As such, I was wondering whether the workaround above just increases the timeout to the maximum (2 quarters I guess?) before it expires and automatically ends the service.
Please advise and if I'm in the wrong forum, appreciate if I can be pointed to the right direction. I'm guessing that Win Server 2016 is equivalent to Win 10.
Frequency of ICS service stopping over the past year
Service found stopped each time.
2 answers
Sort by: Most helpful
-
-
Hania Lian 21,196 Reputation points Microsoft Vendor
2023-01-31T02:19:13.5833333+00:00 Hi.
You can try the following:
To make the ICS service start automatically, try setting the DWORD value of EnableRebootPersistConnection to 1 under this registry path:
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\SharedAccess
Or you can use PowerShell commands to create registry parameters:
Refer to this link for details:https://woshub.com/internet-connection-sharing-not-working-windows-reboot/
Hope the information is helpful.
============================================
If the Answer is helpful, please click "Accept Answer" and upvote it.