Fix Autologon sections
This commit is contained in:
parent
6d3c74e71e
commit
e83bcb864c
2 changed files with 5 additions and 3 deletions
|
|
@ -13,6 +13,8 @@ SOURCES = {
|
||||||
'AdwCleaner': 'https://downloads.malwarebytes.com/file/adwcleaner',
|
'AdwCleaner': 'https://downloads.malwarebytes.com/file/adwcleaner',
|
||||||
'AIDA64': 'https://download.aida64.com/aida64engineer633.zip',
|
'AIDA64': 'https://download.aida64.com/aida64engineer633.zip',
|
||||||
'aria2': 'https://github.com/aria2/aria2/releases/download/release-1.35.0/aria2-1.35.0-win-32bit-build1.zip',
|
'aria2': 'https://github.com/aria2/aria2/releases/download/release-1.35.0/aria2-1.35.0-win-32bit-build1.zip',
|
||||||
|
'Autologon32': 'http://live.sysinternals.com/Autologon.exe',
|
||||||
|
'Autologon64': 'http://live.sysinternals.com/Autologon64.exe',
|
||||||
'Autoruns': 'https://download.sysinternals.com/files/Autoruns.zip',
|
'Autoruns': 'https://download.sysinternals.com/files/Autoruns.zip',
|
||||||
'AVRemover32': 'https://download.eset.com/com/eset/tools/installers/av_remover/latest/avremover_nt32_enu.exe',
|
'AVRemover32': 'https://download.eset.com/com/eset/tools/installers/av_remover/latest/avremover_nt32_enu.exe',
|
||||||
'AVRemover64': 'https://download.eset.com/com/eset/tools/installers/av_remover/latest/avremover_nt64_enu.exe',
|
'AVRemover64': 'https://download.eset.com/com/eset/tools/installers/av_remover/latest/avremover_nt64_enu.exe',
|
||||||
|
|
|
||||||
|
|
@ -215,7 +215,7 @@ def end_session():
|
||||||
|
|
||||||
# Disable Autologon
|
# Disable Autologon
|
||||||
if is_autologon_enabled():
|
if is_autologon_enabled():
|
||||||
run_tool('Sysinternals', 'Autologon')
|
run_tool('Sysinternals', 'Autologon', download=True)
|
||||||
reg_set_value(
|
reg_set_value(
|
||||||
'HKLM', r'Software\Microsoft\Windows NT\CurrentVersion\Winlogon',
|
'HKLM', r'Software\Microsoft\Windows NT\CurrentVersion\Winlogon',
|
||||||
'AutoAdminLogon', '0', 'SZ',
|
'AutoAdminLogon', '0', 'SZ',
|
||||||
|
|
@ -281,8 +281,8 @@ def init_run(options):
|
||||||
if options['Use Autologon']['Selected'] and not is_autologon_enabled():
|
if options['Use Autologon']['Selected'] and not is_autologon_enabled():
|
||||||
TRY_PRINT.run(
|
TRY_PRINT.run(
|
||||||
'Running Autologon...', run_tool,
|
'Running Autologon...', run_tool,
|
||||||
'Autologon', 'Autologon',
|
'Sysinternals', 'Autologon',
|
||||||
cbin=True, msg_good='DONE',
|
download=True, msg_good='DONE',
|
||||||
)
|
)
|
||||||
if options['Sync Clock']['Selected']:
|
if options['Sync Clock']['Selected']:
|
||||||
TRY_PRINT.run(
|
TRY_PRINT.run(
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue