Windows Server 2016 Internet Connection Sharing Service automatically entering stopped state

Lim, Patrick 0 Reputation points
2023-01-30T07:26:09.0633333+00:00

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

User's image

Service found stopped each time.

Screenshot_761

Windows Server 2016
Windows Server 2016
A Microsoft server operating system that supports enterprise-level management updated to data storage.
2,316 questions
Windows Network
Windows Network
Windows: A family of Microsoft operating systems that run across personal computers, tablets, laptops, phones, internet of things devices, self-contained mixed reality headsets, large collaboration screens, and other devices.Network: A group of devices that communicate either wirelessly or via a physical connection.
598 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Pradeep Kini 75 Reputation points
    2023-01-30T07:41:46.3333333+00:00

    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 ?

    User's image


  2. Hania Lian (Shanghai Wicresoft Co,.Ltd.) 5,516 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.