capntack ревизій цього gist 2 weeks ago. До ревизії
Без змін
capntack ревизій цього gist 2 weeks ago. До ревизії
Без змін
capntack ревизій цього gist 2 weeks ago. До ревизії
3 files changed, 16 insertions, 18 deletions
dism-store.bat(файл створено)
| @@ -0,0 +1,7 @@ | |||
| 1 | + | :: Note: the following optional steps will free up disk space, but also remove files allowing uninstallation of Windows Updates. | |
| 2 | + | ||
| 3 | + | DISM /Online /Cleanup-Image /AnalyzeComponentStore | |
| 4 | + | ||
| 5 | + | DISM /Online /Cleanup-Image /StartComponentCleanup | |
| 6 | + | ||
| 7 | + | DISM /Online /Cleanup-Image /StartComponentCleanup /ResetBase | |
dism.bat(файл створено)
| @@ -0,0 +1,7 @@ | |||
| 1 | + | :: If the sfc command found issues, but failed to fix them, run the below. Requires an elevated command prompt. | |
| 2 | + | ||
| 3 | + | DISM /Online /Cleanup-Image /CheckHealth | |
| 4 | + | ||
| 5 | + | DISM /Online /Cleanup-Image /ScanHealth | |
| 6 | + | ||
| 7 | + | DISM /Online /Cleanup-Image /RestoreHealth | |
sfc-and-dism.bat
| @@ -1,19 +1,3 @@ | |||
| 1 | - | :: The following commands will repair/replace corrupted/missing system files, as well as clear up disk space. They must all be ran in an elevated Command Prompt | |
| 1 | + | :: The following command will repair/replace corrupted/missing system files. Requires an elevated command prompt. | |
| 2 | 2 | ||
| 3 | - | sfc /scannow | |
| 4 | - | ||
| 5 | - | :: If no issues are reported, or they are reported all fixed, you are done. or, optionally skip to Step 6. Otherwise, continue. | |
| 6 | - | ||
| 7 | - | DISM /Online /Cleanup-Image /CheckHealth | |
| 8 | - | ||
| 9 | - | DISM /Online /Cleanup-Image /ScanHealth | |
| 10 | - | ||
| 11 | - | DISM /Online /Cleanup-Image /RestoreHealth | |
| 12 | - | ||
| 13 | - | :: Note: the following optional steps will free up disk space, but also remove files allowing uninstallation of Windows Updates. | |
| 14 | - | ||
| 15 | - | DISM /Online /Cleanup-Image /AnalyzeComponentStore | |
| 16 | - | ||
| 17 | - | DISM /Online /Cleanup-Image /StartComponentCleanup | |
| 18 | - | ||
| 19 | - | DISM /Online /Cleanup-Image /StartComponentCleanup /ResetBase | |
| 3 | + | sfc /scannow | |
capntack ревизій цього gist 2 weeks ago. До ревизії
1 file changed, 0 insertions, 0 deletions
win-sfc-dism.bat перейменовано в sfc-and-dism.bat
Файл перейменовано без змін
capntack ревизій цього gist 2 weeks ago. До ревизії
1 file changed, 19 insertions
win-sfc-dism.bat(файл створено)
| @@ -0,0 +1,19 @@ | |||
| 1 | + | :: The following commands will repair/replace corrupted/missing system files, as well as clear up disk space. They must all be ran in an elevated Command Prompt | |
| 2 | + | ||
| 3 | + | sfc /scannow | |
| 4 | + | ||
| 5 | + | :: If no issues are reported, or they are reported all fixed, you are done. or, optionally skip to Step 6. Otherwise, continue. | |
| 6 | + | ||
| 7 | + | DISM /Online /Cleanup-Image /CheckHealth | |
| 8 | + | ||
| 9 | + | DISM /Online /Cleanup-Image /ScanHealth | |
| 10 | + | ||
| 11 | + | DISM /Online /Cleanup-Image /RestoreHealth | |
| 12 | + | ||
| 13 | + | :: Note: the following optional steps will free up disk space, but also remove files allowing uninstallation of Windows Updates. | |
| 14 | + | ||
| 15 | + | DISM /Online /Cleanup-Image /AnalyzeComponentStore | |
| 16 | + | ||
| 17 | + | DISM /Online /Cleanup-Image /StartComponentCleanup | |
| 18 | + | ||
| 19 | + | DISM /Online /Cleanup-Image /StartComponentCleanup /ResetBase | |