When you try to create a new volume in Disk Management (diskmgmt.msc), you may receive the following error message:
The operation failed to complete because the Disk Management console view is not up-to-date. Refresh the view by using the refresh task. If the problem persists, close the Disk Management console, then restart Disk Management or restart the computer.
If you try to create a new partition using Diskpart.exe, you may receive an error message that is similar to the following:
Virtual Disk Service error: The operation timed out.
Diskpart has referenced an object which is not up-to-date. Refresh the object by using the RESCAN command. If the problem persists exit DiskPart, then restart DiskPart or restart the computer.
Additionally, you may see a pop-up window with the following information:
Found New Hardware Windows needs to install driver software for your Unknown Device
These problems occur if the volume.inf is missing from %Systemroot%\inf folder.
To resolve the problem, do the following:
Open an elevated Command Prompt. To do this, click Start, click All Programs, click Accessories, right-click Command Prompt, and then click Run as administrator.
At the command prompt, type the following command and then press Enter: sfc /verifyonly
If the above command returns stating Problems were found, then type the following command and then press Enter. Let the command operation complete: sfc /scannnow
Open Windows Explorer and then navigate to %Systemroot%\inf folder
Verify if volume.inf file has been replaced. If the file is not replaced, then you need to copy volume.inf from another computer running the same version of Windows, same version of Service Pack and same CPU architecture.