Popular Post deli_petro06 Posted February 16, 2021 Popular Post Share Posted February 16, 2021 (edited) Konu Alıntıdır ve Türkçeye çevirdim. Yararlı olabilir düşüncesiyle ekliyorum... Sysprep Windows 10 Makinesi: Adım Adım Kılavuz 31 TEMMUZ 2020 CYRIL KARDASHEVSKY SYSPREP, WINDOWS Windows Sistem Hazırlama Aracı (Sysprep) aracıyla, özelleştirilmiş bir Windows 10 referans görüntüsü oluşturabilirsiniz. Görüntüdeki tüm uygulamaları, sürücüleri ve güncellemeleri yükleyebilirsiniz. Bundan sonra, Windows görüntüsünü şirketinizdeki kullanıcıların bilgisayarlarına dağıtabilirsiniz. Bu makalede, Windows 10 1909 (18363.592) derlemesinde Sysprep'in bir referans görüntüsü oluşturmak için nasıl kullanılacağını göstereceğiz. Hazır olan ve fiziksel veya sanal bir makineye (VDI çözümleri) dağıtabileceğiniz bir Windows görüntüsü oluşturmak için bu kılavuzu kullanın. SysPrep nedir? Bir Windows görüntüsünü kullanıcıların bilgisayarlarına dağıtmadan önce, bir referans görüntü yapılandırmanız gerekir. Gerekli sürücüleri, uygulamaları kurun ve diğer Windows ayarlarını yapılandırın. Elde edilen görüntü, bilgisayara özel bilgiler (SID, GUID, vb.) Silinerek genelleştirilmelidir. Windows görüntüsünü Sysprep yardımcı programıyla genelleştirebilirsiniz. Sysprep, belirli bir işletim sistemiyle ilgili tüm bilgileri silmenizi sağlar. Bu, benzersiz tanımlayıcıları (SID, GUID, vb.), Windows etkinleştirme sıfırlamasını ve Denetim modunda uygulamaların ve sürücülerin yüklenmesini içerir. Sysprep'i çalıştırmadan önce işletim sisteminin tüm yapılandırmasına dokunulmadan kalır. Buna yüklenen yazılım, kişiselleştirme ve ağ ayarları, başlangıç ekranına yüklenmiş ve sabitlenmiş Metro uygulamaları, Dosya Gezgini ve diğer parametreler dahildir. Windows 10 ve Windows Server 2016'da, Sysprep.exe yardımcı programı C \ Windows \ System32 \ sysprep klasöründe bulunur. Spoiler Hazırlanmış bir referans Windows 10 imajını kurduktan ve doğru şekilde yapılandırıldıktan sonra (belirli yüklü yazılımlarla, işletim sistemi ayarlarıyla, belirtilen izinler ve kısıtlamalarla), MDT, WDS kullanarak şirketin tüm bilgisayarlarına dağıtabilirsiniz. SCCM veya manuel olarak (Windows 10'u MDT ve WDS ile Dağıtma konusuna bakın). Sysprep Kullanmanın Yararları ve Dezavantajları Syprep'in faydaları: Özelleştirilmiş referans Windows 10 görüntüsü, bir kullanıcının bilgisayarında çalışmaya hazır bir ortamı hızla dağıtmanıza olanak tanır. Sürücüleri, programları, güvenlik güncellemelerini yüklemenize gerek yoktur. Ayrıca her bilgisayarda özel Windows Ayarlarının yapılandırılmasına gerek yoktur; Windows görüntüsünü yanıt (katılımsız) dosyasını kullanarak dağıtabilirsiniz. Kurulumdan sonra, ilk Windows 10 kurulum ekranında çeşitli seçenekleri seçmenize gerek yoktur; İstediğiniz zaman görüntüyü çıkarabilir, üzerinde değişiklik yapabilir ve dağıtım aracıyla güncelleyebilirsiniz. Sysprep'in dezavantajları: Windows referans görüntüsünün boyutu, temiz Windows 10 kurulum ISO görüntüsünden önemli ölçüde daha büyük olabilir; Referans görüntüye enjekte edilen programların ve sürücülerin sürümlerini periyodik olarak güncellemeniz gerekir. Windows 10 Referans Görüntüsü Nasıl Oluşturulur? Aşağıdaki adımlarla Windows 10 referans WIM görüntünüzü oluşturabilirsiniz: ISO görüntüsünden temiz Windows 10 kurulumu gerçekleştirin, ardından Denetim Moduna girin; Uygulamaları, sürücüleri yükleyin ve sistem ayarlarını yapılandırın; Sistemi Sysprep yardımcı programını kullanarak hazırlayın; Windows PE'ye önyükleme yapın ve DISM aracını kullanarak bir görüntü yakalayın. Ardından, ortaya çıkan görüntü WIM'i yükleme diskine eklenebilir veya MDT, WDS, DISM veya ImageX gibi farklı araçlar kullanılarak dağıtılabilir. Windows 10'u Sysprep ile Denetim Modunda Özelleştirme Referans Windows 10 Görüntünüzü Denetim Modunda özelleştirmeniz gerekir. Yüklü Windows 10 işletim sisteminde, OOBE'de (kullanıma hazır kullanıcı deneyimi) veya Windows Karşılama ekranında Shift + Ctrl + F3 tuşlarına basarak Windows 10'u Denetim Modu veya OOBE'ye başlatabilirsiniz. Sysprep'i kullanarak Denetim Moduna da girebilirsiniz. Bunu yapmak için şu komutu çalıştırın: Spoiler C:\windows\system32\sysprep\sysprep.exe Spoiler Sistem Hazırlama Aracı penceresinde seçenekleri seçin: Sistem Temizleme Eylemi: Sistem Denetimi moduna girin; Kapatma Seçenekleri: Yeniden Başlatma; OK düğmesine basın. Bilgisayar otomatik olarak yeniden başlayacak ve Denetim Moduna geçecektir. Windows 10, Denetim Modu'ndayken yerleşik yönetici hesabıyla otomatik olarak önyükleme yapar ve oturum açar. Ayrıca bu hesap devre dışı bırakılacaktır. Spoiler Windows 10, Sysprep çalışana kadar bilgisayarınızı kaç kez yeniden başlatmış olursanız olun bu modda önyükleme yapacaktır. Windows 10 Denetim Modu masaüstüne, ekranın ortasındaki Sysprep iletişim kutusuna girdiğinizi anlamak için tek bir görünür işaret vardır. Sysprep yardımcı programı penceresini kapatmayın - yapılandırma adımının sonunda ihtiyacınız olacak. Onu küçültün. Denetim Modunda, Windows 10 referans görüntünüzü yapılandırabilirsiniz. Referans görüntülerinde en sık yapılandırılan sysop'ların birkaç popüler adıma göz atacağız. Adım 1: OEM Bilgileri ve Logosunu Yükleyin Şirketinizin markalı bilgilerini bilgisayar özellikleri pencerelerinde ayarlayabilirsiniz. Bu örnekte, OEMLogo, Şirket adı, teknik destek web sitesi ve çalışma saatlerini yapılandıracağız. Bu ayarları yapılandırmanın en kolay yolu kayıt defteridir. Bir metin dosyası oem.reg oluşturun ve aşağıdaki kodu içine kopyalayın: Spoiler Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\OEMInformation] “Logo”=”C:\\WINDOWS\\oem\\OEMlogo.bmp” “Manufacturer”=”TheITBros, LLC” “Model”=”Windows 10 Pro 1909” “SupportHours”=”9am to 5pm ET M-F” Not. Önce şirket logonuzla c \ WINDOWS \ oem \ OEMlogo.bmp grafik dosyasını oluşturun. Reg dosyasını uygulamak için üzerine çift tıklayın ve kayıt defteri değişikliklerini kabul edin. Sonuç olarak, bu ayarlar kayıt defterine aktarılacaktır. Spoiler Sistem Özelliklerinde yeniden başlattıktan sonra, aşağıdaki markalı bilgileri görebilirsiniz: Spoiler Adım 2: Sürücüleri ve Uygulamaları Kurun Windows 10 görüntünüzde görmek istediğiniz sürücüleri ve üçüncü taraf programları yükleyebilirsiniz. Programları manuel olarak veya entegre Windows 10 paket yöneticisi - Chocolatey'i kullanarak yükleyebilirsiniz. Şimdi Chocolatey'i kurun. Bunu yapmak için, PowerShell konsolunu yönetici ayrıcalıklarıyla çalıştırın. Aşağıdaki komutları girin: Spoiler Set-ExecutionPolicy Bypass -Scope Process -Force; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1')) Spoiler PowerShell konsolunu yeniden başlatın. Artık tek bir komutla daha fazla program kurabilirsiniz. Diyelim ki, choco kullanarak Opera, Google Chrome, VLC, Adobe Reader, 7Zip, K-Lite Codec Pack Full ve Zoomit'i kurmak istiyoruz. Komutu çalıştırın: choco install 7zip, Opera, google-chrome, vlc, adobereader, k-litecodecpackfull,zoom u referans Windows 10 görüntüsünü dağıtmak istediğiniz tüm bilgisayar ve dizüstü bilgisayar modelleri için sürücüleri de yükleyebilirsiniz. Sürücü paketlerini indirip belirli bir dizine çıkartın. Ardından tüm * .inf dosyalarını arayın ve burada açıklanan tüm sürücüleri şu komutla Windows görüntüsüne ekleyin: Spoiler for /f %i in ('dir /b /s *.inf') do pnputil.exe -i -a %i Uygulamayı veya güncellemeyi yüklemek için Windows'u yeniden başlatmanız gerekirse, bunu yapabilirsiniz. Yeniden başlatmanın ardından, sistem denetim moduna dönecektir. 3. Adım: Windows 10'da Telemetri ve Veri Toplamayı Devre Dışı Bırakın Windows 10, kullanıcıların bilgisayardaki işlemleri hakkında bilgi toplar. El yazısı ve ses örnekleri, konum bilgileri, hata raporları, takvim içeriği örnekleri - bunların tümü Microsoft sunucularına gönderilebilir. İşletim sisteminin Microsoft'un telemetri sunucularına veri göndermesini istemiyorsanız, Telemetri ve Veri Toplama hizmetlerini devre dışı bırakabilirsiniz. Yükseltilmiş Komut istemini çalıştırın ve aşağıdaki komutları yürütün: Spoiler sc delete DiagTrack sc delete dmwappushservice echo ““ > C:\ProgramData\Microsoft\Diagnosis\ETLLogs\AutoLogger\AutoLogger-DiagTrack-Listener.etl red add “HKLM\SOFTWARE\Policies\Microsoft\Windows\DataCollection”/v AllowTelemtery/t REG_DWORD/d 0 /f Ayrıca GitHub'daki DisableWinTracking aracını kullanarak Windows 10 izlemesini devre dışı bırakabilirsiniz. 4. Adım: Windows Güvenlik Güncellemesini Denetim Modunda yükleyin Windows 8.1'den itibaren, denetim modunda Ayarlar panelindeki Windows Güncelleme Merkezi'ni kullanarak güncellemeleri yükleyemezsiniz. Windows Güncelleme Merkezi, sistemin OOBE aşamasını tamamlayıp tamamlamadığını kontrol eder. Değilse, güncelleme gerçekleştirilmez. Sistemi konsoldan güncellemek için, PSWindowsUpdate Modülünü TechNet Gallery'den alabilirsiniz. PSWindowsUpdate.zip arşivini bir USB sürücüsüne kaydedin ve (bu önemlidir!) Üzerine sağ tıklayın> Özellikler> Engellemeyi Kaldır. PSWindowsUpdate.zip dosyasını her iki klasöre çıkarın: Spoiler %USERPROFILE%\Documents\Windows\PowerShell\Modules; %WINDIR%\System32\Windows\PowerShell\v1.0\Modules. Mevcut tüm Windows güncellemelerini indirmek ve kurmak için komutları çalıştırın: Spoiler PowerShell -ExecutionPolicy RemoteSigned -Command Import-Module PSWindowsUpdate; Get-WUInstall -AcceptAll -IgnoreReboot Bu kadar! Mevcut güncellemeler Windows Update sunucularından indirilecek ve otomatik olarak yüklenecektir. 5. Adım: Yerleşik UWP Uygulamalarını Kaldırın Ayrıca, yerleşik UWM uygulamalarını kaldırabilirsiniz, ancak bu gerçekten size bağlıdır. Dolayısıyla, yerleşik uygulamaları kaldırmak istemiyorsanız bu adımı atlamanız yeterlidir. Aşağıdaki komutları PowerShell konsoluna yapıştırın ve Enter tuşuna basın: Spoiler Get-AppxPackage *3dbuilder* | Remove-AppxPackage Get-AppxPackage *windowsalarms* | Remove-AppxPackage Get-AppxPackage *windowscalculator* | Remove-AppxPackage Get-AppxPackage *windowscommunicationsapps* | Remove-AppxPackage Get-AppxPackage *windowscamera* | Remove-AppxPackage Get-AppxPackage *officehub* | Remove-AppxPackage Get-AppxPackage *skypeapp* | Remove-AppxPackage Get-AppxPackage *getstarted* | Remove-AppxPackage Get-AppxPackage *zunemusic* | Remove-AppxPackage Get-AppxPackage *windowsmaps* | Remove-AppxPackage Get-AppxPackage *solitairecollection* | Remove-AppxPackage Get-AppxPackage *bingfinance* | Remove-AppxPackage Get-AppxPackage *zunevideo* | Remove-AppxPackage Get-AppxPackage *bingnews* | Remove-AppxPackage Get-AppxPackage *onenote* | Remove-AppxPackage Get-AppxPackage *people* | Remove-AppxPackage Get-AppxPackage *windowsphone* | Remove-AppxPackage Get-AppxPackage *photos* | Remove-AppxPackage Get-AppxPackage *bingsports* | Remove-AppxPackage Get-AppxPackage *soundrecorder* | Remove-AppxPackage Get-AppxPackage *bingweather* | Remove-AppxPackage Get-AppxPackage *xboxapp* | Remove-AppxPackage Sysprep Kullanarak Windows 10 Görüntüsünü Genelleştirme Bilgisayarınızda yapılandırılmış statik bir IP adresi varsa, adresin otomatik olarak alınması gerektiğini belirtin (bir DHCP sunucusundan). Bunu ağ adaptörü ayarlarında yapabilirsiniz. Spoiler Her şey yapılandırıldıktan sonra, Sysprep'i çalıştırabilir ve seçenekleri belirleyebilirsiniz: Sistem Temizleme Eylemi: Kullanıma Hazır Sistem Deneyimini (OOBE) girin; Kapatma Seçenekleri: Kapatma; Genelleştir seçeneğini işaretleyin. Spoiler Windows görüntüsü yakalama adımına gidebilirsiniz. Cevap dosyası her sorunun cevabını içerebilir. Bu, Windows'u yüklerken ve başlangıç ayarlarını (bölge, dil, ürün anahtarı, klavye, hesap ve gizlilik ayarı vb.) Seçerken seçilmelidir. İlk çalıştırma deneyimi (OOBE) sırasındaki adımları izleyin. Yanıt dosyası nedeniyle, yükleyici ekranlarının sayısı önemli ölçüde azalır. Windows Sistem Görüntü Yöneticisini Kullanarak Windows 10 Yanıt Dosyası Nasıl Oluşturulur? El ile bir yanıt dosyası oluşturabilirsiniz (bu basit XML'dir). Ancak, Windows Sistem Görüntü Yöneticisi (SIM) aracını kullanarak doğru yanıt dosyasını oluşturmak daha uygundur. Bunu Windows Değerlendirme ve Dağıtım Kiti'nden (ADK) yapabilirsiniz. Windows 10 için Windows Değerlendirme ve Dağıtım Kiti'ni (ADK) indirin. Adksetup.exe dosyasını yönetici ayrıcalıklarıyla çalıştırın. Ardından yüklemek için Dağıtım Araçlarını seçin (DISM ve Windows Sistem Görüntüsü Yöneticisinin en son sürümünü içerir). Spoiler Katılımsız Windows 10 Kurulumu için Sysprep ile Yanıt Dosyalarını Kullanma Sistem Hazırlama (Sysprep) aracıyla birlikte bir yanıt dosyası kullanabilirsiniz. Katılımsız Windows Kurulum ayarlarının yapılandırılmasına izin verir. Bu adım isteğe bağlıdır (görüntü ilk çalıştırıldığında yapılandırılması gereken çeşitli parametreleri otomatik olarak belirlemek için kullanılır). Bu adımı atlayabilir ve doğrudan dağıtmak istediğiniz Windows 10 yansımasıyla birlikte bir install.wim dosyasına ihtiyacınız olacak bir yükleme adımına geçebilirsiniz. İnstall.wim dosyasını, kurulum Windows 10 ISO görüntüsündeki kaynaklar dizininden kopyalayabilirsiniz. Kaynaklar dizininde yalnızca install.esd dosyası varsa, bunu install.wim dosyasına dönüştürebilirsiniz. Windows 10 1909 (Derleme 18353.592) için bir cevap katılımsız dosyası oluşturalım. Spoiler Windows Sistem Görüntüsü Yöneticisini yönetici ayrıcalıklarıyla çalıştırın Spoiler (C:\Program Files (x86)\Windows Kits\10\Assessment and Deployment Kit\Deployment Tools\WSIM\imgmgr.exe). Select File > New Answer File. Spoiler SIM, kendisi için bir yanıt dosyası oluşturmak istediğiniz bir Windows görüntü dosyası belirtmeniz gerekecektir. Yüklenmeden önceki install.wim dosyasının yolunu belirtin. SIM'in Windows kurulum görüntüsünü takmasını ve katalog dosyasını (.clg) oluşturmasını bekleyin. Bu biraz zaman alacak, ardından install_Windows 10 Pro.clg dosyası install.wim dosyasıyla birlikte dizinde görünecektir. Spoiler Not. ADK v1903'ten WSIM kullanarak Windows 10 1909 için install.wim dosyasını açtığımızda bir hata aldık: Windows SIM bir katalog oluşturamadı. Spoiler Bu sorunu gidermek için Windows Sistem Görüntüsü Yöneticisi (WSIM) 1903 güncellemesini (https://go.microsoft.com/fwlink/?linkid=2095334) indirmeniz gerekir. WSIM1903.zip arşivini diske açın. Bundan sonra C:\Program Files (x86)\Windows Kits\10\Assessment and Deployment Kit\Deployment Tools\WSIM. klasöründeki WSIM dosyalarını değiştirin. Windows 10 sürümünüzü seçin. İnstall.wim dosyanızda yalnızca bir Windows sürümü varsa, bu otomatik olarak seçilecektir. WSIM kullanarak, yanıt dosyasının çeşitli parametrelerini yapılandırabilirsiniz. Örneğin, Windows ürün anahtarını (KMS veya MAK anahtarlarını kullanıyorsanız), saat dilimini, organizasyon ve sahip bilgilerini, varsayılan dil ve bölge ayarlarını, giriş yerel ayarlarını vb. Yapılandırabilirsiniz. Her şeyden önce, en önemli şeyi yapmalıyız: Sysprep'e tüm özelleştirmelerimizi varsayılan kullanıcı profiline kopyalamasını söylemek. Bunu yapmak için Windows Görüntüsü bölümünde amd64_Microsoft-Windows-Shell-Setup__neutral bölümünü bulun. Üzerine sağ tıklayın ve Add Setting to Pass 4 specialize'yi seçin. Spoiler Ardından, File panel, expand section 4 Specialize > amd64_Microsoft-Windows-Shell-Setup__neutral bölümünü genişletin. CopyProfile değerini TRUE olarak ayarlayın. Spoiler Ek olarak, Yanıt dosyasında aşağıdaki seçenekleri yapılandırabilirsiniz. 1 Windows PE'yi geçin WinPE'de bir kurulum dili seçme: Microsoft-Windows-International-Core-WinPE InputLocale: tr-TR; SystemLocale: tr-TR UILanguage: tr-TR UserLocale: tr-TR Windows 10 Ürün anahtarı: Microsoft-Windows-Setup -> UserData -> ProductKey -> Key = {specify your MAK or GVLK key} Kullanıcı sözleşmesini otomatik olarak kabul etmek için: Microsoft-Windows-Setup -> UserData -> AccepptEula = True 7 oobeSystem'i geçin Microsoft hesabı oluşturma ekranını (MSA) atlayın: Microsoft-Windows-Shell-Setup –> OOBE -> HideOnlineAccountScreens = True Yerel hesabınız için 3 güvenlik sorusu sormasın: Microsoft-Windows-Shell-Setup –> OOBE -> ProtectYourPC= 3 Bir yerel yönetici hesabı oluşturun ve bunun için bir şifre belirleyin: Microsoft-Windows-Shell-Setup –> UserAccounts –> LocalAccounts -> Insert New Local Account Name: admin Group: Administrators Spoiler Tüm boş (boş) yanıt dosyası parametreleri kaldırılmalıdır. Yanıt dosyalarındaki ayarları kontrol etmek için Tools > Validate Answer File seçeneğini seçin. Her şeyi doğru şekilde yapılandırdıysanız, Mesajlar konsolunda bir mesaj görünmelidir: Uyarı veya hata yok. Spoiler Yanıt dosyasını File > Save Answer File As> autounattend.xml'yi seçerek kaydedin. Spoiler Artık WSIM'i kapatabilirsiniz. Yanıt Dosyasını Kullanarak Windows Görüntüsünü Genelleştirin Artık otomatik başlatma dosyanızı Windows 10 görüntünüzü Sysprep'te kullanabilirsiniz. Yükseltilmiş komut istemini çalıştırın ve aşağıdaki komutu çalıştırın (autounattend.xml yolunu sizinkiyle değiştirin): c:\windows\System32\Sysprep\sysprep.exe /generalize /oobe /generalize /shutdown /unattend:C:\ps\autounattend.xml Spoiler / Generalize seçeneğiyle Sysprep benzersiz bilgisayar verilerini kaldırır. Bu, bu referans Windows 10 görüntüsünü başka bir iş istasyonunda veya dizüstü bilgisayarda güvenle dağıtmanıza olanak tanır. Komutu yürüttükten sonra bilgisayar kapanacaktır. Genelleştirmeden Sonra DISM Kullanarak Referans Windows 10'u Yakala Bilgisayarınızı kapattıktan sonra, MDT kullanarak özelleştirilmiş bir Windows 10 görüntüsü yakalayabilirsiniz. Bir Windows görüntüsünü yakalamak veya DISM kullanmak için başka özel araçlar da kullanabilirsiniz. Aşağıda DISM seçeneğini ele alacağız. Not. Windows'un önceki sürümlerinde, ImageX aracı bir görüntüyü yakalamak ve dağıtmak için kullanılabilirdi. En son Windows 10 sürümlerinde, tüm bunları DISM ile yapabilirsiniz. Bilgisayarı Windows referans görüntüsüyle Windows PE'ye önyükleyin. Bunu, bilgisayarı Windows 10 yükleme diskinden veya kurtarma diskinden başlatarak yapabilirsiniz. Dil seçim ekranında Shift + F10 tuşlarına basın. Açılan komut penceresinde Diskpart komutunu yazın. Sürücü harflerini tanımlamak için list vol komutunu kullanın. Örneğimizde, yüklü Windows görüntüsü D sürücüsünde bulunur. Görüntüyü yakalamak için şu komutu çalıştırın: Spoiler dism /capture-image /imagefile:D:\win10referenceimg.wim /capturedir:d:\ /name:"Win10 Pro reference image" Spoiler / imagefile - oluşturmamız gereken wim resim dosyası; / Capturedir - referans Windows yükleme klasörü. Spoiler Wim Image dosyasını yerel bir diskten kopyalayın. Bunu dağıtım yazılımınıza (MDT, SCCM) aktarın veya yükleme sürücüsüne yerleştirin (dosyayı install.wim olarak yeniden adlandırın). Sonunda başardık. Bu görüntüyü iş istasyonuna dağıttıktan sonra, tüm özelleştirmelerin orada olduğunu göreceksiniz. Denetim Modunda yüklediğiniz tüm yazılımlar da oradadır. Orijinal Konu Linki https://theitbros.com/sysprep-windows-machine/ Kullanılan Yazılımlar İndirme Linkleri https://github.com/10se1ucgo/DisableWinTracking http://go.microsoft.com/fwlink/p/?LinkId=526740 Edited February 16, 2021 by deli_petro06 10 3 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.