parent
931ce84d67
commit
6068b4390a
3 changed files with 14 additions and 0 deletions
|
|
@ -208,6 +208,16 @@ def config_explorer_user():
|
|||
write_registry_settings(SETTINGS_EXPLORER_USER, all_users=False)
|
||||
|
||||
|
||||
def create_system_restore_point():
|
||||
"""Create system restore point."""
|
||||
cmd = [
|
||||
'PowerShell',
|
||||
'-Command', 'Checkpoint-Computer',
|
||||
'-Description', '1201 Checklist',
|
||||
]
|
||||
run_program(cmd)
|
||||
|
||||
|
||||
def disable_windows_telemetry():
|
||||
"""Disable Windows 10 telemetry settings with O&O ShutUp10."""
|
||||
extract_item('ShutUp10', silent=True)
|
||||
|
|
|
|||
|
|
@ -50,6 +50,8 @@ if __name__ == '__main__':
|
|||
function=enable_regback, cs='Done')
|
||||
try_and_print(message='Enabling System Restore...',
|
||||
function=enable_system_restore, cs='Done')
|
||||
try_and_print(message='Create System Restore point...',
|
||||
function=create_system_restore_point, cs='Done')
|
||||
try_and_print(message='Updating Clock...',
|
||||
function=update_clock, cs='Done')
|
||||
|
||||
|
|
|
|||
|
|
@ -46,6 +46,8 @@ if __name__ == '__main__':
|
|||
function=enable_regback, cs='Done')
|
||||
try_and_print(message='Enabling System Restore...',
|
||||
function=enable_system_restore, cs='Done')
|
||||
try_and_print(message='Create System Restore point...',
|
||||
function=create_system_restore_point, cs='Done')
|
||||
|
||||
# Export system info
|
||||
print_info('Backup System Information')
|
||||
|
|
|
|||
Loading…
Reference in a new issue