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.