Popular Post MrRush Posted June 5, 2020 Popular Post Share Posted June 5, 2020 (edited) OEM Klasörü ve AutoUnattend.xml oluşturma (REHBER) $OEM$ klasörü: Dosyaları Windows Yükleme Ortamı'na kopyalayabilir ve Yükleme Sırasında Windows Klasörüne veya Sistem Sürücüsüne kopyalamasını sağlayabiliriz. Bunu yapmak için istediğimiz dosyaları kurulum ortamında depolamamız gerekir, özellikle bu yolda: sources\$OEM$\$$ ve sources\$OEM$\$1 ============================================================================================================= 1) $$ Klasörü. $OEM$ Alt klasörüdür. Yolu: sources\$OEM\$$ Klasör içindeki herşeyin içeriğini bu klasöre atıcak: C:\Windows Alt klasör:Bunun içinde bir alt klasör oluşturabiliriz. Örneğin Dell Windows 10 Professional Yeniden Yükleme ISO'su aşağıdaki dosyalara sahiptir. sources\$OEM$\$$\Web\Wallpaper\Asus Kurulum sonrası C:\Windows\Web\Wallpaper\Asus Windows kurulumunda Varsayılan Duvar Kağıdı değişmez. Sadece ek resimler eklenir bu yola: C:\Windows\Web\Wallpaper\Asus ================================================================================================ 2) $1 Klasörü. Bulunduğu yol: sources\$OEM$\$1 Öte yandan doğrudan aşağıdakilere yazacaktır: Alt klasörler sources\$OEM$\$1\Hotfix\Local\LocalPack\x64 Dil paketleri ekleme gibi bir örnek. Win7 ve 8.1 için daha kullanışlı. Windows 10 da online hızlı bir şekilde dil paketi kurulur. sources\$OEM$\$1\Hotfix\Local\LocalPack\x64 C:\Hotfix\Local\LocalPack\x64 Bunun yerine Uygulamalar için Varsayılan dosya ilişkilendirmesi için bir dosya kullandım örnekteki gibi. Daha birçok alternatif kullanım yönleri vardır. 3) sources\$OEM$\$$ Alt Klasör: Setup Alt Klasör: Scripts SetupComplete.cmd komut dosyası, yani kurulum sonrası kullanıcı oluşturulduktan sonra kurulum devam ederken çalışan ilk dosyalardan. Genelde Katılımsız kurulumu, reg kaydı ekleme, bat, cmd ve vbs dosyalarını çalıştırmada kullanılır. Alt Klasör: Files Bu klasörde kurulum sonrası kurulacak Katılımsız programlar var. Otomatik olarak bu dosyayı oluşturmak ve Katılımsız eklemek için @köylü Üstadın hazırladığı bu dosyayı çalıştırarak yapabilirsiniz. Sizi yönlendirir zaten. proekle.rar SetupComplete.cmd Reg Kayıtları ekleme: Örnek bir dosya. Çok farklı kombinasiyonlarda OEM klasörü hazırlanıyor. Kişinin beklentisine göre değişiyor bu düzenlemeler. Daha fazlası için: https://dellwindowsreinstallationguide.com/the-oem-folder/ Bu reg katlarını nasıl bu cmd dosyasına uyarlarız onuda daha sonra anlatacağım AutoUnattend.xml ile birlikte. AutoUnattend.xml oluşturma Diğer adıyla Cevap Dosyası. Windows kurulumlarını daha olay hale getiren bir dosyadır. Katılımsız kurulumların yapılmasını sağlar. Örnek bir dosya Windows 10 x86-64 sürümlerde kullanılabilir. İki tür sistem(x86-64) için hazırlandığından komutlardan ikişer tane var. Her pasajda Türkçe açıklama mevcut. Spoiler <?xml version="1.0" encoding="utf-8"?> <!-- Sistem Dağıtımı içim Unattend dosyası 1809 RS5. --> <unattend xmlns="urn:schemas-microsoft-com:unattend"> <!-- Geçiş 1 ==================================== --> <settings pass="windowsPE"> <!-- Dağıtım arabirimi için dil ayarlarını ayarlayın. Klavye düzenleri için giriş dilleri 'InputLocale'--> <component name="Microsoft-Windows-International-Core-WinPE" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <SetupUILanguage> <UILanguage>tr-TR</UILanguage> </SetupUILanguage> <SystemLocale>tr-TR</SystemLocale> <UILanguage>tr-TR</UILanguage> <UserLocale>tr-TR</UserLocale> <InputLocale>tr-TR; en-US</InputLocale> </component> <component name="Microsoft-Windows-International-Core-WinPE" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <SetupUILanguage> <UILanguage>tr-TR</UILanguage> </SetupUILanguage> <SystemLocale>tr-TR</SystemLocale> <UILanguage>tr-TR</UILanguage> <UserLocale>tr-TR</UserLocale> <InputLocale>tr-TR; en-US</InputLocale> </component> <component name="Microsoft-Windows-Setup" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <!-- Dağıtımın başında EULA ile yapılan pencere sözleşmesini, bu sözleşmeyi kabul ederek gizleme --> <UserData> <AcceptEula>true</AcceptEula> </UserData> <!-- Dizin 1'i seçerek kurulacak imajın index numarasını seçmiş olurusnuz, birden fazla sürüm olması halinde bu değer değiştirilmeli --> <ImageInstall> <OSImage> <InstallFrom> <MetaData wcm:action="add"> <Key>/IMAGE/INDEX</Key> <Value>1</Value> </MetaData> </InstallFrom> </OSImage> </ImageInstall> <!-- Disk Düzenleme penceresini her zaman görüntüleme --> <DiskConfiguration> <WillShowUI>Always</WillShowUI> </DiskConfiguration> </component> <component name="Microsoft-Windows-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <!-- Dağıtımın başında EULA ile yapılan pencere Sözleşmesini, bu sözleşmeyi kabul ederek gizleme --> <UserData> <AcceptEula>true</AcceptEula> </UserData> <!-- Dizin 1'i seçerek kurulacak imajın index numarasını seçmiş olurusnuz, birden fazla sürüm olması halinde bu değer değiştirilmeli --> <ImageInstall> <OSImage> <InstallFrom> <MetaData wcm:action="add"> <Key>/IMAGE/INDEX</Key> <Value>1</Value> </MetaData> </InstallFrom> </OSImage> </ImageInstall> <!-- Disk Düzenleme penceresini her zaman görüntüleme --> <DiskConfiguration> <WillShowUI>Always</WillShowUI> </DiskConfiguration> </component> </settings> <!-- Pasaj 1 sonu ======= --> <!-- Pasaj 4 ==================================== --> <settings pass="specialize"> <!-- Sistemi yüklemek için Bölge, Bilgisayar Adı ve GVLK Anahtarını (LTSC 2019) gösteren pencereyi atlamak. CmD ile tüm uygun bölgelerin bir listesini alabilirsiniz, komut tzutil /l --> <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <TimeZone>Turkey Standard Time</TimeZone> <ComputerName>COMPNAME</ComputerName> <ProductKey>M7XTQ-FN8P6-TTKYV-9D4CC-J462D</ProductKey> </component> <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <TimeZone>Turkey Standard Time</TimeZone> <ComputerName>COMPNAME</ComputerName> <ProductKey>M7XTQ-FN8P6-TTKYV-9D4CC-J462D</ProductKey> </component> </settings> <!-- Passage 4 sonu ======= --> <!-- Pasaj 7 ==================================== --> <settings pass="oobeSystem"> <!-- Varsayılan sistem için dil ayarlarını ayarlayın. 'InputLocale' klavye düzeni için giriş dilleri --> <component name="Microsoft-Windows-International-Core" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <!-- Temelleri atla: Klavyenin bölgesini ve düzenini seçme --> <UserLocale>tr-TR</UserLocale> <UILanguage>tr-TR</UILanguage> <SystemLocale>tr-TR</SystemLocale> <InputLocale>tr-TR; en-US</InputLocale> </component> <component name="Microsoft-Windows-International-Core" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <!-- Temelleri atla: Klavyenin bölgesini ve düzenini seçme --> <UserLocale>tr-TR</UserLocale> <UILanguage>tr-TR</UILanguage> <SystemLocale>tr-TR</SystemLocale> <InputLocale>tr-TR; en-US</InputLocale> </component> <!-- Dağıtımın son aşamasında harekete geçin. Bölgenin parametrelerini gösteren, telemetri ve vs --> <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <!-- Temelleri atla: Klavyenin bölgesini ve düzenini seçme --> <TimeZone>Turkey Standard Time</TimeZone> <OOBE> <!-- İlk çalıştırmadan önce sistem ön ayar pencerelerini atla --> <HideEULAPage>true</HideEULAPage> <HideOEMRegistrationScreen>true</HideOEMRegistrationScreen> <HideOnlineAccountScreens>true</HideOnlineAccountScreens> <!-- Pencere Ağını Atla: Dağıtım sırasında sistemi güncelleştirmek için herhangi bir ağa bağlanma --> <HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE> <!-- Hizmet penceresini bırak: Bu penceredeki tüm anahtarları kapatarak ekspres ayarları (telemetri, vb.) --> <ProtectYourPC>3</ProtectYourPC> <!-- Retail Demo için içerik eklemeyin --> <UnattendEnableRetailDemo>false</UnattendEnableRetailDemo> <!-- Zaman Ölçeği Ayarları ve Pano günlüğünün son penceresini atlama, SetupComplete.cmd'de devre dışı bırakılarak yapılır --> </OOBE> <!-- İlk giriş yaptığınızda işi yapın. "Kullanıcı" hakları altında bir klasörden hazırlanmış bir batnik çalıştırma --> <FirstLogonCommands> <SynchronousCommand wcm:action="add"> <Order>1</Order> <Description>Run FirstRun.bat</Description> <CommandLine>%WINDIR%\Setup\Scripts\FirstRun.bat</CommandLine> </SynchronousCommand> </FirstLogonCommands> <!-- Explorer etiketini TaskBar'a ekleme (Böyle bir eylem için etiket bu şekilde var olmalıdır, bu durumda). --> <TaskbarLinks> <Link0>%UserProfile%\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\System Tools\File Explorer.lnk</Link0> </TaskbarLinks> </component> <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <!-- Temelleri atla: Klavyenin bölgesini ve düzenini seçme --> <TimeZone>Turkey Standard Time</TimeZone> <OOBE> <!-- İlk çalıştırmadan önce sistem ön ayar pencerelerini atla --> <HideEULAPage>true</HideEULAPage> <HideOEMRegistrationScreen>true</HideOEMRegistrationScreen> <HideOnlineAccountScreens>true</HideOnlineAccountScreens> <!-- Pencere Ağını Atla: Dağıtım sırasında sistemi güncelleştirmek için herhangi bir ağa bağlanma --> <HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE> <!-- Hizmet penceresini atla: Bu penceredeki tüm anahtarları kapatarak express ayarları (telemetri, vb.) --> <ProtectYourPC>3</ProtectYourPC> <!-- Retail Demo için içerik eklemeyin --> <UnattendEnableRetailDemo>false</UnattendEnableRetailDemo> <!-- Zaman Ölçeği Ayarları ve Pano günlüğünün son penceresini atlama, SetupComplete.cmd'de devre dışı bırakılarak yapılır --> </OOBE> <!-- İlk giriş yaptığınızda işi yapın. "Kullanıcı" hakları altında bir klasörden hazırlanmış bir batnik çalıştırma --> <FirstLogonCommands> <SynchronousCommand wcm:action="add"> <Order>1</Order> <Description>Run FirstRun.bat</Description> <CommandLine>%WINDIR%\Setup\Scripts\FirstRun.bat</CommandLine> </SynchronousCommand> </FirstLogonCommands> <!-- Explorer etiketinin TaskBar'a eklenmesi (Böyle bir eylem için, etiket bu yol boyunca var olmalıdır, bu durumda). --> <TaskbarLinks> <Link0>%UserProfile%\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\System Tools\File Explorer.lnk</Link0> </TaskbarLinks> </component> </settings> <!-- Pasaj 7 sonu ======= --> </unattend> False/True olarak seçenekler belirlenmiştir. Dil Türkçe ayarlanmıştır. Key kısmı kurulacak sürümün serialini içerir. PC adı COMPNAME olarak belirlenmiştir. Değiştirilebilir. EULA kalbul edilip, Telemetry pasif edilmiştir. İsteğe bağlı bu xlm dosyasında kurulumdan sonra çalıştırılacak ilk komutlardan biri: <FirstLogonCommands> <SynchronousCommand wcm:action="add"> <Order>1</Order> <Description>Run FirstRun.bat</Description> <CommandLine>%WINDIR%\Setup\Scripts\FirstRun.bat</CommandLine> </SynchronousCommand> </FirstLogonCommands> FirstRun.bat dosyası düzenlenmiş olup OEM içerisinde konumunda olması gerekli Örnek .bat içeriği: Reg dosyalarını Windows kurulumundan sonra sisteme işliyor. Mesela burada ne var? Ayarlar'dan Insider kısmını gizle ve Windows Fotoğraf Görüntüleyiciyi ilgili dosyalarla ilişkilendir. Spoiler @echo off chcp 65001 >nul reg add "HKLM\SOFTWARE\Microsoft\WindowsSelfHost\UI\Visibility" /v "HideInsiderPage" /t "REG_DWORD" /d "1" /f reg add "HKLM\SOFTWARE\Microsoft\Windows Photo Viewer\Capabilities\FileAssociations" /v ".tif" /t REG_SZ /d "PhotoViewer.FileAssoc.Tiff" /f reg add "HKLM\SOFTWARE\Microsoft\Windows Photo Viewer\Capabilities\FileAssociations" /v ".tiff" /t REG_SZ /d "PhotoViewer.FileAssoc.Tiff" /f reg add "HKLM\SOFTWARE\Microsoft\Windows Photo Viewer\Capabilities\FileAssociations" /v ".png" /t REG_SZ /d "PhotoViewer.FileAssoc.Tiff" /f reg add "HKLM\SOFTWARE\Microsoft\Windows Photo Viewer\Capabilities\FileAssociations" /v ".bmp" /t REG_SZ /d "PhotoViewer.FileAssoc.Tiff" /f reg add "HKLM\SOFTWARE\Microsoft\Windows Photo Viewer\Capabilities\FileAssociations" /v ".jpeg" /t REG_SZ /d "PhotoViewer.FileAssoc.Tiff" /f reg add "HKLM\SOFTWARE\Microsoft\Windows Photo Viewer\Capabilities\FileAssociations" /v ".jpg" /t REG_SZ /d "PhotoViewer.FileAssoc.Tiff" /f reg add "HKLM\SOFTWARE\Microsoft\Windows Photo Viewer\Capabilities\FileAssociations" /v ".ico" /t REG_SZ /d "PhotoViewer.FileAssoc.Tiff" /f exit Bu reg kayıtlarını böyle bulmak zor olacaktır. Elinizde bulunan bir reg kaydını vereceğim RegConverter ile .bat dosyasına dönüştürüp kullanacağız. RegConvert_v1.2.7z Bir reg kaydını açtığınızda bu şekilde görünür: Reg Dosyasının İçeriğini dönüştür dediğinizde bize gerekli satırlar çıkar. Örnek boş bir bat dosyasına eklenen kayıt da böyle olmalı. Spoiler @echo off chcp 65001 >nul reg.exe add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System" /v "EnableFirstLogonAnimation" /t REG_DWORD /d "0" /f exit Bunun gibi birçok kayıt eklenebilir. Şimdi neden bu kayıtları FirstRun.bat dosyasına ekledim. SetupComplete.cmd dosyasına eklenemezmiydi. Eklenir ama bazı kayıtlar sisteme işlemez. Bunlar hangi kayıtlar, yeni kullanıcı kayıtları. Daha önce SetupComplete.cmd ile başarısız olan kayıtları bu anlattğım yöntemle başarlı bir şekilde yükledim. Siz bu kayıtları ilk önce SetupComplete.cmd ile işleyin baktınız bazı kayıt defteri ayarları sisteme işlenmedi o zman FisrtRun.bat dosyasıyla ekleyebilirsiniz. Servis ve Hizmet ayarları da SetupComplete.cmd veya FirstRun.bat dosyasına eklenebilir. Yeterki bunların kodlarını bulun. RegConverter ile dönüştürülen içeriği her iki dosyada kullanabilirsiniz. BONUS Kayıt defteri Ayarları Güncel Dosyalara buradan ulaşabilirsiniz. Spoiler https://github.com/CHEF-KOCH/regtweaks Edited August 19, 2020 by MrRush 12 4 Quote Link to comment Share on other sites More sharing options...
NAMIKABI Posted June 6, 2020 Share Posted June 6, 2020 Ellerine sağlık güzel bir rehber olmuş. 1 Quote Link to comment Share on other sites More sharing options...
eskehacettepe Posted June 6, 2020 Share Posted June 6, 2020 namik abi video gelecekmi acaba acer laptopların wireless exe proğramı varmı ahteros ve broadcom lan driver exe varmı acaba ellerinize sağlık güzel anlatım olmuş Quote Link to comment Share on other sites More sharing options...
MrRush Posted December 21, 2021 Author Share Posted December 21, 2021 (edited) bensuslu11, 4 saat önce yazdı: Şimdi benim iki sorum olacak. Birinci olarak autounattend.xml ve Unattend.xml arasındaki fark nedir? ikinci olarak Unattend.xml içindeki kodlardan örneğin ürün anahtarı ve diğer kullancı adlarının parolası nasıl gizlenir? Bu tür yapılan xml dosyaları gördüm ama uncript yapamadım. Yani normal şifresiz hale getiremedim? Normalde Ürün Anahtarı, Kullanıcı Adı veya Şifre pasajlarını kaldırıp kaydetmen yeterli. Dosya farklar açıklamada bulunur. Please register to see this content. Edited December 21, 2021 by MrRush 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.