How to force a chkdsk on startup

Truly Deeply 0 Reputation points
2023-05-13T13:35:58.78+00:00

I have a drive that can not be seen by Windows but can be seen by partition software.

How do I force chkdsk to scan this drive on startup and fix the issues that windows is having reading clearly visible drives?

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
11,195 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Ian Xue (Shanghai Wicresoft Co., Ltd.) 34,271 Reputation points Microsoft Vendor
    2023-05-16T09:21:11.95+00:00

    Hi,

    If you cannot see the partition in Windows Explorer, it may have no partition letter. Run diskmgmt.msc from the start menu and find the partition. Right click on it, choose Change Drive Letter and Paths, and then manually assign a drive letter to the partition. Then run chkdsk /f with the drive lettter and see if this works.

    Best Regards,

    Ian Xue

    If the Answer is helpful, please click "Accept Answer" and upvote it.

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

  2. Docs 15,491 Reputation points
    2023-05-17T04:10:16.51+00:00

    Chkdsk is a Windows command.

    When a volume is identified by Windows an administrative command prompt command can be used to mark the volume as dirty.

    Marking the volume as dirty forces an autochk after reboot.

    If Windows cannot recognize the disk drive nor the volume then the chkdsk command cannot be used to make the drive appear.

    .

    .

    Chkdsk can run on startup when a command is entered with the volume path.

    For example: fsutil dirty set W:

    (change the drive letter W to the applicable drive letter)

    When a volume's dirty bit is set, autochk automatically checks the volume for errors the next time the computer is restarted.

    .

    .

    If the drive does not have a drive letter when booting Windows or booting to Windows Recovery Environment (RE) then an incomplete command will not force an autochk chkdsk scan.

    .

    .

    References:

    https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/fsutil-dirty?source=recommendations

    https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/autochk

    https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/fsutil-dirty?source=recommendations

    https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/chkdsk?tabs=event-viewer

    .

    .

    --Please don't forget to upvote and Accept as answer if the reply is helpful--

    .

    .

    0 comments No comments