Offline imaj editleme işlemi için NTLITE programı gibi profesyonel programlar, MSMG Toolkit gibi araçlar kullanabilirsiniz.
Değişiklikleri rehberde anlatacağım gibi komutlar ya da bat dosyalarıyla yapabilirsiniz.
ORJINAL KURULUM MEDYANIZI BOZMAYIN, OLUŞTURCAĞINIZ YENİ İMAJ İLE BAŞKA MEDYA OLUŞTURUN.
DISM KOMUTLARI VE REGISTRY DEĞİŞİKLİKLERİ YÖNETİCİ HAKKI GEREKTIRIR.
C:\ESD <-- install.esd ve oluşturacağımız install.wim dosyasının konumu
C:\MOUNT <-- install.wim dosyasını sisteme mount etmemiz gerek adres olarak bunu kullanalım, diğer komutları bu adreslere göre belirliyeceğiz.
Windows imajını editlediğimizde windowsu az çok istediğimiz özellikler ile kurmamız mümkün oluyor.
------------
HAZIRLIK
------------
İmaj indexi görüntülemek için
Kod: Tümünü seç
dism /Get-WimInfo /WimFile:C:\ESD\install.esd
esd uzantılı dosya mount edilmediği için imajı wim'e çevireceğiz.
Kod: Tümünü seç
DISM /export-image /SourceImageFile:c:\esd\install.esd /SourceIndex:2 /DestinationImageFile:install.wim /Compress:max /CheckIntegrity
Kod: Tümünü seç
DISM /mount-wim /wimfile:c:\esd\install.wim /mountdir:c:\mount /index:1
Kod: Tümünü seç
DISM /remount-wim /mountdir:c:\mount
-------------------------------------
DOTNET 3.5 ENTEGRE ETMEK
-------------------------------------
dotnet 4.8 Windows 10 için varsayılan olarak kurulu geliyor. Ancak dotnet3.5sp1 eklenebilir özellik olarak sunuyor. Diğer eklenebilir özellikten farkı windows kurulumunda yer almadığı için kurulum medyanızdaki bir klasörü kaynak gösterek entegre etmeniz gerekiyor. dotnet35 pek çok eski oyun ve program için gerekli olabiliyor.
Windows 10 imajı editlerken yapabileceğiniz en kolay işlemlerden biri dotnet35sp1 entegre etmenizdir. Kurulum medyanız içerisinde hazır olarak sizi bekliyor. İsterseniz kurulum sonrası da ekleyebilirsiniz, ben kurulum öncesi imaja ekliyorum ki bu işlem ile kkurulum sonrası uğraşmak zorunda kalmayayım. Kurulum medyanızın takılı olduğu sürücü harfi G olsun
Kod: Tümünü seç
dism /image:"c:\mount" /norestart /enable-feature /featurename:NetFx3 /all /limitaccess /source:"G:\sources\sxs"
-------------------------------------
CAPABILITIES
-------------------------------------
Eklenebilir özelllikleri belirli komutlar ile imajda düzenleyebilirsiniz. Böylelikle kurulum sonrası bunları düzenlemek ile uğraşmazsınız.
İmajda yüklü capabilityleri görmek için;
Kod: Tümünü seç
DISM /image:c:\mount /get-Capabilities /format:table | find "Installed"
Kod: Tümünü seç
DISM /image:c:\mount /Remove-Capability /CapabilityName:CAPABILTYADI
Kod: Tümünü seç
DISM /image:c:\mount /Remove-Capability /CapabilityName:Media.WindowsMediaPlayer~~~~0.0.12.0
İsteğinize göre düzenleyerek kullanabilirsiniz. Tek tek komutları kullanabilirsiniz.
Kod: Tümünü seç
:: Remove Capabilities
DISM /image:c:\mount /get-Capabilities /format:table | find "Installed"
:: Remove Quick Assist
DISM /image:c:\mount /Remove-Capability /CapabilityName:App.Support.QuickAssist~~~~0.0.1.0
:: Remove Windows Hello
DISM /image:c:\mount /Remove-Capability /CapabilityName:Hello.Face.18967~~~~0.0.1.0
DISM /image:c:\mount /Remove-Capability /CapabilityName:Hello.Face.Migration.18967~~~~0.0.1.0
:: Remove Windows Media Player
DISM /image:c:\mount /Remove-Capability /CapabilityName:Media.WindowsMediaPlayer~~~~0.0.12.0
:: Remove Internet Explorer 11
DISM /image:c:\mount /Remove-Capability /CapabilityName:Browser.InternetExplorer~~~~0.0.11.0
:: Remove Steps Recorder
DISM /image:c:\mount /Remove-Capability /CapabilityName:App.StepsRecorder~~~~0.0.1.0
:: Remove OpenSSH Client
DISM /image:c:\mount /Remove-Capability /CapabilityName:OpenSSH.Client~~~~0.0.1.0
:: Remove OneCoreUAP.OneSync
DISM /image:c:\mount /Remove-Capability /CapabilityName:OneCoreUAP.OneSync~~~~0.0.1.0
:: Remove Math Recognizer
DISM /image:c:\mount /Remove-Capability /CapabilityName:MathRecognizer~~~~0.0.1.0
:: Remove PowerShell.ISE
DISM /image:c:\mount /Remove-Capability /CapabilityName:Microsoft.Windows.PowerShell.ISE~~~~0.0.1.0
:: Remove FaxScan
DISM /image:c:\mount /Remove-Capability /CapabilityName:Print.Fax.Scan~~~~0.0.1.0
DISM /image:c:\mount /get-Capabilities /format:table | find "Installed"
PAUSE
-------------------------------------
FEATURES
-------------------------------------
Diğer eklenebilir özelllikleri belirli komutlar ile imajda düzenleyebilirsiniz. Böylelikle kurulum sonrası bunları düzenlemek ile uğraşmazsınız.
İmajda yüklü features görmek için;
Kod: Tümünü seç
DISM /image:c:\mount /get-features /format:table | find "Enabled"
Kod: Tümünü seç
DISM /image:c:\mount /NoRestart /Enable-Feature /FeatureName:"ÖZELLİKADI" -All
Kod: Tümünü seç
DISM /image:c:\mount /NoRestart /Enable-Feature /FeatureName:"DirectPlay" -All
isteğinize göre düzenleyerek kullanabilirsiniz. Tek tek komutları da kullanabilirsiniz.
Kod: Tümünü seç
:: FEATURES
DISM /image:c:\mount /get-features /format:table | find "Enabled"
:: Enable DirectPlay
DISM /image:c:\mount /NoRestart /Enable-Feature /FeatureName:"DirectPlay" -All
:: Disable Printing-XPSServices-Features
DISM /image:c:\mount /NoRestart /Disable-Feature /FeatureName:"Printing-XPSServices-Features"
:: Disable Printing-Foundation-Features
DISM /image:c:\mount /NoRestart /Disable-Feature /FeatureName:"Printing-Foundation-Features"
:: Disable Printing-Foundation-InternetPrinting-Client
DISM /image:c:\mount /NoRestart /Disable-Feature /FeatureName:"Printing-Foundation-InternetPrinting-Client"
:: Disable SMB1Protocol
DISM /image:c:\mount /NoRestart /Disable-Feature /FeatureName:"SMB1Protocol"
:: Disable SMB1Protocol-Client
DISM /image:c:\mount /NoRestart /Disable-Feature /FeatureName:"SMB1Protocol-Client"
:: Disable SMB1Protocol-Deprecation
DISM /image:c:\mount /NoRestart /Disable-Feature /FeatureName:"SMB1Protocol-Deprecation"
:: Disable SMB1Protocol-Server
DISM /image:c:\mount /NoRestart /Disable-Feature /FeatureName:"SMB1Protocol-Server"
:: Disable MSRDC-Infrastructure
DISM /image:c:\mount /NoRestart /Disable-Feature /FeatureName:"MSRDC-Infrastructure"
:: Disable MediaPlayback
DISM /image:c:\mount /NoRestart /Disable-Feature /FeatureName:"MediaPlayback"
:: Disable WorkFolders-Client
DISM /image:c:\mount /NoRestart /Disable-Feature /FeatureName:"WorkFolders-Client"
:: Disable MSRDC-Infrastructure
DISM /image:c:\mount /NoRestart /Disable-Feature /FeatureName:"MicrosoftWindowsPowerShellV2"
:: Disable MicrosoftWindowsPowerShellV2Root
DISM /image:c:\mount /NoRestart /Disable-Feature /FeatureName:"MicrosoftWindowsPowerShellV2Root"
DISM /image:c:\mount /get-features /format:table | find "Enabled"
PAUSE
-----------------------------------------
STORE UYGULMALARI KALDIRMAK
-----------------------------------------
İstediğiniz Windows store uygulamalarını imaj üzerinde kaldırabilirsiniz.
İmajda yüklü store uygulamalarını listelemek için
Kod: Tümünü seç
dism.exe /image:c:\mount /Get-ProvisionedAppxPackages
Kod: Tümünü seç
dism.exe /image:c:\mount /Remove-ProvisionedAppxPackage /PackageName:UYGULAMAADI
Kod: Tümünü seç
dism.exe /image:c:\mount /Remove-ProvisionedAppxPackage /PackageName:Microsoft.BingWeather_4.25.20211.0_neutral_~_8wekyb3d8bbwe
Kod: Tümünü seç
dism.exe /image:c:\mount /Get-ProvisionedAppxPackages
:: Microsoft.549981C3F5F10
dism.exe /image:c:\mount /Remove-ProvisionedAppxPackage /PackageName:Microsoft.549981C3F5F10_1.1911.21713.0_neutral_~_8wekyb3d8bbwe
:: Microsoft.BingWeather
dism.exe /image:c:\mount /Remove-ProvisionedAppxPackage /PackageName:Microsoft.BingWeather_4.25.20211.0_neutral_~_8wekyb3d8bbwe
:: Microsoft.GetHelp
dism.exe /image:c:\mount /Remove-ProvisionedAppxPackage /PackageName:Microsoft.GetHelp_10.1706.13331.0_neutral_~_8wekyb3d8bbwe
:: Microsoft.Getstarted
dism.exe /image:c:\mount /Remove-ProvisionedAppxPackage /PackageName:Microsoft.Getstarted_8.2.22942.0_neutral_~_8wekyb3d8bbwe
:: Microsoft.HEIFImageExtension
dism.exe /image:c:\mount /Remove-ProvisionedAppxPackage /PackageName:Microsoft.HEIFImageExtension_1.0.22742.0_x64__8wekyb3d8bbwe
:: Microsoft.Microsoft3DViewer
dism.exe /image:c:\mount /Remove-ProvisionedAppxPackage /PackageName:Microsoft.Microsoft3DViewer_6.1908.2042.0_neutral_~_8wekyb3d8bbwe
:: Microsoft.MicrosoftEdge.Stable
dism.exe /image:c:\mount /Remove-ProvisionedAppxPackage /PackageName:Microsoft.MicrosoftEdge.Stable_84.0.522.52_neutral__8wekyb3d8bbwe
:: Microsoft.MicrosoftOfficeHub
dism.exe /image:c:\mount /Remove-ProvisionedAppxPackage /PackageName:Microsoft.MicrosoftOfficeHub_18.1903.1152.0_neutral_~_8wekyb3d8bbwe
:: Microsoft.MicrosoftSolitaireCollection
dism.exe /image:c:\mount /Remove-ProvisionedAppxPackage /PackageName:Microsoft.MicrosoftSolitaireCollection_4.4.8204.0_neutral_~_8wekyb3d8bbwe
:: Microsoft.MicrosoftStickyNotes
dism.exe /image:c:\mount /Remove-ProvisionedAppxPackage /PackageName:Microsoft.MicrosoftStickyNotes_3.6.73.0_neutral_~_8wekyb3d8bbwe
:: Microsoft.MixedReality.Portal
dism.exe /image:c:\mount /Remove-ProvisionedAppxPackage /PackageName:Microsoft.MixedReality.Portal_2000.19081.1301.0_neutral_~_8wekyb3d8bbwe
:: Microsoft.MSPaint
dism.exe /image:c:\mount /Remove-ProvisionedAppxPackage /PackageName:Microsoft.MSPaint_2019.729.2301.0_neutral_~_8wekyb3d8bbwe
:: Microsoft.Office.OneNote
dism.exe /image:c:\mount /Remove-ProvisionedAppxPackage /PackageName:Microsoft.Office.OneNote_16001.12026.20112.0_neutral_~_8wekyb3d8bbwe
:: Microsoft.People
dism.exe /image:c:\mount /Remove-ProvisionedAppxPackage /PackageName:Microsoft.People_2019.305.632.0_neutral_~_8wekyb3d8bbwe
:: Microsoft.ScreenSketch
dism.exe /image:c:\mount /Remove-ProvisionedAppxPackage /PackageName:Microsoft.ScreenSketch_2019.904.1644.0_neutral_~_8wekyb3d8bbwe
:: Microsoft.SkypeApp
dism.exe /image:c:\mount /Remove-ProvisionedAppxPackage /PackageName:Microsoft.SkypeApp_14.53.77.0_neutral_~_kzf8qxf38zg5c
:: Microsoft.VP9VideoExtensions
dism.exe /image:c:\mount /Remove-ProvisionedAppxPackage /PackageName:Microsoft.VP9VideoExtensions_1.0.22681.0_x64__8wekyb3d8bbwe
:: Microsoft.Wallet
dism.exe /image:c:\mount /Remove-ProvisionedAppxPackage /PackageName:Microsoft.Wallet_2.4.18324.0_neutral_~_8wekyb3d8bbwe
:: Microsoft.WebMediaExtensions
dism.exe /image:c:\mount /Remove-ProvisionedAppxPackage /PackageName:Microsoft.WebMediaExtensions_1.0.20875.0_neutral_~_8wekyb3d8bbwe
:: Microsoft.WebpImageExtension
dism.exe /image:c:\mount /Remove-ProvisionedAppxPackage /PackageName:Microsoft.WebpImageExtension_1.0.22753.0_x64__8wekyb3d8bbwe
:: Microsoft.Windows.Photos
dism.exe /image:c:\mount /Remove-ProvisionedAppxPackage /PackageName:Microsoft.Windows.Photos_2019.19071.12548.0_neutral_~_8wekyb3d8bbwe
:: Microsoft.WindowsAlarms
dism.exe /image:c:\mount /Remove-ProvisionedAppxPackage /PackageName:Microsoft.WindowsAlarms_2019.807.41.0_neutral_~_8wekyb3d8bbwe
:: Microsoft.WindowsCalculator
dism.exe /image:c:\mount /Remove-ProvisionedAppxPackage /PackageName:Microsoft.WindowsCalculator_2020.1906.55.0_neutral_~_8wekyb3d8bbwe
:: Microsoft.WindowsCamera
dism.exe /image:c:\mount /Remove-ProvisionedAppxPackage /PackageName:Microsoft.WindowsCamera_2018.826.98.0_neutral_~_8wekyb3d8bbwe
:: microsoft.windowscommunicationsapps
dism.exe /image:c:\mount /Remove-ProvisionedAppxPackage /PackageName:microsoft.windowscommunicationsapps_16005.11629.20316.0_neutral_~_8wekyb3d8bbwe
:: Microsoft.WindowsFeedbackHub
dism.exe /image:c:\mount /Remove-ProvisionedAppxPackage /PackageName:Microsoft.WindowsFeedbackHub_2019.1111.2029.0_neutral_~_8wekyb3d8bbwe
:: Microsoft.WindowsMaps
dism.exe /image:c:\mount /Remove-ProvisionedAppxPackage /PackageName:Microsoft.WindowsMaps_2019.716.2316.0_neutral_~_8wekyb3d8bbwe
:: Microsoft.WindowsSoundRecorder
dism.exe /image:c:\mount /Remove-ProvisionedAppxPackage /PackageName:Microsoft.WindowsSoundRecorder_2019.716.2313.0_neutral_~_8wekyb3d8bbwe
:: Microsoft.Xbox.TCUI
dism.exe /image:c:\mount /Remove-ProvisionedAppxPackage /PackageName:Microsoft.Xbox.TCUI_1.23.28002.0_neutral_~_8wekyb3d8bbwe
:: Microsoft.XboxApp
dism.exe /image:c:\mount /Remove-ProvisionedAppxPackage /PackageName:Microsoft.XboxApp_48.49.31001.0_neutral_~_8wekyb3d8bbwe
:: Microsoft.XboxGameOverlay
dism.exe /image:c:\mount /Remove-ProvisionedAppxPackage /PackageName:Microsoft.XboxGameOverlay_1.46.11001.0_neutral_~_8wekyb3d8bbwe
:: Microsoft.XboxGamingOverlay
dism.exe /image:c:\mount /Remove-ProvisionedAppxPackage /PackageName:Microsoft.XboxGamingOverlay_2.34.28001.0_neutral_~_8wekyb3d8bbwe
:: Microsoft.XboxIdentityProvider
dism.exe /image:c:\mount /Remove-ProvisionedAppxPackage /PackageName:Microsoft.XboxIdentityProvider_12.50.6001.0_neutral_~_8wekyb3d8bbwe
:: Microsoft.XboxSpeechToTextOverlay
dism.exe /image:c:\mount /Remove-ProvisionedAppxPackage /PackageName:Microsoft.XboxSpeechToTextOverlay_1.17.29001.0_neutral_~_8wekyb3d8bbwe
:: Microsoft.YourPhone
dism.exe /image:c:\mount /Remove-ProvisionedAppxPackage /PackageName:Microsoft.YourPhone_2019.430.2026.0_neutral_~_8wekyb3d8bbwe
:: Microsoft.ZuneMusic
dism.exe /image:c:\mount /Remove-ProvisionedAppxPackage /PackageName:Microsoft.ZuneMusic_2019.19071.19011.0_neutral_~_8wekyb3d8bbwe
:: Microsoft.ZuneVideo
dism.exe /image:c:\mount /Remove-ProvisionedAppxPackage /PackageName:Microsoft.ZuneVideo_2019.19071.19011.0_neutral_~_8wekyb3d8bbwe
:: KEEP
:: Microsoft.VCLibs.140.00
:: dism.exe /image:c:\mount /Remove-ProvisionedAppxPackage /PackageName:Microsoft.VCLibs.140.00_14.0.27323.0_x64__8wekyb3d8bbwe
:: Microsoft.StorePurchaseApp
:: dism.exe /image:c:\mount /Remove-ProvisionedAppxPackage /PackageName:Microsoft.StorePurchaseApp_11811.1001.1813.0_neutral_~_8wekyb3d8bbwe
:: Microsoft.DesktopAppInstaller
:: dism.exe /image:c:\mount /Remove-ProvisionedAppxPackage /PackageName:Microsoft.DesktopAppInstaller_2019.125.2243.0_neutral_~_8wekyb3d8bbwe
:: Microsoft.WindowsStore
:: dism.exe /image:c:\mount /Remove-ProvisionedAppxPackage /PackageName:Microsoft.WindowsStore_11910.1002.513.0_neutral_~_8wekyb3d8bbwe
dism.exe /image:c:\mount /Get-ProvisionedAppxPackages
pause
----------------------------------------------------------------------
DEFAULT WALLPAPER VE DEFAULT LOCKSCREEN RESIMLERİ
----------------------------------------------------------------------
Windows'un standart Windows 10 light ve cave resimlerini değiştirebilirsiniz.
Mount edilmiş imajda masaüstü ve kilit arka plan resimleri C:\Mount\Windows\Web\ klasöründe saklanır.
Bu klasörlerde değişiklik yapabilmek için sahiplik almak ve izin vermek gerekiyor.
Aşağıda paylaşacağım komutlar dizisi ile bunu yapalım.
Kod: Tümünü seç
takeown /F "c:\mount\Windows\Web\4K\Wallpaper\Windows" /R /D Y
takeown /F "c:\mount\Windows\Web\Screen" /R /D Y
takeown /F "c:\mount\Windows\Web\Wallpaper\Theme1" /R /D Y
takeown /F "c:\mount\Windows\Web\Wallpaper\Theme2" /R /D Y
takeown /F "c:\mount\Windows\Web\Wallpaper\Windows" /R /D Y
icacls "c:\mount\Windows\Web\4K\Wallpaper\Windows\*.*" /grant %username%:F
icacls "c:\mount\Windows\Web\Screen\*.*" /grant %username%:F
icacls "c:\mount\Windows\Web\Wallpaper\Theme1\*.*" /grant %username%:F
icacls "c:\mount\Windows\Web\Wallpaper\Theme2\*.*" /grant %username%:F
icacls "c:\mount\Windows\Web\Wallpaper\Windows\*.*" /grant %username%:F
"C:\Windows\Web\Wallpaper\Windows\img0.jpg" > DEFAULT MASAÜSTÜ ARKAPLANI
"C:\Windows\Web\Screen\img100.jpg" > DEFAULT KİLİT EKRANI RESMİ
İstediğiniz resim dosyalarını bu şekilde adlandırıp konumlandırarak varsayılan olarak ayarlayabilirsiniz.
-----------------------------------------------
ONEDRIVE KURULUMUNU ENGELLEMEK
-----------------------------------------------
OneDrive Windows kurulumundan sonra ilk açılışta otomatik olarak kuracak şekilde ayarlanmıştır.
Aynı olay yeni kullanıcı oluşturursanız da geçerlidir. Bu ayar Users\Default klasörü içerisinde
ntuser.dat registry hive de gizlidir. Her kullanıcı için oluşacak varsayılan ayarları tutar.
Aşağıdaki komut satırı dizesiyle mount edilmiş imajda
Önce bu hive i kayıt defterine yüklüyoruz.
ardından OneDrive kurduran kayıt defteri verisini siliyoruz.
sonra hive yüklemesini registry den geri alıyoruz.
İsterseniz ilk komut ile ntuser.dat regstry e yükleme işlemini ve düzenleme işlemini,
kayıt defteri düzenleyicisi ile manuel olarak yapadabilirsiniz, ancak geri yüklemeyi unutmayın.
Kod: Tümünü seç
reg load HKLM\test c:\mount\Users\default\ntuser.dat
reg delete "HKLM\test\SOFTWARE\Microsoft\Windows\CurrentVersion\Run" /v "OneDriveSetup" /f
reg unload HKLM\test
----------------------------------------
DRIVER SÜRÜCÜ ENTEGRE ETMEK
----------------------------------------
Bu imaja driverları entegre edebilirsiniz, böylelikle her kurulumdan sonra yedeğini aldıysanız elle, almadıysanız windows update ile uğraşmamış olursunuz.
Hali hazırda Windowsunuz güncel ise, bu komut ile masaüstünde "Drivers" adında klasör oluşturup, yönetici hakkı ile başlatacağınız CMD ye komutu vererek, sistemde yüklü driverların bir kopyasını bu klasöre alın.
Kod: Tümünü seç
dism /online /export-driver /destination:"%userprofile%\Desktop\Drivers"
Kod: Tümünü seç
dism /Image:C:\Mount /Add-Driver /Driver:%userprofile%\Desktop\Drivers
------------------------------
UPDATE ENTEGRE ETMEK
------------------------------
Windows 10 un toplu güncelleştirmelerini indirip imaja entegre edebilirsiniz, böylelikle kurulum sonrası uğraşmamış olursunuz.
Windows update kataloguna gidiyoruz.
https://www.catalog.update.microsoft.com/Home.aspx
Benim sürümüm 21h1 ve 64 bit kullanıyorum, arama kutusuna 21h1 x64 yazıyorum.
Bu sürüm için güncelleştirmeler listelendi.
Son Güncelleştirme ye tıklayıp sıralamayı en son güncelleştirmeler en üstte olacak şekilde sıraladım.
Tüm katalogu indirmenize gerek yok, Microsoft her ayın 2. Salı günü toplu güncelleştirme yayınlar, önceki güncelleştirmeleri de içerir.
Bu katalogtan bize 2 tane cumulatif update (toplu güncelleştirme) gerekiyor.
1-Windows toplu güncelleştirmesi
2-Net Framework güncelleştirmesi
An itibariyle son sürümler
2021-x64 tabanlı Sistemler için Windows 10 Version 21H1 07 Toplu Güncelleştirmesi (KB5004237)
x64 için Windows 10 Version 21H1 Üzerinde .NET Framework 3.5 ve 4.8 için2021-07 Toplu Güncelleştirmesi (KB5003537)
Bu 2 günceleştirme paketini indirip belirli bir klasöre koyalım, diğer örneklerdeki gibi masaüstünde "Updates" adında bir klasör oluşturalım.
İndirdiğimiz .msu uzantılı 2 güncelleme paketini bu klasöre taşıyalım. (Bu güncelleştirme paketlerinizi hali hazırda çalışan windowsunuz için de kullanabilirsiniz.)
Aşağıdaki komut ile güncelleştirme paketlerini offline windows imajına entegre ediyoruz.
Kod: Tümünü seç
dism /image:c:\mount /add-package /packagepath:"%userprofile%\Desktop\Updates"
------------------------------
SERVICE DÜZENLEMEK
------------------------------
Kurulum sonrası gereksiz bazı servisleri kapatmak ile uğraşmak istemiyorsanız imajda bunu SYSTEM registry hive düzenleyerek yapabilirsiniz.
Aşağıdaki komut satırı dizesiyle mount edilmiş imajda
önce bu hive i kayıt defterine yüklüyoruz.
Kod: Tümünü seç
reg load HKLM\SYS C:\Mount\Windows\System32\Config\SYSTEM
İsterseniz SYSTEM hive registrye yükleme işlemini ve düzenleme işlemini, kayıt defteri düzenleyicisi ile manuel olarak yapadabilirsiniz, ancak işlem bittiğinde geri yüklemeyi unutmayın.
HKLM\SYS\ControlSet001\Services\ klasöründe alt kalsör olarak yeralan servis klasörleri Start DWORD değerlerini "4" yaparsanız servisi kapatmış oluyorsunuz.
Komut örneği;
SSD kullandığım için DEFRAG servisini kapatıyorum;
Kod: Tümünü seç
:: defragsvc :: Optimize drives :: Sürücüleri en iyi duruma getir
REG ADD "HKLM\SYS\ControlSet001\Services\defragsvc" /v "Start" /t REG_DWORD /d "4" /f
Kod: Tümünü seç
reg unload HKLM\SYS
-------------------------------------------------------------------
TEMİZLİK - KAYIT - WIM'DEN ESD YE ÇEVİRME İŞLEMLERİ
-------------------------------------------------------------------
Imaja ekleme ve çıkarmalar yaptık.
Temizlik işlemi için;
Kod: Tümünü seç
Dism /Image:C:\Mount /cleanup-image /StartComponentCleanup /ResetBase
İmajı kayıt ve unmount etmek için;
Kod: Tümünü seç
Dism /Unmount-Image /MountDir:C:\mount /Commit
Kod: Tümünü seç
dism /export-image /SourceImageFile:"c:\esd\install.wim" /SourceIndex:1 /DestinationImageFile:"%userprofile%\Desktop\install.esd" /Compress:recovery /CheckIntegrity
Windows kurulumunuz yapmış olduğunuz düzenlemeler hazır halde gerçekleşecek.
-----------------------------------------
KAYNAKLAR VE YARARLI ADRESLER
-----------------------------------------
https://docs.microsoft.com/en-us/window ... tion-share
https://docs.microsoft.com/en-us/window ... using-dism
https://docs.microsoft.com/en-us/window ... pdates-sxs
https://www.tenforums.com/tutorials/140 ... ml#option6
https://www.tenforums.com/tutorials/950 ... html#Part4
https://www.tenforums.com/tutorials/950 ... image.html
https://www.tenforums.com/tutorials/966 ... -10-a.html
http://woshub.com/remove-built-apps-fea ... wim-image/
https://community.spiceworks.com/how_to ... esd-to-wim
https://gist.github.com/riipandi/66425c ... 4bbdc37d30
https://serverfault.com/questions/50266 ... ffline-wim
https://superuser.com/questions/1106501 ... overy-mode
https://www.ntlite.com/community/index.php
https://www.microsoftpressstore.com/art ... 1&seqNum=2
https://www.prajwaldesai.com/add-window ... -10-image/