running the create windows upgrade disk script works fine but no disk is created to attach to the VM

IntellectIT 0 Reputation points
2024-07-05T03:56:10.5166667+00:00

when running the windows server 2022 create upgrade disk script.

works fine

but no disk appears in the disks to be able to attach to the VM for upgrading.

I have chosen a new resource group and also the same one as the VM but nothing in either case.

Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
12,638 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Hania Lian 11,126 Reputation points Microsoft Vendor
    2024-07-05T07:00:59.3233333+00:00

    Hello,

    Here are a few steps you can take to troubleshoot the issue:

    Check Disk Initialization: Open Disk Management and check if the disk has already been initialized. If the disk status is “Not Initialized,” right-click on it and select "Initialize Disk".

    Verify Disk Visibility: Ensure that the hard drive was properly added to the VM and that it is visible within the guest OS. You can do this by going to the Disk Management console and verifying that the additional hard drive is listed there.

    Diskpart Utility: There have been instances where running diskpart from the system in Windows Server 2022 shows no disks. If you’re using a script that relies on diskpart, it might not display the disks as expected.

    If these steps do not resolve the issue, it could be a more complex problem related to the Storage Spaces driver or the hardware compatibility with Windows Server 2022. Remember to always back up your data before making changes to disk configurations to prevent data loss.

    Best Regards,

    Hania Lian

    ============================================

    If the Answer is helpful, please click "Accept Answer" and upvote it.

    0 comments No comments