tis-disable-vu906424 1.0-1

  • package : tis-disable-vu906424
  • version : 1.0-1
  • architecture : all
  • locale :
  • description : Deny write access on C:\Windows\Tasks - VU906424
  • maintainer : Tranquil IT - Alexandre Gauvrit
  • date : 2018-08-30 18:15:24
  • min_wapt_version :
  • min_os_version : 6.1
  • max_os_version :
  • impacted_process :

setup.py

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

uninstallkey = []

def install():
    print(r'Deny write on C:\Windows\Tasks')
    run(r'"echo" y | "cacls" C:\Windows\Tasks /S:"D:PAI(D;OICI;DCLC;;;WD)(A;;0x1200ab;;;AU)(A;;FA;;;BA)(A;OICIIO;GA;;;BA)(A;;FA;;;SY)(A;OICIIO;GA;;;SY)(A;OICIIO;GA;;;CO)"')
    print('Waiting for Microsoft to patch...')
    print('Uninstall that package to set default rights on C:\Windows\Tasks')

def uninstall():
    print(r'Allow write on C:\Windows\Tasks')
    run(r'"echo" y | "cacls" c:\Windows\Tasks /S:"D:PAI(A;;0x1200ab;;;AU)(A;;FA;;;BA)(A;OICIIO;GA;;;BA)(A;;FA;;;SY)(A;OICIIO;GA;;;SY)(A;OICIIO;GA;;;CO)"')
    

Changelog

No changelog
    

manifest.sha256

setup.py 524dcfc7364e8d93e915b22937b1ed14c1b8b2ea14257fc7c9609f456f1ba55f
WAPT/certificate.crt 13fb474c5c23c135a77aba592eb8821b9ecbcc463f5b7312312b87b20eac6779
WAPT/wapt.psproj e306ae088b4ffc91364d6f53a3933bffa75f4bc4f8a3d6ff422209e90760feb0
WAPT/control 560c79ee63fb57b4be8ec9f60f7f12f8b26a67da6d3f4cc51a2670e2710c6aa9