Run DISM RestoreHealth in D7_MODE
This commit is contained in:
parent
31a3d5a43b
commit
4e022ed843
1 changed files with 8 additions and 2 deletions
|
|
@ -63,8 +63,12 @@ if __name__ == '__main__':
|
||||||
function=run_chkdsk, other_results=other_results)
|
function=run_chkdsk, other_results=other_results)
|
||||||
try_and_print(message='SFC scan...',
|
try_and_print(message='SFC scan...',
|
||||||
function=run_sfc_scan, other_results=other_results)
|
function=run_sfc_scan, other_results=other_results)
|
||||||
try_and_print(message='DISM CheckHealth...',
|
if D7_MODE:
|
||||||
function=run_dism, other_results=other_results, repair=False)
|
try_and_print(message='DISM RestoreHealth...',
|
||||||
|
function=run_dism, other_results=other_results, repair=True)
|
||||||
|
else:
|
||||||
|
try_and_print(message='DISM CheckHealth...',
|
||||||
|
function=run_dism, other_results=other_results, repair=False)
|
||||||
|
|
||||||
|
|
||||||
if D7_MODE:
|
if D7_MODE:
|
||||||
|
|
@ -131,3 +135,5 @@ if __name__ == '__main__':
|
||||||
pass
|
pass
|
||||||
except:
|
except:
|
||||||
major_exception()
|
major_exception()
|
||||||
|
|
||||||
|
# vim: sts=4 sw=4 ts=4
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue