Share via

IIS site bindings 'disable HTTP2' flag keeps resetting itself

Tom Ebht 1 Reputation point
2022-11-02T10:39:22.497+00:00

[Windows Server 2019 Standard Version 1809 Build 17763.3532, IIS-10.0.17763.1]

We run a few IIS web applications, which are not HTTP2 compatible. When the 'disable HTTP2' checkbox in the respective application binding dialogs are checked, everything works as intended.

Yet somehow the checkboxes keep resetting themselves (back to unchecked), resulting in HTTP2 being active for those applications thus causing connection errors. There is no time pattern behind this, sometimes the reset happens after a week, sometimes after a few days. The resets also don't seem to be related to reboots or any other regularly occuring change to the system.

As a work around, I have set up a Powershell script that takes care of the problem, however this is obviously not a very pleasant solution.

Is there any other way of solving this matter?

Thanks in advance,
Tom

Windows development | Internet Information Services
Windows for business | Windows Server | User experience | Other
0 comments No comments

3 answers

Sort by: Most helpful
  1. Sam Wu-MSFT 7,571 Reputation points Microsoft External Staff
    2022-11-03T02:48:10.29+00:00

    @Tom Ebht

    Besides disabling HTTP/2 in the site binding of https, you can also try disabling it in the registry:

    1. Start > Run and type regedit in the displayed box.
    2. Navigate to the folder/path: HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\HTTP\Parameters
    3. Under the Parameters folder, right-click in the right side pane, select New > DWORD (32-bit) value. Specify the value name as EnableHttp2Tls and set its value data to 0 (zero).
    4. Repeat that to add another value named EnableHttp2Cleartext and its value data to 0.
    5. Restart the machine.

    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    1 person found this answer helpful.
    0 comments No comments

  2. Limitless Technology 45,226 Reputation points
    2022-11-03T14:37:36.407+00:00

    Hi. Thank you for your question and reaching out.

    The value is probably set by a server policy that your administrators have created.

    -----------------------------------------------------------------------------------------------------------------------------------------------

    If the reply was helpful, please don’t forget to upvote or accept as answer

    0 comments No comments

  3. Bruce (SqlWork.com) 83,821 Reputation points
    2022-11-02T15:20:06.293+00:00

    Most likely your administrators have a server policy that sets the value.

    0 comments No comments

Your answer

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