Format and mount a non-boot disk on a Windows VM

Windows

If you attached a new, blank disk to your VM, before you can use it you mustformat and mount the disk. If you attached a disk that already contains data,then you must mount the disk before you can use it.

Before you begin

Connect to the VM

  1. Go to theVM instances page.

    Go to the VM instances page

  2. Click theRDP button next to the VM that has the new blank disk attached.The browser opens an RDP connection to the instance.

Format and mount a non-boot disk on a Windows VM

Use theWindows Disk Management utility to format and mount the new disk on a Windows VM.

  1. Right-click the Windows Start button and selectDisk Management.

    Selecting Disk Management by right-clicking the Windows Start button.

  2. Disk Management prompts you to select a partitioning scheme for the new disk.SelectGPT and clickOK.

    Selecting a partition scheme in the disk initialization window.

  3. After the disk initializes, right-click the unallocated disk spaceand selectNew Simple Volume.

    Creating a New Simple Volume from the attached disk.

  4. Follow the instructions in theNew Simple Volume Wizard to configurethe new volume. You can use any partition format that you like, but forthis example selectNTFS. Also, checkPerform a quick formatto speed up the formatting process. Optionally, set the cluster sizein theAllocation unit size field. The cluster sizelimits the maximum size of the partition.Keep this in mind if you try to resize the zonal persistent disk and thispartition later.

    Selecting the partition format type in the New Simple Volume Wizard.

  5. After you complete the wizard and the volume is formatted, checktheStatus column on the list of attached disks to ensure that thenew disk has aHealthy status.

    Checking that the disk is online with a healthy status.

You can now write files to the disk.

What's next

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025-12-15 UTC.