CHKDSKis a command used in the Windows Command Prompt tool, this command is mainly used to repair logical errors in the file system, is very common for users for its practicality and the main option to try to solve file problems. However, CHKDSK may stop working for some errors and one of them may be "Cannot lock the current drive," an error of which we will review its possible causes and several methods to solve it to use the command again. Additionally, you will know a professional software to recover your information in case you suffered any loss of data.
Occasionally, the CHKDSK command may display some errors that make it not work, which can be annoying for users who require using it. A common mistake that exists is "Cannot Lock Current Drive Windows 10," which, as the name implies, the drive cannot be locked because it is in use by an application, usually a third party. Remember that to run CHKDSK no application must be running, since it is a primary need for this command to work.
As mentioned at the beginning, CHKDSK is a command that can be activated using the Command Prompt (CMD) pre-installed tool in Windows. This utility is used to analyze, verify, and repair the storage units of a computer, these can be hard drives, solid-state drives, and even removable media. Thanks to CHKDSK it is possible to scan and repair logical errors of the storage units, monitor the state of the hard disk in real-time, and even verify the physical surface of the disk to look for physical errors or damaged sectors.
To run CHKDSK you need to open CMD with administrator permissions, as well as know the functionality of the commands and their possible combinations to be able to do the desired task. It should be noted that the first version of CHKDSK was installed in 1980 on an 86-DOS system, making it even older than the Windows operating system. This makes it the first (and most reliable) option to fix disk problems for the vast majority of users.
The most basic way to fix CHKDSK Cannot Lock Current Drive error, is to make sure to close all applications, however, it is not the only one. If you could not solve it using this method, in the next part you will see several alternatives.
You can open CMD and run CHKDSK through Advanced Startup Options, in this way you can use this command in a way intended to work with tools to repair and recover Windows. To do this task, just follow the steps that I will show you below:
Safe mode is a way of access to Windows in which you can use the operating system only with its basic components, in this way, you can use your computer with some restrictions, but without programs that can harm it. CHKDSK be run in this mode because it works with CMD, a native Windows tool. Next, I will show you how to do it:
/f /r /x to Remove Disk Write Protection: Sometimes some disks come with write-protection, so you can only open files but not modify, delete, etcetera. To solve the problems that write-protection restrictions can cause you, you can use CHKDSK, and then you will know how to do it:
Now, type chkdsk *: /f /r /x and press "Enter" to start the process. Remember to change "*" for the letter of the disk you want to remove write protection. This command is a combination of three commands that can be activated at the same time "/f" is for fixing disk errors, "/r" is for locating bad sectors, and recovering readable information, and "/x" is for forcing the volume to dismount first if necessary.
Some antiviruses may affect how CHKDSK works, so it may be wise to disable them. Depending on your antivirus, there is a different way to disable it, however, they all have this function in a very accessible sector of the application.
Generally, CHKDSK does not attempt against the files on your computer, however, being a tool that scans, corrects, and replaces files, it can sometimes make changes that you did not expect, so it is very convenient to be cautious and have a software to recover information. Recoverit is professional software that will help you in a very effective and practical way, you can download it at and to use it you just have to do the following:
Recoverit will initiate a scan on the drive. You'll have great features you can use to streamline the scan and recovery process. For instance, you can simply tick the file types you want to recover instead of each one.
The conclusion of the scan will reveal a long list of the files the software found. Recovering them is just a matter of you selecting all the files or specific ones and clicking "Recover". The files will all be retrieved and saved on any location of your choice.
CHKDSK command is used by millions of users daily to correct, verify, and scan problems on their disks and files, as well as to replace corrupted files but this utility can suffer from errors like "Cannot Lock Current Drive," which has various solutions. CHKDSK is a reliable command, but you don't know if it may make undesirable changes to important files. Always be prepared by synchronizing and backing up your operating system is the best solution to protect your information and through software such as AOMEI Backupper it will ensure that your data will always be safe.
CHKDSK lets you check a hard drive for errors in Windows 10 or 11, specifically the kind of errors that arise when files aren't where they're supposed to be. Hard drive problems are one reason why PCs get slower over time.
CHKDSK can take between 20 minutes and several hours to complete, depending on the age and capacity of your hardware. Bear in mind that your computer will run slowly while CHKDSK is working. If possible, let the CHKDSK scan finish before resuming other processes.
These commands will automatically run on the active drive shown next to your cursor. To run CHKDSK on a different drive, type chkdsk [drive letter]: /f, replacing [drive letter] with the letter of the drive you want to scan. For example, to repair the D drive, enter chkdsk D: /f.
Chkdsk /r is not meant to be a data recovery utility, and it sometimes doesn't recover corrupted files properly. The safest method for data recovery is to use a previously created backup, or to ask an expert before executing chkdsk /r.
This method may cause CHKDSK to run without showing you the results. For more detailed and customized results, try running CHKDSK from the Command Prompt. The CHKDSK commands in Windows 10 are the same as in all other versions of Windows.
Your Windows 10 installation disk is a partition of your hard drive isolated from the rest of your data. If you can't access your main hard drive, the installation disk will let you install a fresh version of Windows. It should be accessible as long as you can turn your computer on.
If you've started up an old computer and see a black screen, don't worry. You may be able to fix a black screen on Windows startup and make your computer usable again. Look up other ways to revive an old PC, too.
You need to use CHKDSK when a boot error occurs. Corrupted data can break Windows, and CHKDSK can find those bad files and let Windows install a fresh copy in a new location. You can also use CHKDSK to prevent data loss.
Soft bad sectors are when malware or an improper shutdown confuses the disk drive. From that point on, the computer remembers that this data wasn't verifiable and marks it as a bad sector. You lose disk space and possibly even the file that didn't get written correctly.
An increasing number of bad sectors means your hard drive is about to fail. Back up your data immediately to avoid losing it, and get a new hard drive. In the meantime, run CHKDSK regularly to keep your PC running as fast and smoothly as possible, and tune up Windows 10 when you can.
This error message means that CHKDSK has found something that needs fixing. First, make sure you understand what chkdsk /r does, and bear in mind that there is some risk of losing important files when running a repair scan. Then, run chkdsk /r using Command Prompt.
Type chkntfs /t:[000], with [000] being the number of seconds (up to 259,200 seconds or 72 hours) to delay CHKDSK. For example, if you type chkntfs /t:60, the CHKDSK hard disk scan will be postponed by one minute.
AVG TuneUp schedules regular maintenance to clear out the stuff that commonly bogs down your PC. It uninstalls what you don't need, cleans up the files that aren't being used anymore, and automatically updates your programs. The result is a computer that runs faster than ever. Try AVG TuneUp for free right now.
Privacy Report vulnerability Contact security License agreements Modern Slavery Statement Cookies Accessibility Statement Do not sell my info All third party trademarks are the property of their respective owners.
Based on what you described, it appears intermittent and may have been resolved when the Mac was put in safe mode then checked again.However, if you feel there still might be issues, back up your Mac then reformat it ensuring the correct partition is set to the internal disk:
Unfortunately I've seen the same issue with Disk Utility on some of our organizations Macs. While booted into Recovery Mode and running First Aid, make sure to click "Show Details" and scroll back through the report to see if any unfixed errors are listed even if First Aid says everything is "Ok". Disk Utility today now lies to people saying everything is "Ok" even when errors are reported and I can confirm the file system is at fault with a system.
In the crash logs listed in the EtreCheck report one of the entries mentions "/usr/libexec/lsd" which I found online is related to the macOS Launch Services Daemon. Maybe try booting into Safe Mode which disables third party startup items & drivers to see if this may help narrow down the problem.
If you have a spare external USB3 drive, you can try performing a clean install of macOS to the external drive and booting to the external drive to see if the same issue occurs. Test it first with the default install before installing any third party apps, or migrating/restoring from a backup. You will need to modify the Startup Security Utility settings while booted into Recovery Mode to allow booting from an external USB3 drive. This can narrow the problem down to software/OS issue or an issue with the internal SSD and/or file system.
3a8082e126