VMWare Workstation 17.6 and answer files.


Rbcc

Member
Local time
12:00 AM
Posts
33
OS
Windows 11 pro
I would to use the Windows 11 ADK to map out a hard Disk with Windows 11 Insider Preview 10.0.26200.5570 with 7 partitions. If I use VMWare Workstation and run an ISO. Will VM Ware create the partitions on the virtual HardDisk?
 
Windows Build/Version
Windows 11 25h2 26200.5570 Insider Preview

My Computer

System One

  • OS
    Windows 11 pro
    Computer type
    Laptop
    Manufacturer/Model
    Asus
    CPU
    I-7 2gigaherz
    Motherboard
    Asus
    Memory
    16Gig
    Screen Resolution
    1024x768
    Hard Drives
    512 SSD
I would to use the Windows 11 ADK to map out a hard Disk with Windows 11 Insider Preview 10.0.26200.5570 with 7 partitions. If I use VMWare Workstation and run an ISO. Will VM Ware create the partitions on the virtual HardDisk?
First, VMware does not automatically create any partitions for you, just like a real system would not automatically create any partitions. As for Windows setup, on both a real machine and a VM, it will create <<< 4 >>> partitions for you on a UEFI system, not 7 partitions.

If you truly need to create 7 partitions, there are several options that you have:

1) You can manually create those partitions during Windows installation.

2) You can create a simple script for diskpart to automate the creation of partitions.

3) The title of your post references "answer files". You can easily create an answer file that will automate the creation of the seven partitions.

Do you need help with any of this?

If you provide to me specific details, I can help you get this done. Here is the info I would like to have:

1) Tell me what method you want to use. If you do indeed want to use an answer file, do you also want that answer file to completely install Windows unattended? If so, onto what disk do you want to install Windows? On a lot of system you would install to disk 0, but not always. If you are uncertain let me know and I will tell you how to get the correct disk number.

2) On a UEFI system, the 4 partitions created by Windows by default are these:

EFI (System) partition
MSR (Microsoft System Reserved partition)
Windows partition
Recovery partition

Since you note that you want 7 partitions, please let me know what types of partitions you want to create for the other three partitions and what size each partition should be. Please also include the order of these partitions, for example, I would make the assumption that you want these other partitions to come after the 4 partitions created for Windows.
 

My Computers

System One System Two

  • OS
    Win11 Pro 24H2
    Computer type
    PC/Desktop
    Manufacturer/Model
    Self-built
    CPU
    Intel i7 11700K
    Motherboard
    ASUS Prime Z590-A MB
    Memory
    64GB (Waiting for warranty replacement of another 64GB for 128GB total)
    Graphics Card(s)
    No GPU - Built-in Intel Graphics
    Sound Card
    Integrated
    Monitor(s) Displays
    HP Envy 32
    Screen Resolution
    2560 x 1440
    Hard Drives
    1 x 1TB NVMe SSD
    1 x 2TB NVMe SSD
    1 x 4TB NVMe SSD
    3 x 512GB 2.5" SSD
    1 x 4TB 2.5" SSD
    5 x 8TB Seagate Barracuda HDD
    PSU
    Corsair HX850i
    Case
    Corsair iCUE RGB 5000X mid tower case
    Cooling
    Noctua NF-S12A chromax.black.swap case fans (Qty. 7) & Home Computer Specifications, Configuration, and Usage Notes General Specifications ASUS Prime Z590-A motherboard, serial number M1M0KC222467ARP Intel Core i7-11700K CPU (11th Gen Rocket Lake / LGA 1200 Socket) 128GB Crucial Ballistix RGB DDR4 3200 MHz DRAM (4 x 32GB) Corsair iCUE RGB 5000X mid tower case Noctua NH-D15 chromax.black CPU cooler Noctua NF-S12A chromax.black.swap case fans (Qty. 7) & Corsair LL-120 RGB Fans (Qty. 3)
    Keyboard
    Corsair K70 Max RGB Magnetic Keyboard
    Mouse
    Logitech MX Master 3
    Internet Speed
    1Gb Up / 1 Gb Down
    Browser
    Edge
    Antivirus
    Windows Defender
    Other Info
    The five 8TB drives and three 512GB SSDs are part of a DrivePool using StableBit DrivePool software. The three SSDs are devoted purely to caching for the 8TB drives. All of the important data is stored in triplicate so that I can withstand simultaneous failure of 2 disks.

    Networking: 2.5Gbps Ethernet and WiFi 6e
  • Operating System
    Win11 Pro 23H2
    Computer type
    Laptop
    Manufacturer/Model
    Lenovo ThinkBook 13x Gen 2
    CPU
    Intel i7-1255U
    Memory
    16 GB
    Graphics card(s)
    Intel Iris Xe Graphics
    Sound Card
    Realtek® ALC3306-CG codec
    Monitor(s) Displays
    13.3-inch IPS Display
    Screen Resolution
    WQXGA (2560 x 1600)
    Hard Drives
    2 TB 4 x 4 NVMe SSD
    PSU
    USB-C / Thunderbolt 4 Power / Charging
    Mouse
    Buttonless Glass Precision Touchpad
    Keyboard
    Backlit, spill resistant keyboard
    Internet Speed
    1Gb Up / 1Gb Down
    Browser
    Edge
    Antivirus
    Windows Defender
    Other Info
    WiFi 6e / Bluetooth 5.1 / Facial Recognition / Fingerprint Sensor / ToF (Time of Flight) Human Presence Sensor
You can easily create an answer file that will automate the creation of the seven partitions. I took these from Kari's Win 10 Tutorial on how to do this. But I was wondering ifb I add 4more apps,utils temp and downloads. Then put this in autounattend.xml will Vmware create these parttitions on a476.92 hard disk? if I create a batch file to create directories in those partitions will VMware create said partitions??
 

Attachments

  • Screenshot 2025-04-30 052821.webp
    Screenshot 2025-04-30 052821.webp
    22.5 KB · Views: 1
  • Screenshot 2025-04-30 052913.webp
    Screenshot 2025-04-30 052913.webp
    40.2 KB · Views: 1

My Computer

System One

  • OS
    Windows 11 pro
    Computer type
    Laptop
    Manufacturer/Model
    Asus
    CPU
    I-7 2gigaherz
    Motherboard
    Asus
    Memory
    16Gig
    Screen Resolution
    1024x768
    Hard Drives
    512 SSD
You can easily create an answer file that will automate the creation of the seven partitions. I took these from Kari's Win 10 Tutorial on how to do this. But I was wondering ifb I add 4more apps,utils temp and downloads. Then put this in autounattend.xml will Vmware create these parttitions on a476.92 hard disk? if I create a batch file to create directories in those partitions will VMware create said partitions??
Again, VMware has nothing to do with it. If you create an answer file to create the partitions, it will do so whether you are on VMware or not. VMware does not create the partitions - Windows setup does. So, there is no difference in that regard with partitioning.
 

My Computers

System One System Two

  • OS
    Win11 Pro 24H2
    Computer type
    PC/Desktop
    Manufacturer/Model
    Self-built
    CPU
    Intel i7 11700K
    Motherboard
    ASUS Prime Z590-A MB
    Memory
    64GB (Waiting for warranty replacement of another 64GB for 128GB total)
    Graphics Card(s)
    No GPU - Built-in Intel Graphics
    Sound Card
    Integrated
    Monitor(s) Displays
    HP Envy 32
    Screen Resolution
    2560 x 1440
    Hard Drives
    1 x 1TB NVMe SSD
    1 x 2TB NVMe SSD
    1 x 4TB NVMe SSD
    3 x 512GB 2.5" SSD
    1 x 4TB 2.5" SSD
    5 x 8TB Seagate Barracuda HDD
    PSU
    Corsair HX850i
    Case
    Corsair iCUE RGB 5000X mid tower case
    Cooling
    Noctua NF-S12A chromax.black.swap case fans (Qty. 7) & Home Computer Specifications, Configuration, and Usage Notes General Specifications ASUS Prime Z590-A motherboard, serial number M1M0KC222467ARP Intel Core i7-11700K CPU (11th Gen Rocket Lake / LGA 1200 Socket) 128GB Crucial Ballistix RGB DDR4 3200 MHz DRAM (4 x 32GB) Corsair iCUE RGB 5000X mid tower case Noctua NH-D15 chromax.black CPU cooler Noctua NF-S12A chromax.black.swap case fans (Qty. 7) & Corsair LL-120 RGB Fans (Qty. 3)
    Keyboard
    Corsair K70 Max RGB Magnetic Keyboard
    Mouse
    Logitech MX Master 3
    Internet Speed
    1Gb Up / 1 Gb Down
    Browser
    Edge
    Antivirus
    Windows Defender
    Other Info
    The five 8TB drives and three 512GB SSDs are part of a DrivePool using StableBit DrivePool software. The three SSDs are devoted purely to caching for the 8TB drives. All of the important data is stored in triplicate so that I can withstand simultaneous failure of 2 disks.

    Networking: 2.5Gbps Ethernet and WiFi 6e
  • Operating System
    Win11 Pro 23H2
    Computer type
    Laptop
    Manufacturer/Model
    Lenovo ThinkBook 13x Gen 2
    CPU
    Intel i7-1255U
    Memory
    16 GB
    Graphics card(s)
    Intel Iris Xe Graphics
    Sound Card
    Realtek® ALC3306-CG codec
    Monitor(s) Displays
    13.3-inch IPS Display
    Screen Resolution
    WQXGA (2560 x 1600)
    Hard Drives
    2 TB 4 x 4 NVMe SSD
    PSU
    USB-C / Thunderbolt 4 Power / Charging
    Mouse
    Buttonless Glass Precision Touchpad
    Keyboard
    Backlit, spill resistant keyboard
    Internet Speed
    1Gb Up / 1Gb Down
    Browser
    Edge
    Antivirus
    Windows Defender
    Other Info
    WiFi 6e / Bluetooth 5.1 / Facial Recognition / Fingerprint Sensor / ToF (Time of Flight) Human Presence Sensor
Great support,
 

My Computer

System One

  • OS
    Windows 11 pro
    Computer type
    Laptop
    Manufacturer/Model
    Asus
    CPU
    I-7 2gigaherz
    Motherboard
    Asus
    Memory
    16Gig
    Screen Resolution
    1024x768
    Hard Drives
    512 SSD

My Computers

System One System Two

  • OS
    Win11 Pro 24H2
    Computer type
    PC/Desktop
    Manufacturer/Model
    Self-built
    CPU
    Intel i7 11700K
    Motherboard
    ASUS Prime Z590-A MB
    Memory
    64GB (Waiting for warranty replacement of another 64GB for 128GB total)
    Graphics Card(s)
    No GPU - Built-in Intel Graphics
    Sound Card
    Integrated
    Monitor(s) Displays
    HP Envy 32
    Screen Resolution
    2560 x 1440
    Hard Drives
    1 x 1TB NVMe SSD
    1 x 2TB NVMe SSD
    1 x 4TB NVMe SSD
    3 x 512GB 2.5" SSD
    1 x 4TB 2.5" SSD
    5 x 8TB Seagate Barracuda HDD
    PSU
    Corsair HX850i
    Case
    Corsair iCUE RGB 5000X mid tower case
    Cooling
    Noctua NF-S12A chromax.black.swap case fans (Qty. 7) & Home Computer Specifications, Configuration, and Usage Notes General Specifications ASUS Prime Z590-A motherboard, serial number M1M0KC222467ARP Intel Core i7-11700K CPU (11th Gen Rocket Lake / LGA 1200 Socket) 128GB Crucial Ballistix RGB DDR4 3200 MHz DRAM (4 x 32GB) Corsair iCUE RGB 5000X mid tower case Noctua NH-D15 chromax.black CPU cooler Noctua NF-S12A chromax.black.swap case fans (Qty. 7) & Corsair LL-120 RGB Fans (Qty. 3)
    Keyboard
    Corsair K70 Max RGB Magnetic Keyboard
    Mouse
    Logitech MX Master 3
    Internet Speed
    1Gb Up / 1 Gb Down
    Browser
    Edge
    Antivirus
    Windows Defender
    Other Info
    The five 8TB drives and three 512GB SSDs are part of a DrivePool using StableBit DrivePool software. The three SSDs are devoted purely to caching for the 8TB drives. All of the important data is stored in triplicate so that I can withstand simultaneous failure of 2 disks.

    Networking: 2.5Gbps Ethernet and WiFi 6e
  • Operating System
    Win11 Pro 23H2
    Computer type
    Laptop
    Manufacturer/Model
    Lenovo ThinkBook 13x Gen 2
    CPU
    Intel i7-1255U
    Memory
    16 GB
    Graphics card(s)
    Intel Iris Xe Graphics
    Sound Card
    Realtek® ALC3306-CG codec
    Monitor(s) Displays
    13.3-inch IPS Display
    Screen Resolution
    WQXGA (2560 x 1600)
    Hard Drives
    2 TB 4 x 4 NVMe SSD
    PSU
    USB-C / Thunderbolt 4 Power / Charging
    Mouse
    Buttonless Glass Precision Touchpad
    Keyboard
    Backlit, spill resistant keyboard
    Internet Speed
    1Gb Up / 1Gb Down
    Browser
    Edge
    Antivirus
    Windows Defender
    Other Info
    WiFi 6e / Bluetooth 5.1 / Facial Recognition / Fingerprint Sensor / ToF (Time of Flight) Human Presence Sensor
When you need to create additional data partitions on the system disk, it exposes a major drawback of using <DiskConfiguration> compared to using a diskpart script. The <Extend>true</Extend> directive for <CreatePartition> only works for the last partition assigned to a disk.

Suppose your desired disk layout is:
1. EFI
2. MSR
3. Windows
4. Recovery
5. Data 1
6. Data 2
7. Data 3

If you know the target disk's total capacity in advance, you can assign a fixed size for every partition. But if you're not sure of the disk's size or want to dynamically adjust the Windows partition to fit whatever wasn't allocated to other partitions, then you need to use diskpart.

1. EFI (fixed)
2. MSR (fixed)
3. Windows (no size)
shrink Recovery size + Data 1 size + Data 2 size + Data 3 size

1. EFI
2. MSR
3. Windows
4. Recovery (800 MB)
5. Data 1 (100 MB)
6. Data 2 (200 MB)
7. Data 3 (300 MB)

diskpart commands:
Code:
select disk 0
clean
convert gpt
create partition efi size=260
format quick fs=fat32
create partition msr size=16
create partition primary
shrink minimum=1400
format quick fs=ntfs
create partition primary size=800
format quick fs=ntfs
set id=de94bba4-06d1-4d40-a16a-bfd50179d6ac
gpt attributes=0x8000000000000001
create partition primary size=100
format quick fs=ntfs
create partition primary size=200
format quick fs=ntfs
create partition primary size=300
format quick fs=ntfs

You can follow the current best practice, and move the Recovery partition at the end, right after Windows.
1. EFI
2. MSR
3. Data 1 (100 MB)
4. Data 2 (200 MB)
5. Data 3 (300 MB)
6. Windows
7. Recovery (800 MB)

diskpart commands:
Code:
select disk 0
clean
convert gpt
create partition efi size=260
format quick fs=fat32
create partition msr size=16
create partition primary size=100
format quick fs=ntfs
create partition primary size=200
format quick fs=ntfs
create partition primary size=300
format quick fs=ntfs
create partition primary
shrink minimum=800
format quick fs=ntfs
create partition primary
format quick fs=ntfs
set id=de94bba4-06d1-4d40-a16a-bfd50179d6ac
gpt attributes=0x8000000000000001

My point is WSIM has a limitation, because it can only handle situations where the exact disk layout is planned in advance (by you) or the Windows partition is the always last partition on the disk. Since the current guide for handling the unexpected growth of the Recovery partition is to keep Recovery at the disk's end, using <DiskConfiguration> in the answer file is no longer helpful.
 

My Computer

System One

  • OS
    Windows 7
Here is my autounattend.xml in 7zip format where do I put it on my windows 11 installation disk will Windows 11 see it and run through it? Thanks
 

Attachments

My Computer

System One

  • OS
    Windows 11 pro
    Computer type
    Laptop
    Manufacturer/Model
    Asus
    CPU
    I-7 2gigaherz
    Motherboard
    Asus
    Memory
    16Gig
    Screen Resolution
    1024x768
    Hard Drives
    512 SSD
This unattended file won't work:

1. You failed to create the MSR and Recovery partitions (which 24H2's Setup will immediately fail on because it's missing).
2. There are two different volumes assigned to Utilities (U:)
3. There is no explicit <InstallTo>, so Setup might pick the wrong partition to begin installing into.

Code:
1.    450MB Primary NTFS System S:
2. 150000MB Primary NTFS Golden-Windows C:
3.  50000MB Primary NTFS Applications P:
4.  30000MB Primary NTFS Utilities U:
5. 120000MB Primary NTFS Utilities U:
6. 277000MB Primary NTFS Downloads D:

You will have to check the math of the total MB's. And adjust the partition sizes if you disagree on them, with the final sum of all partition sizes equal or less than the disk size reported in your VM.

This file needs to be inserted into the root folder of the ISO image.
 

Attachments

My Computer

System One

  • OS
    Windows 7

Latest Support Threads

Back
Top Bottom