Windows OS Hub
  • Windows Server
    • Windows Server 2022
    • Windows Server 2019
    • Windows Server 2016
    • Windows Server 2012 R2
    • 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 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
Fix: Clock Reverts to Wrong Time After Computer (Server) Reboot

Related Reading

How to Connect VPN Before Windows Logon

November 14, 2023

Using WPAD (Web Proxy Auto-Discovery Protocol) on Windows

November 7, 2023

Zabbix: How to Get Data from PowerShell Scripts

October 27, 2023

Tracking Printer Usage with Windows Event Viewer Logs

October 19, 2023

How to Use Ansible to Manage Windows Machines

September 25, 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

  • How to Connect VPN Before Windows Logon

    November 14, 2023
  • Removing Azure Arc Setup Feature on Windows Server 2022

    November 9, 2023
  • Using WPAD (Web Proxy Auto-Discovery Protocol) on Windows

    November 7, 2023
  • Send Emails with Microsoft Graph API and PowerShell

    November 6, 2023
  • Zabbix: How to Get Data from PowerShell Scripts

    October 27, 2023
  • Tracking Printer Usage with Windows Event Viewer Logs

    October 19, 2023
  • PowerShell: Configure Certificate-Based Authentication for Exchange Online (Azure)

    October 15, 2023
  • Reset Root Password in VMware ESXi

    October 12, 2023
  • How to Query and Change Teams User Presence Status with PowerShell

    October 8, 2023
  • How to Increase Size of Disk Partition in Ubuntu

    October 5, 2023

Follow us

  • Facebook
  • Twitter
  • Telegram
Popular Posts
  • Booting Windows 7 / 10 from GPT Disk on BIOS (non-UEFI) systems
  • 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?
  • How to Connect L2TP/IPSec VPN Server From Windows
  • Managing Printers and Drivers with PowerShell in Windows 10 / Server 2016
  • Managing Printers from the Command Prompt in Windows 10 / 8.1
Footer Logo

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


Back To Top