tis-disable-autoruns

1.0.0-2
Disable autoruns for removable devices
2655 downloads
Download
default icon

  Description 

  • package : tis-disable-autoruns
  • version : 1.0.0-2
  • architecture : all
  • categories :
  • maintainer : TIS Tranquil IT Systems
  • description : Disable autoruns for removable devices
  • 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 :
  • editor :
  • licence :
  • signature_date : 2020-02-27T21:29:45.551165

  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.txt.
									
  manifest.sha256