tis-enable-adminshare 0.0.0-5

  • package : tis-enable-adminshare
  • version : 0.0.0-5
  • architecture : all
  • locale :
  • description :
  • maintainer : Administrateur
  • date : 2018-02-27 18:59:14
  • min_wapt_version :
  • min_os_version :
  • max_os_version :
  • impacted_process :

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 79e5388683c0b6cb03f4f81e4e58e3a11463b2b6cf169dd9c453098027dcfaa4
WAPT/wapt.psproj f9f6105e60e666cc2df22a221c74df31bed648099d3e59ee94eda0bf9d03296c
WAPT/control ee2aa880204fc30d186c4bc8566b237a6c1eb9167d83102cd25a74131711bdd2
Notepad++.lnk 4fb166bc1ad77d8cac9608cc6a35d493c22b28850c072894f95047583b30fd6b