In this article, we will discuss how to permanently disable CHKDSK for a 128GB flash drive on Windows 7. This process is useful when you have a flash drive installed with Windows 7 using WinToUSB, and you use the drive to sync files between home and other PCs without a keyboard. The continuous checking of the flash drive by the CHKDSK utility can be problematic, and this guide will help you disable it permanently.
What is CHKDSK?
CHKDSK (Check Disk) is a built-in utility in Windows operating systems used for diagnosing and fixing file system errors on a hard drive or removable drive. It can mark bad sectors as unusable to prevent data loss and ensure system stability. However, if you receive the "CHKDSK cannot run because the volume is in use by another process" error frequently, it can be an issue when using a flash drive.
Why Disable CHKDSK on a Flash Drive?
When you use a flash drive as the primary storage for your Windows 7 installation and move it between PCs, the CHKDSK utility may run during startup or shutdown, which can cause issues if the volume is in use by another process. Disabling CHKDSK on a flash drive can prevent these issues when synchronizing files between PCs or booting on different systems.
Disable CHKDSK Permanently
To disable CHKDSK permanently for a 128GB flash drive on Windows 7, follow these steps:
Step 1: Open Command Prompt as Administrator
Press the Windows key, type "cmd," and then right-click on "Command Prompt" from the search results. Choose "Run as administrator."
Step 2: Disable Automatic CHKDSK Startup Check
Type the following command and press Enter:
fsutil behavior set disablelastdirtick 1This command disables the automatic start of CHKDSK when an error is detected during a system shutdown.
Step 3: Change Registry Settings to Prevent CHKDSK
Run the Registry Editor by typing "regedit" in the Command Prompt and pressing Enter. Navigate to the following path:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session ManagerModify the "BootExecute" value by right-clicking on it and choosing "Modify." Replace the existing value with the following:
autocheck autochk *This will prevent CHKDSK from running at boot time for your flash drive.
Step 4: Defragment the Flash Drive
Since the flash drive has been in use, you should defragment it to ensure optimal performance. Run the Disk Defragmenter by typing "dfrgui" in the Command Prompt and pressing Enter.
By following these steps, you have disabled CHKDSK permanently for a 128GB flash drive on Windows 7. The continuous checking of the flash drive by CHKDSK has been a common issue when using flash drives in different computers. This guide helps you avoid these complications.
- CHKDSK (Check Disk) is a built-in utility in Windows for diagnosing and fixing file system errors
- Disabling CHKDSK on a flash drive can help avoid common issues when moving it between PCs
- Remember that disabling CHKDSK is not recommended for regular HDDs or SSDs