

{"id":878,"date":"2018-07-23T11:03:35","date_gmt":"2018-07-23T01:03:35","guid":{"rendered":"https:\/\/kng.tech\/blog\/?p=878"},"modified":"2018-07-23T11:11:37","modified_gmt":"2018-07-23T01:11:37","slug":"diskpart-create-uefi-partitions","status":"publish","type":"post","link":"https:\/\/kng.tech\/blog\/diskpart-create-uefi-partitions\/","title":{"rendered":"Diskpart Create UEFI Partitions"},"content":{"rendered":"<p>diskpart \/s drive:\\CreatePartitions.txt<\/p>\n<pre><code>\r\nselect disk 0\r\nclean\r\nconvert gpt\r\nrem == 1. System partition =========================\r\ncreate partition efi size=100\r\nrem ** NOTE: For Advanced Format 4Kn drives,\r\nrem ** Change this value to size = 260 **\r\nformat quick fs=fat32 label=\"System\"\r\nassign letter=\"S\"\r\nrem == 2. Microsoft Reserved (MSR) partition =======\r\ncreate partition msr size=16\r\nrem == 3. Windows partition ========================\r\nrem == a. Create the Windows partition ==========\r\ncreate partition primary\r\nrem == b. Create space for the recovery tools ===\r\nshrink minimum=500\r\nrem ** NOTE: Update this size to match the\r\nrem size of the recovery tools\r\nrem (winre.wim) **\r\nrem == c. Prepare the Windows partition =========\r\nformat quick fs=ntfs label=\"Windows\"\r\nassign letter=\"W\"\r\nrem === 4. Recovery tools partition ================\r\ncreate partition primary\r\nformat quick fs=ntfs label=\"Recovery tools\"\r\nassign letter=\"R\"\r\nset id=\"de94bba4-06d1-4d40-a16a-bfd50179d6ac\"\r\ngpt attributes=0x8000000000000001\r\nlist volume\r\n<\/code><\/pre>\n<p>dism using .bat<\/p>\n<pre><code>\r\nset image=%~dp0Win10.wim\r\nDism.exe \/apply-image \/imagefile:%image% \/index:1 \/ApplyDir:W:\\\r\n<\/pre>\n<p><\/code><\/p>\n","protected":false},"excerpt":{"rendered":"<p>diskpart \/s drive:\\CreatePartitions.txt select disk 0 clean convert gpt rem == 1. System partition ========================= create partition efi size=100 rem ** NOTE: For Advanced Format 4Kn drives, rem ** Change this value to size = 260 ** format quick fs=fat32 label=\"System\" assign letter=\"S\" rem == 2. Microsoft Reserved (MSR) partition ======= create partition msr size=16 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[60],"class_list":["post-878","post","type-post","status-publish","format-standard","hentry","category-tech","tag-diskpart"],"_links":{"self":[{"href":"https:\/\/kng.tech\/blog\/wp-json\/wp\/v2\/posts\/878","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/kng.tech\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kng.tech\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kng.tech\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/kng.tech\/blog\/wp-json\/wp\/v2\/comments?post=878"}],"version-history":[{"count":4,"href":"https:\/\/kng.tech\/blog\/wp-json\/wp\/v2\/posts\/878\/revisions"}],"predecessor-version":[{"id":882,"href":"https:\/\/kng.tech\/blog\/wp-json\/wp\/v2\/posts\/878\/revisions\/882"}],"wp:attachment":[{"href":"https:\/\/kng.tech\/blog\/wp-json\/wp\/v2\/media?parent=878"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kng.tech\/blog\/wp-json\/wp\/v2\/categories?post=878"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kng.tech\/blog\/wp-json\/wp\/v2\/tags?post=878"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}