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 for business | Windows Client for IT Pros | Networking | Network connectivity and file sharing
Windows for business | Windows Server | User experience | Other
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. Anonymous
    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.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.