{"id":500,"date":"2023-05-30T07:38:32","date_gmt":"2023-05-30T07:38:32","guid":{"rendered":"https:\/\/blog1.tomtechproductions.be\/?p=500"},"modified":"2023-05-30T07:38:32","modified_gmt":"2023-05-30T07:38:32","slug":"unattend-file-windows","status":"publish","type":"post","link":"https:\/\/blog.tomtechproductions.be\/index.php\/2023\/05\/30\/unattend-file-windows\/","title":{"rendered":"Unattend file Windows"},"content":{"rendered":"\n<p>Created at: <a href=\"https:\/\/schneegans.de\/windows\/unattend-generator\/\">Generate autounattend.xml files for Windows\u00a010\/11 (schneegans.de)<\/a><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;unattend xmlns=\"urn:schemas-microsoft-com:unattend\" xmlns:wcm=\"http:\/\/schemas.microsoft.com\/WMIConfig\/2002\/State\">\n&lt;settings pass=\"offlineServicing\"\/>\n&lt;settings pass=\"windowsPE\">\n&lt;component name=\"Microsoft-Windows-International-Core-WinPE\" processorArchitecture=\"x86\" publicKeyToken=\"31bf3856ad364e35\" language=\"neutral\" versionScope=\"nonSxS\">\n&lt;SetupUILanguage>\n&lt;UILanguage>nl-NL&lt;\/UILanguage>\n&lt;\/SetupUILanguage>\n&lt;InputLocale>0813:00000813&lt;\/InputLocale>\n&lt;SystemLocale>nl-BE&lt;\/SystemLocale>\n&lt;UILanguage>nl-NL&lt;\/UILanguage>\n&lt;UserLocale>nl-BE&lt;\/UserLocale>\n&lt;\/component>\n&lt;component name=\"Microsoft-Windows-International-Core-WinPE\" processorArchitecture=\"amd64\" publicKeyToken=\"31bf3856ad364e35\" language=\"neutral\" versionScope=\"nonSxS\">\n&lt;SetupUILanguage>\n&lt;UILanguage>nl-NL&lt;\/UILanguage>\n&lt;\/SetupUILanguage>\n&lt;InputLocale>0813:00000813&lt;\/InputLocale>\n&lt;SystemLocale>nl-BE&lt;\/SystemLocale>\n&lt;UILanguage>nl-NL&lt;\/UILanguage>\n&lt;UserLocale>nl-BE&lt;\/UserLocale>\n&lt;\/component>\n&lt;component name=\"Microsoft-Windows-Setup\" processorArchitecture=\"x86\" publicKeyToken=\"31bf3856ad364e35\" language=\"neutral\" versionScope=\"nonSxS\">\n&lt;ImageInstall>\n&lt;OSImage>\n&lt;InstallTo>\n&lt;DiskID>0&lt;\/DiskID>\n&lt;PartitionID>3&lt;\/PartitionID>\n&lt;\/InstallTo>\n&lt;\/OSImage>\n&lt;\/ImageInstall>\n&lt;UserData>\n&lt;ProductKey>\n&lt;Key>VK7JG-NPHTM-C97JM-9MPGT-3V66T&lt;\/Key>\n&lt;\/ProductKey>\n&lt;AcceptEula>true&lt;\/AcceptEula>\n&lt;\/UserData>\n&lt;RunSynchronous>\n&lt;RunSynchronousCommand>\n&lt;Order>1&lt;\/Order>\n&lt;Path>cmd.exe \/c echo SELECT DISK=0 >> X:\\diskpart.txt&lt;\/Path>\n&lt;\/RunSynchronousCommand>\n&lt;RunSynchronousCommand>\n&lt;Order>2&lt;\/Order>\n&lt;Path>cmd.exe \/c echo CLEAN >> X:\\diskpart.txt&lt;\/Path>\n&lt;\/RunSynchronousCommand>\n&lt;RunSynchronousCommand>\n&lt;Order>3&lt;\/Order>\n&lt;Path>cmd.exe \/c echo CONVERT GPT >> X:\\diskpart.txt&lt;\/Path>\n&lt;\/RunSynchronousCommand>\n&lt;RunSynchronousCommand>\n&lt;Order>4&lt;\/Order>\n&lt;Path>cmd.exe \/c echo CREATE PARTITION EFI SIZE=100 >> X:\\diskpart.txt&lt;\/Path>\n&lt;\/RunSynchronousCommand>\n&lt;RunSynchronousCommand>\n&lt;Order>5&lt;\/Order>\n&lt;Path>cmd.exe \/c echo FORMAT QUICK FS=FAT32 LABEL=\"System\" >> X:\\diskpart.txt&lt;\/Path>\n&lt;\/RunSynchronousCommand>\n&lt;RunSynchronousCommand>\n&lt;Order>6&lt;\/Order>\n&lt;Path>cmd.exe \/c echo CREATE PARTITION MSR SIZE=16 >> X:\\diskpart.txt&lt;\/Path>\n&lt;\/RunSynchronousCommand>\n&lt;RunSynchronousCommand>\n&lt;Order>7&lt;\/Order>\n&lt;Path>cmd.exe \/c echo CREATE PARTITION PRIMARY >> X:\\diskpart.txt&lt;\/Path>\n&lt;\/RunSynchronousCommand>\n&lt;RunSynchronousCommand>\n&lt;Order>8&lt;\/Order>\n&lt;Path>cmd.exe \/c echo FORMAT QUICK FS=NTFS LABEL=\"Windows\" >> X:\\diskpart.txt&lt;\/Path>\n&lt;\/RunSynchronousCommand>\n&lt;RunSynchronousCommand>\n&lt;Order>9&lt;\/Order>\n&lt;Path>cmd.exe \/c diskpart \/s X:\\diskpart.txt >> X:\\diskpart.log&lt;\/Path>\n&lt;\/RunSynchronousCommand>\n&lt;\/RunSynchronous>\n&lt;\/component>\n&lt;component name=\"Microsoft-Windows-Setup\" processorArchitecture=\"amd64\" publicKeyToken=\"31bf3856ad364e35\" language=\"neutral\" versionScope=\"nonSxS\">\n&lt;ImageInstall>\n&lt;OSImage>\n&lt;InstallTo>\n&lt;DiskID>0&lt;\/DiskID>\n&lt;PartitionID>3&lt;\/PartitionID>\n&lt;\/InstallTo>\n&lt;\/OSImage>\n&lt;\/ImageInstall>\n&lt;UserData>\n&lt;ProductKey>\n&lt;Key>VK7JG-NPHTM-C97JM-9MPGT-3V66T&lt;\/Key>\n&lt;\/ProductKey>\n&lt;AcceptEula>true&lt;\/AcceptEula>\n&lt;\/UserData>\n&lt;RunSynchronous>\n&lt;RunSynchronousCommand>\n&lt;Order>1&lt;\/Order>\n&lt;Path>cmd.exe \/c echo SELECT DISK=0 >> X:\\diskpart.txt&lt;\/Path>\n&lt;\/RunSynchronousCommand>\n&lt;RunSynchronousCommand>\n&lt;Order>2&lt;\/Order>\n&lt;Path>cmd.exe \/c echo CLEAN >> X:\\diskpart.txt&lt;\/Path>\n&lt;\/RunSynchronousCommand>\n&lt;RunSynchronousCommand>\n&lt;Order>3&lt;\/Order>\n&lt;Path>cmd.exe \/c echo CONVERT GPT >> X:\\diskpart.txt&lt;\/Path>\n&lt;\/RunSynchronousCommand>\n&lt;RunSynchronousCommand>\n&lt;Order>4&lt;\/Order>\n&lt;Path>cmd.exe \/c echo CREATE PARTITION EFI SIZE=100 >> X:\\diskpart.txt&lt;\/Path>\n&lt;\/RunSynchronousCommand>\n&lt;RunSynchronousCommand>\n&lt;Order>5&lt;\/Order>\n&lt;Path>cmd.exe \/c echo FORMAT QUICK FS=FAT32 LABEL=\"System\" >> X:\\diskpart.txt&lt;\/Path>\n&lt;\/RunSynchronousCommand>\n&lt;RunSynchronousCommand>\n&lt;Order>6&lt;\/Order>\n&lt;Path>cmd.exe \/c echo CREATE PARTITION MSR SIZE=16 >> X:\\diskpart.txt&lt;\/Path>\n&lt;\/RunSynchronousCommand>\n&lt;RunSynchronousCommand>\n&lt;Order>7&lt;\/Order>\n&lt;Path>cmd.exe \/c echo CREATE PARTITION PRIMARY >> X:\\diskpart.txt&lt;\/Path>\n&lt;\/RunSynchronousCommand>\n&lt;RunSynchronousCommand>\n&lt;Order>8&lt;\/Order>\n&lt;Path>cmd.exe \/c echo FORMAT QUICK FS=NTFS LABEL=\"Windows\" >> X:\\diskpart.txt&lt;\/Path>\n&lt;\/RunSynchronousCommand>\n&lt;RunSynchronousCommand>\n&lt;Order>9&lt;\/Order>\n&lt;Path>cmd.exe \/c diskpart \/s X:\\diskpart.txt >> X:\\diskpart.log&lt;\/Path>\n&lt;\/RunSynchronousCommand>\n&lt;\/RunSynchronous>\n&lt;\/component>\n&lt;\/settings>\n&lt;settings pass=\"generalize\"\/>\n&lt;settings pass=\"specialize\"\/>\n&lt;settings pass=\"auditSystem\"\/>\n&lt;settings pass=\"auditUser\"\/>\n&lt;settings pass=\"oobeSystem\">\n&lt;component name=\"Microsoft-Windows-International-Core\" processorArchitecture=\"x86\" publicKeyToken=\"31bf3856ad364e35\" language=\"neutral\" versionScope=\"nonSxS\">\n&lt;InputLocale>0813:00000813&lt;\/InputLocale>\n&lt;SystemLocale>nl-BE&lt;\/SystemLocale>\n&lt;UILanguage>nl-NL&lt;\/UILanguage>\n&lt;UserLocale>nl-BE&lt;\/UserLocale>\n&lt;\/component>\n&lt;component name=\"Microsoft-Windows-International-Core\" processorArchitecture=\"amd64\" publicKeyToken=\"31bf3856ad364e35\" language=\"neutral\" versionScope=\"nonSxS\">\n&lt;InputLocale>0813:00000813&lt;\/InputLocale>\n&lt;SystemLocale>nl-BE&lt;\/SystemLocale>\n&lt;UILanguage>nl-NL&lt;\/UILanguage>\n&lt;UserLocale>nl-BE&lt;\/UserLocale>\n&lt;\/component>\n&lt;component name=\"Microsoft-Windows-Shell-Setup\" processorArchitecture=\"x86\" publicKeyToken=\"31bf3856ad364e35\" language=\"neutral\" versionScope=\"nonSxS\">\n&lt;UserAccounts>\n&lt;LocalAccounts>\n&lt;LocalAccount wcm:action=\"add\">\n&lt;Name>Admin&lt;\/Name>\n&lt;Group>Administrators&lt;\/Group>\n&lt;Password>\n&lt;Value>password&lt;\/Value>\n&lt;PlainText>true&lt;\/PlainText>\n&lt;\/Password>\n&lt;\/LocalAccount>\n&lt;LocalAccount wcm:action=\"add\">\n&lt;Name>User&lt;\/Name>\n&lt;Group>Users&lt;\/Group>\n&lt;Password>\n&lt;Value>password&lt;\/Value>\n&lt;PlainText>true&lt;\/PlainText>\n&lt;\/Password>\n&lt;\/LocalAccount>\n&lt;\/LocalAccounts>\n&lt;\/UserAccounts>\n&lt;AutoLogon\/>\n&lt;OOBE>\n&lt;ProtectYourPC>3&lt;\/ProtectYourPC>\n&lt;HideEULAPage>true&lt;\/HideEULAPage>\n&lt;HideWirelessSetupInOOBE>true&lt;\/HideWirelessSetupInOOBE>\n&lt;\/OOBE>\n&lt;\/component>\n&lt;component name=\"Microsoft-Windows-Shell-Setup\" processorArchitecture=\"amd64\" publicKeyToken=\"31bf3856ad364e35\" language=\"neutral\" versionScope=\"nonSxS\">\n&lt;UserAccounts>\n&lt;LocalAccounts>\n&lt;LocalAccount wcm:action=\"add\">\n&lt;Name>Admin&lt;\/Name>\n&lt;Group>Administrators&lt;\/Group>\n&lt;Password>\n&lt;Value>password&lt;\/Value>\n&lt;PlainText>true&lt;\/PlainText>\n&lt;\/Password>\n&lt;\/LocalAccount>\n&lt;LocalAccount wcm:action=\"add\">\n&lt;Name>User&lt;\/Name>\n&lt;Group>Users&lt;\/Group>\n&lt;Password>\n&lt;Value>password&lt;\/Value>\n&lt;PlainText>true&lt;\/PlainText>\n&lt;\/Password>\n&lt;\/LocalAccount>\n&lt;\/LocalAccounts>\n&lt;\/UserAccounts>\n&lt;AutoLogon\/>\n&lt;OOBE>\n&lt;ProtectYourPC>3&lt;\/ProtectYourPC>\n&lt;HideEULAPage>true&lt;\/HideEULAPage>\n&lt;HideWirelessSetupInOOBE>true&lt;\/HideWirelessSetupInOOBE>\n&lt;\/OOBE>\n&lt;\/component>\n&lt;\/settings>\n&lt;\/unattend><\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Created at: Generate autounattend.xml files for Windows\u00a010\/11 (schneegans.de)<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[12],"tags":[],"class_list":["post-500","post","type-post","status-publish","format-standard","hentry","category-wds-windows-deployment-server"],"_links":{"self":[{"href":"https:\/\/blog.tomtechproductions.be\/index.php\/wp-json\/wp\/v2\/posts\/500","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.tomtechproductions.be\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.tomtechproductions.be\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.tomtechproductions.be\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.tomtechproductions.be\/index.php\/wp-json\/wp\/v2\/comments?post=500"}],"version-history":[{"count":0,"href":"https:\/\/blog.tomtechproductions.be\/index.php\/wp-json\/wp\/v2\/posts\/500\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.tomtechproductions.be\/index.php\/wp-json\/wp\/v2\/media?parent=500"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.tomtechproductions.be\/index.php\/wp-json\/wp\/v2\/categories?post=500"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.tomtechproductions.be\/index.php\/wp-json\/wp\/v2\/tags?post=500"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}