Çözüldü Windows 11 DISM komutlarını tek bir dosya ile çalıştırma

Bu konu çözüldü olarak işaretlenmiştir. Çözülmediğini düşünüyorsanız konuyu rapor edebilirsiniz.

Emrecopur

Hectopat
Katılım
12 Kasım 2023
Mesajlar
1.428
Çözümler
33
Merhaba değerli forum ailesi başlıkta da olduğu gibi.
Windows DISM komutlarını tek bir BAT dosyası ile çalıştırabilir miyim?

DISM /online /cleanup-ımage /checkhealth

DISM /online /cleanup-ımage /scanhealth

DISM /online /cleanup-ımage /restorehealth

DISM.exe /online /cleanup-image /startcomponentcleanup

SFC /scannow
 
Çözüm
Evet, aşağıdaki komutları .bat uzantılı dosyaya kaydedip yönetici olarak çalıştırarak kullanabilirsiniz.

@echo off
echo DISM & SFC kontrolleri baslatiliyor...

echo.
echo 1. DISM /CheckHealth calistiriliyor...
DISM /online /cleanup-image /checkhealth
echo.

echo 2. DISM /ScanHealth calistiriliyor...
DISM /online /cleanup-image /scanhealth
echo.

echo 3. DISM /RestoreHealth calistiriliyor...
DISM /online /cleanup-image /restorehealth
echo.

echo 4. SFC /scannow calistiriliyor...
SFC /scannow
echo.

echo Islemler tamamlandi.
pause
Evet, aşağıdaki komutları .bat uzantılı dosyaya kaydedip yönetici olarak çalıştırarak kullanabilirsiniz.

@echo off
echo DISM & SFC kontrolleri baslatiliyor...

echo.
echo 1. DISM /CheckHealth calistiriliyor...
DISM /online /cleanup-image /checkhealth
echo.

echo 2. DISM /ScanHealth calistiriliyor...
DISM /online /cleanup-image /scanhealth
echo.

echo 3. DISM /RestoreHealth calistiriliyor...
DISM /online /cleanup-image /restorehealth
echo.

echo 4. SFC /scannow calistiriliyor...
SFC /scannow
echo.

echo Islemler tamamlandi.
pause
 
Son düzenleme:
Çözüm
Evet, aşağıdaki komutları .bat uzantılı dosyaya kaydedip yönetici olarak çalıştırarak kullanabilirsiniz.

@echo off
echo DISM & SFC kontrolleri baslatiliyor...

echo.
echo 1. DISM /CheckHealth çalıştırılıyor...
DISM /online /cleanup-image /checkhealth
echo.

echo 2. DISM /ScanHealth çalıştırılıyor...
DISM /online /cleanup-image /scanhealth
echo.

echo 3. DISM /RestoreHealth çalıştırılıyor...
DISM /online /cleanup-image /restorehealth
echo.

echo 4. SFC /scannow çalıştırılıyor...
SFC /scannow
echo.

echo Islemler tamamlandi.
pause

Hata veriyor hocam.
 

Dosya Ekleri

  • 1741815823466.png
    1741815823466.png
    55,2 KB · Görüntüleme: 30
Yönetici olarak çalıştırmalısınız.

Hocam şöyle oldu üstte olan bilgi veren yazıları nasıl kaldırabilirim?
Verdiğim komutları sırası ile uygulasın bana yeter.
DISM.

Microsoft (r) Windows (r) resource checker version 6.0
Copyright (C) Microsoft Corporation. All rights reserved.

Scans the integrity of all protected System files and replaces incorrect versions with.
Correct Microsoft versions.

SFC [/SCANNOW] [/VERIFYONLY] [/SCANFILE=<file>] [/VERIFYFILE=<file>]
[/OFFWINDIR=<offline windows directory> /OFFBOOTDIR=<offline boot directory> [/OFFLOGFILE=<log file path>]]

/Scannow scans integrity of all protected System files and repairs files with.
Problems when possible.
/Verıfyonly scans integrity of all protected System files. No repair operation is.
Performed.
/Scanfıle scans integrity of the referenced file, repairs file if problems are.
İdentified. Specify full path <file>
/Verıfyfıle verifies the integrity of the file with full path <file>. No repair.
Operation is performed.
/Offbootdır for offline repair, specify the location of the offline boot directory.
/Offwındır for offline repair, specify the location of the offline Windows directory.
/Offlogfıle for offline repair, optionally enable logging by specifying a log file path.

E. G.

SFC /scannow
SFC /VERIFYFILE=c:\windows\system32\kernel32.dll
SFC /SCANFILE=d:\windows\system32\kernel32.dll /offbootdır = D:\ /offwındır = D:\windows
SFC /SCANFILE=d:\windows\system32\kernel32.dll /offbootdır = D:\ /offwındır = D:\windows /OFFLOGFILE=c:\log.txt
SFC /verıfyonly

1. DISM /checkhealth ├ğal─▒┼şt─▒r─▒l─▒yor...

Deployment ımage servicing and management tool.
Version: 10.0.26100.1150

Image version: 10.0.26100.3476

The component Store is repairable.
The operation completed successfully.

2. DISM /scanhealth ├ğal─▒┼şt─▒r─▒l─▒yor...

Deployment ımage servicing and management tool.
Version: 10.0.26100.1150

Image version: 10.0.26100.3476

[==========================100.0%==========================] the component Store is repairable.
The operation completed successfully.

3. DISM /restorehealth ├ğal─▒┼şt─▒r─▒l─▒yor...

Deployment ımage servicing and management tool.
Version: 10.0.26100.1150

Image version: 10.0.26100.3476

[===========================62.3%==== ]
 

Technopat Haberler

Yeni konular

Geri
Yukarı