tis-disable-autoruns 1.0.0-2

  • package : tis-disable-autoruns
  • version : 1.0.0-2
  • description : Disable autoruns for removable devices
  • maintainer : TIS Tranquil IT Systems
  • date : 2018-02-27 18:58:39

setup.py

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

uninstallkey = []

def install():
    print("Disable autoruns")
    registry_setstring(HKEY_LOCAL_MACHINE, r"Software\Microsoft\Windows\CurrentVersion\Policies\Explorer",'NoDriveTypeAutoRun',255, type=REG_DWORD)

def uninstall():
    print("Re-enable autoruns")
    registry_setstring(HKEY_LOCAL_MACHINE, r"Software\Microsoft\Windows\CurrentVersion\Policies\Explorer",'NoDriveTypeAutoRun',0, type=REG_DWORD)
    

Changelog

No changelog
    

manifest.sha256

[["setup.py", "aa9b0830bb7d7dab90754622020bac485560d1d883e8579b5ad38df131ee48e0"], ["WAPT/certificate.crt", "79e5388683c0b6cb03f4f81e4e58e3a11463b2b6cf169dd9c453098027dcfaa4"], ["WAPT/icon.png", "75f2d056eb635956176c4fd728c4268b452ad7f71e6ad76b67303badd93356a7"], ["WAPT/control", "98f1081e9616b64cf2607b34b988405daa9fe38689f48b48b73f9e3c29156455"], ["WAPT/wapt.psproj", "95d9d0230311966155cbc53731fafb0dc1262ae9a005fcc409e632bbba28a33e"]]