def METHOD_NAME():
    key = "SYSTEM\\CurrentControlSet\\Services\\NTDS\\Parameters"
    vname = "LdapEnforceChannelBinding"
    setting = "When supported"
    win_reg.delete_value(hive="HKLM", key=key, vname=vname)
    try:
        win_lgpo.set_computer_policy(name=vname, setting=setting)
        result = win_reg.read_value(hive="HKLM", key=key, vname=vname)
        assert result["vdata"] == 1
    finally:
        win_reg.delete_value(hive="HKLM", key=key, vname=vname)