tis-disable-llmnr-bonjour icon

tis-disable-llmnr-bonjour

Silent install package for tis-disable-llmnr-bonjour

1.0-6

Preprod packages are packages built on LUTI. They remain in PREPROD usually for 5 days, after which a second VirusTotal scan is performed to verify that the status has not changed.
If the package passes this last check, it is promoted to PROD and published on the store.

  • package: tis-disable-llmnr-bonjour
  • version: 1.0-6
  • maintainer: Tranquil IT
  • target_os: windows
  • architecture: all
  • signature_date:
  • size: 8.52 Ko

package           : tis-disable-llmnr-bonjour
version           : 1.0-6
architecture      : all
section           : base
priority          : optional
name              : 
categories        : 
maintainer        : Tranquil IT
description       : Disable LLMNR and Remove Bonjour
depends           : 
conflicts         : 
maturity          : PREPROD
locale            : 
target_os         : windows
min_wapt_version  : 2.5
sources           : 
installed_size    : 
impacted_process  : 
description_fr    : 
description_pl    : 
description_de    : 
description_es    : 
description_pt    : 
description_it    : 
description_nl    : 
description_ru    : 
audit_schedule    : 
editor            : 
keywords          : 
licence           : 
homepage          : 
package_uuid      : c2b0e898-a91f-4d78-aa5c-b1609ea58f17
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : 
min_os_version    : 
max_os_version    : 
icon_sha256sum    : 3b7f681681359669c42f09c7950472333db2c951ab10e14ab1227b9a9e47d299
signer            : test
signer_fingerprint: b82fc8ef4a4475c0f69ac168176c2bfc58f572eb716c4eadd65e4785c155dd8e
signature_date    : 2026-01-05T08:44:42.000000
signed_attributes : package,version,architecture,section,priority,name,categories,maintainer,description,depends,conflicts,maturity,locale,target_os,min_wapt_version,sources,installed_size,impacted_process,description_fr,description_pl,description_de,description_es,description_pt,description_it,description_nl,description_ru,audit_schedule,editor,keywords,licence,homepage,package_uuid,valid_from,valid_until,forced_install_on,changelog,min_os_version,max_os_version,icon_sha256sum,signer,signer_fingerprint,signature_date,signed_attributes
signature         : BlDHAVuWH7BDQ3ANo8q+9K0lGWcn/gDcJyLGLBESlejO8nWlgc2MB8TLZ9+UyrIfqIbYW0ECdPrxgmfOmiE1l5zQbNJG4VICMhhgd+6Qc9x1WKqRu9L4qn68ezAIcefYhKbULjN0wbdwsv52hjAlATIcEvd/f1uWTXkhbN1+0nuw/rSo1R6E4LLmvTEmzhsgtOSxO31as9TdUuOqiD3p3ErFC/Njpcdw6TmsB9JxgE/QwDm2cty7AC+CzUFWmE29uQpUbPdiUHgTKESZCK8WW3hIIRu0k5Ut0+VeOMKTRfnLXu37xQ5Fe+MPs9vM1ty3uorc/tyM2cnD0eGPi2KDpQ==

# -*- coding: utf-8 -*-
from setuphelpers import *

uninstallkey = []
if iswin64():
    installed_path = [programfiles32,programfiles64]
else:
    installed_path = [programfiles]

def install():
    audit()
    pass

def uninstall():
    print('uninstalling %s' % control.asrequirement())
    # put here what to do when package is removed from host
    # implicit context variables are WAPT, control, user, params, run

def session_setup():
    print('Session setup for %s' % control.asrequirement())
    # put here what to do when package is configured inside a user session
    # implicit context variables are WAPT, control, user, params

def audit():
    warning = False
    print('Auditing %s' % control.asrequirement())

    EnableMulticast = registry_get(HKEY_LOCAL_MACHINE,r'SOFTWARE\Policies\Microsoft\Windows NT\DNSClient','EnableMulticast')
    if EnableMulticast != 0:
        print("LLMNR enabled")
        autofixllmnr()

        EnableMulticast = registry_get(HKEY_LOCAL_MACHINE,r'SOFTWARE\Policies\Microsoft\Windows NT\DNSClient','EnableMulticast')
        if EnableMulticast != 0:
            warning = True

    if installed_softwares("Bonjour"):
        if service_installed("Bonjour"):
            service_stop("Bonjour")

        for soft in installed_softwares("Bonjour"):
            run_notfatal(uninstall_cmd(soft['key']))

        print(installed_softwares("Bonjour"))

        warning = True
    else:
        print('No Bonjour service found')

    if warning :
        return "WARNING"
    else:

        print("Ok, mDNS/Bonjour not seen on this computer")
        return "OK"

def autofixllmnr():
    print('try to fix LLMNR')
    registry_set(HKEY_LOCAL_MACHINE,r'SOFTWARE\Policies\Microsoft\Windows NT\DNSClient','EnableMulticast',0)

5a14c1c45b2c6e8f0482eade49ae7067c749891fd599d52ff274b551b8df019c : .gitignore
9aa7772cc6ea3d640f4665d539b898bb4d898e1e852f63efa61929218623f717 : README.md
01ca7fe94636e5a08fcb73849d3b5df25d51e2c82f4dd1a08f01798b25899819 : WAPT/certificate.crt
b1b9eda1d250ed4b490b4095137e368cf42e085714f10edc79da19f76f35c70f : WAPT/control
3b7f681681359669c42f09c7950472333db2c951ab10e14ab1227b9a9e47d299 : WAPT/icon.png
945af99e23bd0e4f5708da9bb121e4671f923d1c0a38eefadee7fd4a64ab8752 : luti.json
77513f57e1fc8ab51f64cd870f9b0efdf212156822b154f9ff9c35905f95a2a4 : setup.py