Windows OS Hub
  • Windows Server
    • Windows Server 2022
    • Windows Server 2019
    • Windows Server 2016
    • Windows Server 2012 R2
    • Windows Server 2012
    • Windows Server 2008 R2
    • SCCM
  • Active Directory
    • Active Directory Domain Services (AD DS)
    • Group Policies
  • Windows Clients
    • Windows 11
    • Windows 10
    • Windows 8
    • Windows 7
    • Windows XP
    • MS Office
    • Outlook
  • Virtualization
    • VMWare
    • Hyper-V
    • KVM
  • PowerShell
  • Exchange
  • Cloud
    • Azure
    • Microsoft 365
    • Office 365
  • Linux
    • CentOS
    • RHEL
    • Ubuntu
  • Home
  • About

Windows OS Hub

  • Windows Server
    • Windows Server 2022
    • Windows Server 2019
    • Windows Server 2016
    • Windows Server 2012 R2
    • Windows Server 2012
    • Windows Server 2008 R2
    • SCCM
  • Active Directory
    • Active Directory Domain Services (AD DS)
    • Group Policies
  • Windows Clients
    • Windows 11
    • Windows 10
    • Windows 8
    • Windows 7
    • Windows XP
    • MS Office
    • Outlook
  • Virtualization
    • VMWare
    • Hyper-V
    • KVM
  • PowerShell
  • Exchange
  • Cloud
    • Azure
    • Microsoft 365
    • Office 365
  • Linux
    • CentOS
    • RHEL
    • Ubuntu

 Windows OS Hub / Windows Server 2012 R2 / Unable to Start or Connect to Virtual Disk Service in Disk Management

January 28, 2019 Windows 10Windows Server 2012 R2

Unable to Start or Connect to Virtual Disk Service in Disk Management

I came across one strange error when trying to extend the size of the hard disk partition on Windows Server 2012 R2. After opening the Disk Management console (diskmgmt.msc), the list of available local disks was not displayed, and the following error appeared at the bottom of the Disk Management console:

Unable to connect to Virtual Disk Service.

If you connect to the computer remotely using Disk Management snap-in, the error looks like this:

Disk Management could not start Virtual Disk Service (VDS) on Host-Name.

Disk Management could not start Virtual Disk Service (VDS)

I try to expand the volume using the diskpart tool, but this tool didn’t work as well and returned the error:

Virtual Disk Service error:

The service failed to initialize.

diskpart Virtual Disk Service The service failed to initialize

In normal configuration, the VDS service in Windows is configured to start manually (Startup type – Manual). It means that it should be run if necessary if other apps access it. However, in our case it doesn’t happen on some reason.

It is clear that you should check the state of Virtual Disk (vds) service. After opening the services management console (services.msc), I saw that the Virtual Disk service was not running. When trying to start it manually (using the command: net start vds), I received an error:

The service is not responding to the control function.

More help is available by typing NET HELPMSG 2186.

The following related events appeared in the system event log:

A timeout (30000 milliseconds) was reached while waiting for the Virtual Disk service to connect.
Windows could not start the Virtual Disk service on Local Computer. Error 1053: The service did not respond to the start or control request in a timely fashion.

I tried to change the Virtual Disk service startup type from Manual to Automatic and restarted Windows.

Virtual Disk service startup type

After the restart, Virtual Disk service started successfully and both Disk Management and diskpart also worked properly.

If you cannot connect to the Virtual Disk service remotely, make sure that the following inbound rules are enabled in the Windows firewall:

  • Remote Volume Management — Virtual Disk Service (RPC);
  • Remote Volume Management — Virtual Disk Service Loader (RPC).

You can enable remote access to VDS service using the following netsh commands:

netsh advfirewall firewall set rule group="Remote Volume Management" new enable=yes
netsh advfirewall firewall set rule group=”Windows Firewall Remote Management” new enable =yes
netsh advfirewall firewall set rule group=”remote administration” new enable=yes

If the Virtual Disk service doesn’t start after that, open the Registry Editor (regedit.exe) and make sure that the ALL APPLICATION PACAKAGES group in the registry key HKLM\SYSTEM\CurrentControlSet\Services\vds has Read permissions.

vds (virtual disk) service registry permissions

If neither of the methods described above help to recover VDS, check the integrity of system files using this command:

sfc /scannow

0 comment
0
Facebook Twitter Google + Pinterest
previous post
Managing Printers from the Command Prompt in Windows 10 / 8.1
next post
Configuring SSO (Single Sign-On) Authentication on Windows Server RDS

Related Reading

Configure User’s Folder Redirection with Group Policy

February 3, 2023

Disable Built-in PDF Viewer in Microsoft Edge

February 3, 2023

Join a Windows Computer to an Active Directory...

February 2, 2023

Using Previous Command History in PowerShell Console

January 31, 2023

How to Install the PowerShell Active Directory Module...

January 31, 2023

Leave a Comment Cancel Reply

Categories

  • Active Directory
  • Group Policies
  • Exchange Server
  • Microsoft 365
  • Azure
  • Windows 11
  • Windows 10
  • Windows Server 2022
  • Windows Server 2019
  • Windows Server 2016
  • PowerShell
  • VMWare
  • Hyper-V
  • Linux
  • MS Office

Recent Posts

  • Configure User’s Folder Redirection with Group Policy

    February 3, 2023
  • Using Previous Command History in PowerShell Console

    January 31, 2023
  • How to Install the PowerShell Active Directory Module and Manage AD?

    January 31, 2023
  • Finding Duplicate E-mail (SMTP) Addresses in Exchange

    January 27, 2023
  • How to Delete Old User Profiles in Windows?

    January 25, 2023
  • How to Install Free VMware Hypervisor (ESXi)?

    January 24, 2023
  • How to Enable TLS 1.2 on Windows?

    January 18, 2023
  • Allow or Prevent Non-Admin Users from Reboot/Shutdown Windows

    January 17, 2023
  • Fix: Can’t Extend Volume in Windows

    January 12, 2023
  • Wi-Fi (Internet) Disconnects After Sleep or Hibernation on Windows 10/11

    January 11, 2023

Follow us

woshub.com
  • Facebook
  • Twitter
  • RSS
Popular Posts
  • Booting Windows 7 / 10 from GPT Disk on BIOS (non-UEFI) systems
  • Error Code: 0x80070035 “The Network Path was not found” after Windows 10 Update
  • Removable USB Flash Drive as Local HDD in Windows 10 / 7
  • How to increase KMS current count (count is insufficient)
  • How to Disable UAC Prompt for Specific Applications in Windows 10?
  • Managing Printers and Drivers with PowerShell in Windows 10 / Server 2016
  • Configuring L2TP/IPSec VPN Connection Behind a NAT, VPN Error Code 809
Footer Logo

@2014 - 2023 - Windows OS Hub. All about operating systems for sysadmins


Back To Top