When I run chkdsk in cmd.exe, I get the "Access Denied as you do not have sufficient privileges or the disk may be locked by another process. You have to invoke this utility running in elevated mode and make sure the disk is unlocked." prompt. What does this mean and how can I fix it?
The Command Prompt (cmd.exe) is a command line interpreter on the Windows operating system, which is used to execute command line programs. Some command line applications (such as chkdsk) require us to run it in an elevated command prompt (cmd.exe), this tutorial will show you how to to run Command Prompt (cmd.exe) as administrator in Windows 10.
1. Type "cmd" in the Windows search bar.
2. In the search results, right-click on "Command Prompt", and then select "Run as administrator".
3. You will get the promp "Do you want to allow this app to make changes to your PC?".
4. Click "Yes", and then the elevated Command Prompt will be opened.