tis-enable-adminshare

0.0.0-5
1082 downloads
Download

  Description 

  • package : tis-enable-adminshare
  • version : 0.0.0-5
  • architecture : all
  • categories :
  • maintainer : Administrateur
  • description :
  • 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: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.txt.
									
  manifest.sha256