Page 2 of 2 FirstFirst 12
  1.    28 Jul 2017 #11
    Join Date : Jan 2017
    Posts : 38
    W10/Arch linux (dual boot)
    Thread Starter

    C:\WINDOWS\system32>chkdsk /x /f /r
    The type of the file system is NTFS.
    Cannot lock current drive.

    Chkdsk cannot run because the volume is in use by another
    process. Would you like to schedule this volume to be
    checked the next time the system restarts? (Y/N)

    what does the command do btw?
    Last edited by MasterAndreas; 28 Jul 2017 at 22:49.
      My ComputerSystem Spec
  2.    28 Jul 2017 #12
    Join Date : Apr 2017
    Posts : 8,762
    windows 10 professional version 1607 build 14393.969 64 bit

    Whenever you perform chkdsk you have a choice: while the computer is in active use or when the drive is locked for scanning. The locking of the drive for scanning is substantially better but there can be long periods of time in which it is scanning and the computer cannot be used. So you will enter Y when you plan to reboot and not have access to the computer for at least 8 hours. This way the computer drive is being scanned and repaired while you are sleeping or away from the computer.

    Microsoft Windows [Version 10.0.15063]
    (c) 2017 Microsoft Corporation. All rights reserved.


    C:\Windows\system32>chkdsk /x /f /r
    The type of the file system is NTFS.
    Cannot lock current drive.


    Chkdsk cannot run because the volume is in use by another
    process. Would you like to schedule this volume to be
    checked the next time the system restarts? (Y/N)

    Type: Y
    Then reboot
    You must plan no use of the computer for a long period of time for HD and a short period of time for SSD.
      My ComputerSystem Spec
  3.    30 Jul 2017 #13
    Join Date : Jan 2017
    Posts : 38
    W10/Arch linux (dual boot)
    Thread Starter

    does the command affect my non-NTFS partions in any way? i have a EXT4 partion there too
      My ComputerSystem Spec
  4.    31 Jul 2017 #14
    Join Date : Jun 2015
    Posts : 12,864
    Windows 10 Pro

    Hi MasterAndreas,

    The command does not affect any other partition than the Windows partition when running it without specifying what partition to run it on.

    Additionally on zbook's answer about what the command does
    /f = fix any file system errors present
    /x = force the partition to unmount, includes /f
    /r = replace any bad sectors and recover data from it, includes /f

    When performing a chkdsk like this, with parameters, the partition must be unmounted to fix any issues.
    Without parameters it is only a scan and no file system errors will be fixed.

    How long it takes before you'll be able to login again depends mainly on
    - the size of the partition,
    - the speed of the drive and
    - how much chkdsk needs to do.
    This can vary from a few hours to several hours to even days in bad situations.
      My ComputersSystem Spec
  5.    01 Aug 2017 #15
    Join Date : Jan 2017
    Posts : 38
    W10/Arch linux (dual boot)
    Thread Starter

    i have re-installed the OS and the issue is solved
      My ComputerSystem Spec
  6.    01 Aug 2017 #16
    Join Date : Apr 2017
    Posts : 8,762
    windows 10 professional version 1607 build 14393.969 64 bit

    Quote Originally Posted by MasterAndreas View Post
    i have re-installed the OS and the issue is solved
    Which method did you use?
    1) windows advanced troubleshooting menu system restore with save files?
    2) windows advanced troubleshooting menu system restore with remove files?
    3) in place upgrade repair using windows 10 iso?
    4) clean install deleting partitions using windows 10 iso?
      My ComputerSystem Spec

 
Page 2 of 2 FirstFirst 12


Similar Threads
Thread Forum
Error code: (0x8007000d)
I am on build 16237,When i try to get the latest updates i receive Error code: (0x8007000d) We will try later. Anyone else?.
Windows Insider
Can't install updates or upgrade windows 10, error 0x8007000d
I can't seem to install any windows updates, and when I tried to upgrade my windows 10 version to the latest version, I keep getting the same error messages. Here are the warning message(s) I'm getting. 108803108804
Installation and Upgrade
Win 10 updates keep failing KB3167685 - Error 0x800f0922
Help please.
Windows Updates and Activation
Getting past firewall for updates
My mother is living in a retirement community which has a draconian firewall setup. She is unable to download windows10 updates to her computer. She can access standard network ports like email, http, etc. but for example, netflix does not work...
Windows Updates and Activation
Cumulative Update for Windows 10 (KB3093266) - Error 0x8007000d
Please help, anyone know how to get around it?
Windows Updates and Activation
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd
All times are GMT -5. The time now is 15:33.
Find Us
Twitter Facebook Google+ Ten Forums iOS App Ten Forums Android App



Windows 10 Forums