Access denied in cmd

broken image

When checking the System Event Log, you might see the error message: Failed to open device \\?\GLOBALROOT\Device\HarddiskVolume5. See the System Event Log for more information. Some users have reported that when they try to clear a USB flash drive with the command prompt and diskpart, they failed midway clean the disk due to the error message:ĭiskpart has encountered an error: Access is denied.