diff --git a/.bin/Scripts/functions/setup.py b/.bin/Scripts/functions/setup.py index 908bd2db..2edfab41 100644 --- a/.bin/Scripts/functions/setup.py +++ b/.bin/Scripts/functions/setup.py @@ -232,6 +232,13 @@ def enable_regback(): """Enable RegBack.""" write_registry_settings(SETTINGS_REGBACK, all_users=True) + +def enable_mini_dumps(): + """Configure Windows to save mini dumps during BSoDs.""" + cmd = ['wmic', 'RECOVEROS', 'set', 'DebugInfoType', '=', '3'] + run_program(cmd) + + def enable_system_restore(): """Enable System Restore and set disk usage to 5%""" cmd = [ diff --git a/.bin/Scripts/system_checklist.py b/.bin/Scripts/system_checklist.py index 585a5e10..cbcde87e 100644 --- a/.bin/Scripts/system_checklist.py +++ b/.bin/Scripts/system_checklist.py @@ -48,6 +48,8 @@ if __name__ == '__main__': function=disable_windows_telemetry, cs='Done') try_and_print(message='Enabling RegBack...', function=enable_regback, cs='Done') + try_and_print(message='Enabling BSoD mini dumps...', + function=enable_mini_dumps, cs='Done') try_and_print(message='Enabling System Restore...', function=enable_system_restore, cs='Done') try_and_print(message='Create System Restore point...', diff --git a/.bin/Scripts/system_checklist_hw.py b/.bin/Scripts/system_checklist_hw.py index aa918796..fd08fe10 100644 --- a/.bin/Scripts/system_checklist_hw.py +++ b/.bin/Scripts/system_checklist_hw.py @@ -44,6 +44,8 @@ if __name__ == '__main__': if global_vars['OS']['Version'] == '10': try_and_print(message='Enabling RegBack...', function=enable_regback, cs='Done') + try_and_print(message='Enabling BSoD mini dumps...', + function=enable_mini_dumps, cs='Done') try_and_print(message='Enabling System Restore...', function=enable_system_restore, cs='Done') try_and_print(message='Create System Restore point...',