Partager via


Hyper-V: The Hyper-V Image Management service must be running

Applies To: Windows Server 2008 R2

This topic is intended to address a specific issue identified by a Best Practices Analyzer scan. You should apply the information in this topic only to computers that have had the Hyper-V Best Practices Analyzer run against them and are experiencing the issue addressed by this topic. For more information about best practices and scans, see Best Practices Analyzer.

Operating System

Windows Server 2008 R2

Product/Feature

Hyper-V

Severity

Error

Category

Prerequisites

Issue

The service required to manage virtual storage is not running.

Impact

No virtual storage management operations can be performed.

When the service is not running, you cannot create, edit, or inspect virtual hard disks. However, you can add or remove existing virtual hard disks from virtual machines.

Resolution

Use the Services snap-in or sc config command-line tool to reconfigure the service to start automatically.

By default, membership in the local Administrators group, or equivalent, is the minimum required to complete this procedure.

To reconfigure the service to start automatically using the Windows interface

  1. Open the Services snap-in. (Click Start, click in the Start Search box, type services.msc, and then press ENTER.)

  2. In the details pane, right-click Hyper-V Image Management Service, and then click Properties.

  3. On the General tab, in Startup type, click Automatic. To start the service, click Start.

To reconfigure the service to start automatically using the command line

  1. Open Command Prompt.

  2. Type:

    sc config vhdsvc start=auto
    
  3. To start the service, type:

    sc start vhdsvc