Fix Autologon sections

This commit is contained in:
2Shirt 2021-05-13 21:04:39 -06:00
parent 6d3c74e71e
commit e83bcb864c
Signed by: 2Shirt
GPG key ID: 152FAC923B0E132C
2 changed files with 5 additions and 3 deletions

View file

@ -13,6 +13,8 @@ SOURCES = {
'AdwCleaner': 'https://downloads.malwarebytes.com/file/adwcleaner',
'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',
'Autologon32': 'http://live.sysinternals.com/Autologon.exe',
'Autologon64': 'http://live.sysinternals.com/Autologon64.exe',
'Autoruns': 'https://download.sysinternals.com/files/Autoruns.zip',
'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',

View file

@ -215,7 +215,7 @@ def end_session():
# Disable Autologon
if is_autologon_enabled():
run_tool('Sysinternals', 'Autologon')
run_tool('Sysinternals', 'Autologon', download=True)
reg_set_value(
'HKLM', r'Software\Microsoft\Windows NT\CurrentVersion\Winlogon',
'AutoAdminLogon', '0', 'SZ',
@ -281,8 +281,8 @@ def init_run(options):
if options['Use Autologon']['Selected'] and not is_autologon_enabled():
TRY_PRINT.run(
'Running Autologon...', run_tool,
'Autologon', 'Autologon',
cbin=True, msg_good='DONE',
'Sysinternals', 'Autologon',
download=True, msg_good='DONE',
)
if options['Sync Clock']['Selected']:
TRY_PRINT.run(