tis-disable-usbstorage

1.0.0-2
Disable USB storage
1422 downloads
Download

  Description 

  • package : tis-disable-usbstorage
  • version : 1.0.0-2
  • architecture : all
  • categories :
  • maintainer : TIS Tranquil IT Systems
  • description : Disable USB storage
  • 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.743933

  Setup.py 

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

uninstallkey = []

def install():
    print("Disable USB storage")
    registry_setstring(HKEY_LOCAL_MACHINE, r"SYSTEM\CurrentControlSet\Services\USBSTOR",'Start',4, type=REG_DWORD)

def uninstall():
    print("Re-enable USB storage")
    registry_setstring(HKEY_LOCAL_MACHINE, r"SYSTEM\CurrentControlSet\Services\USBSTOR",'Start',3, type=REG_DWORD)
										

  Changelog 



No changelog.txt.
									
  manifest.sha256