tis-enable-adminshare

0.0.0-5
816 downloads
Download

  Description 

  • package : tis-enable-adminshare
  • version : 0.0.0-5
  • architecture : all
  • categories :
  • maintainer : Administrateur
  • description :
  • locale :
  • target_os :
  • min_os_version :
  • max_os_version :
  • 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:31:57.175245

  Setup.py 

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

uninstallkey = []

def install():
    print('Enable RDP access without NLA and lowest security... ')
    if windows_version() < Version('6.1'):
        run(r'reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\LanmanServer\Parameters" /v AutoShareWks /t REG_DWORD /d 1 /f')
    else:
        run(r'reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System" /v LocalAccountTokenFilterPolicy /t REG_DWORD /d 1 /f')

    print 'System reboot'
    run_notfatal('shutdown /t 10 /r')

def uninstall():
    print('To do...')
										

  Changelog 


No changelog
  manifest.sha256 
[["setup.py","8d010b902017433aa236249cf1bab991c0cdf5da76f5addb0e166696d3ceb9ad"],["WAPT/certificate.crt","a5a97261381e1d0ad46ee15916abec9c2631d0201f5cc50ceb0197a165a0bbbf"],["WAPT/wapt.psproj","f9f6105e60e666cc2df22a221c74df31bed648099d3e59ee94eda0bf9d03296c"],["WAPT/control","61371f8bf8c24dd1b2e0fa6961e0b78c92ae812346a0b235cee3ccf8ccedb805"],["Notepad++.lnk","4fb166bc1ad77d8cac9608cc6a35d493c22b28850c072894f95047583b30fd6b"]]