The VM Failed To Restore… The System Could Not Find The File Specified (0x80070002)… The Operation Failed Because The File Was Not Found

1 Min. Read

What a nice morning when you get a call from a customer @ 6 AM.

The Virtual Machine is not turning on, I sent you the screenshot!

Really! What do you do in this case? Be kind Smile

The error in PowerShell:

VMFailedToRestore-01

And in the UI:

VMFailedToRestore-02

As you can see, the error is indicating that “Microsoft Synthetic SCSI Controller: Failed…”

So let’s query the SCSI controller for that Virtual Machine.

Get-VMHardDiskDrive –VMNAME <NAME> | ?{$_.ControllerType –eq ‘SCSI’}

VMFailedToRestore-06

We have 3 disks attached to the SCSI controller.

Have you noticed something? The disk attached to Controller Location 2 is missing! The Path is empty.

However, the disk attached to Controller Location 1 is a pass-through disk using DiskNumber 9.

What is the status of the VM?

VMFailedToRestore-13

Can you Turn Off a VM in Saved State?

NO!

VMFailedToRestore-10

Can you remove the disk while the VM is in Saved State?

And NO!

VMFailedToRestore-04

Can you delete the Saved State of the VM?

YES Smile

From the UI:

VMFailedToRestore-12

Or using PowerShell:

Get-VM | ?{$_.State -eq 'saved'} | Remove-VMSavedState

VMFailedToRestore-14

And here you go… The VM started Smile

VMFailedToRestore-15

You might wonder why the disk failed and showing as “Not Found?

The host rebooted, then all VMs entered in Saved State when the host came back online, the VMs supposed to be turned on automatically, however, the pass-through disk that was attached to this VM failed, he was using an external USB disk.

In conclusion, Pass-through disks are not flexible and don’t use them.

Hope this help,

Enjoy your weekend!

Cheers,
/Charbel

Previous

StarWind V2V Converter #StarWind

Microsoft Releases Virtual Machine Converter V3.0 #HyperV #MVMC

Next

Let me know what you think, or ask a question...

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Subscribe to Stay in Touch

Never miss out on your favorite posts and our latest announcements!

The content of this website is copyrighted from being plagiarized!

You can copy from the 'Code Blocks' in 'Black' by selecting the Code.

Please send your feedback to the author using this form for any 'Code' you like.

Thank you for visiting!