From e83bcb864c8492a126b2792e488c578ae25ec85b Mon Sep 17 00:00:00 2001 From: 2Shirt <2xShirt@gmail.com> Date: Thu, 13 May 2021 21:04:39 -0600 Subject: [PATCH] Fix Autologon sections --- scripts/wk/cfg/tools.py | 2 ++ scripts/wk/repairs/win.py | 6 +++--- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/scripts/wk/cfg/tools.py b/scripts/wk/cfg/tools.py index 289fd8b7..03eca518 100644 --- a/scripts/wk/cfg/tools.py +++ b/scripts/wk/cfg/tools.py @@ -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', diff --git a/scripts/wk/repairs/win.py b/scripts/wk/repairs/win.py index 8e54dd63..5dd87a03 100644 --- a/scripts/wk/repairs/win.py +++ b/scripts/wk/repairs/win.py @@ -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(