Event ID 12240 on Windows Server 2012


I have a Windows Server 2012 and some virtual machines in it. Since last week some error events appears hourly on event viewer saying that the system cannot find a remote VHD file. This VHD file is not available anymore but no one of my virtual machines uses that file anymore.

Do you have any tip of what is trying to access this file and generating this error message?

Log Name:      Microsoft-Windows-Hyper-V-VMMS-Admin
Source:        Microsoft-Windows-Hyper-V-VMMS
Date:          17/09/2014 09:02:34
Event ID:      12240
Task Category: None
Level:         Error
User:          MYDOMAIN\Administrator
Computer:      MyServer.MyDomain.local
'': Attachment '\\storage\Backups\Virtual hard disks\MyVHD.vhd' not found. Error: 'The system cannot find the path specified.' (0x80070003). (Virtual machine ID )
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
    <Provider Name="Microsoft-Windows-Hyper-V-VMMS" Guid="{6066F867-7CA1-4418-85FD-36E3F9C0600C}" />
    <TimeCreated SystemTime="2014-09-17T12:02:34.871532400Z" />
    <Correlation />
    <Execution ProcessID="2188" ThreadID="15252" />
    <Security UserID="S-1-5-21-3635987302-1851357681-2420863520-500" />
    <VmlEventLog xmlns:auto-ns2="http://schemas.microsoft.com/win/2004/08/events" xmlns="http://www.microsoft.com/Windows/Virtualization/Events">
      <String>\\storage\Backups\Virtual hard disks\MyVHD.vhd</String>
asked on Server Fault Sep 17, 2014 by Ederson

1 Answer


It's possible there may have been a VM that existed and was not deleted properly.

Please check this path "%systemdrive%\ProgramData\Microsoft\Windows\Hyper-V\Virtual Machines" for any link files to the GUID of the virtual machine.

You will have to stop the VMMS server by clicking the Stop Service in the Actions pane of the Hyper-V Manager before you can delete the link file.

answered on Server Fault Sep 17, 2014 by bentek

User contributions licensed under CC BY-SA 3.0