From fd27af040b7e5aa1eda5e41fa03b7b267a641c34 Mon Sep 17 00:00:00 2001 From: 2Shirt <2xShirt@gmail.com> Date: Fri, 15 Oct 2021 01:06:02 -0600 Subject: [PATCH] Accept the Autologon EULA automatically --- scripts/wk/repairs/win.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/wk/repairs/win.py b/scripts/wk/repairs/win.py index ab0c0082..478bcb56 100644 --- a/scripts/wk/repairs/win.py +++ b/scripts/wk/repairs/win.py @@ -175,7 +175,7 @@ def end_session(): autologon_selected = False # Assuming it isn't being used if autologon_selected and is_autologon_enabled(): - run_tool('Sysinternals', 'Autologon', download=True) + run_tool('Sysinternals', 'Autologon', '-accepteula', download=True) reg_set_value( 'HKLM', r'Software\Microsoft\Windows NT\CurrentVersion\Winlogon', 'AutoAdminLogon', '0', 'SZ', @@ -250,7 +250,7 @@ def init_run(options): if options['Use Autologon']['Selected'] and not is_autologon_enabled(): TRY_PRINT.run( 'Running Autologon...', run_tool, - 'Sysinternals', 'Autologon', + 'Sysinternals', 'Autologon', '-accepteula', download=True, msg_good='DONE', ) if options['Sync Clock']['Selected']: