tis-disable-usbstorage 1.0.0-2

  • package : tis-disable-usbstorage
  • version : 1.0.0-2
  • description : Disable USB storage
  • 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 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
    

manifest.sha256

[["setup.py", "0803a5cb9ce1e7f0205b8aa9e63cc4356217144de5009702659d7cf01712f3d1"], ["WAPT/certificate.crt", "79e5388683c0b6cb03f4f81e4e58e3a11463b2b6cf169dd9c453098027dcfaa4"], ["WAPT/icon.png", "186031d8947508b3eb97fd39bbb88368310eb3121f1633bbd06497d90c7870ba"], ["WAPT/control", "52f9496a700d0bb473c1969050dc91d777ce7a697b8c936d1199edf5ed8d3146"], ["WAPT/wapt.psproj", "95d9d0230311966155cbc53731fafb0dc1262ae9a005fcc409e632bbba28a33e"]]