PCbanter

PCbanter (http://www.pcbanter.net/index.php)
-   Windows 7 Forum (http://www.pcbanter.net/forumdisplay.php?f=48)
-   -   Tip: How to cancel a repeating chkdsk at boot (http://www.pcbanter.net/showthread.php?t=1103061)

T February 16th 18 07:39 PM

Tip: How to cancel a repeating chkdsk at boot
 
Hi All,

I had a customer yesterday with a crashed Windows Nein,
oops Windows Ten update. I did my magic and got him
back to norm. The last thing that did to work
was a constant chkdsk at bot, due to a dirty NTFS flag.

Now this information is indeed all over the web, but I am
posting it here because I get straight to the point
(I am not paid by the word).

By the way chkdsk is "suppose" to clear the dirty flag, but
doesn't always work.

-T

Here are my notes:


To stop a scheduled or repeating chkdsk at boot:

Reference:
http://www.thewindowsclub.com/check-...tartup-windows


1) modify the registry:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Contro l\Session
Manager\BootExecute

change
autocheck autochk * /r\DosDevice\C:
to
autocheck autochk *


2) If it is already set that way, the NTFS dirty flag may be set.

Windows: to check the dirty flag:
fsutil dirty query g:


Windows: presuming the issue is with the C: drive:
Note: must be run from an Administrators CMD shell:
CHKNTFS /X C:

Linux:
# ntfsfix -d device (/dev/sda1)

Paul[_32_] February 16th 18 08:36 PM

Tip: How to cancel a repeating chkdsk at boot
 
T wrote:
Hi All,

I had a customer yesterday with a crashed Windows Nein,
oops Windows Ten update. I did my magic and got him
back to norm. The last thing that did to work
was a constant chkdsk at bot, due to a dirty NTFS flag.

Now this information is indeed all over the web, but I am
posting it here because I get straight to the point
(I am not paid by the word).

By the way chkdsk is "suppose" to clear the dirty flag, but
doesn't always work.

-T

Here are my notes:


To stop a scheduled or repeating chkdsk at boot:

Reference:
http://www.thewindowsclub.com/check-...tartup-windows


1) modify the registry:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Contro l\Session
Manager\BootExecute

change
autocheck autochk * /r\DosDevice\C:
to
autocheck autochk *


2) If it is already set that way, the NTFS dirty flag may be set.

Windows: to check the dirty flag:
fsutil dirty query g:


Windows: presuming the issue is with the C: drive:
Note: must be run from an Administrators CMD shell:
CHKNTFS /X C:

Linux:
# ntfsfix -d device (/dev/sda1)


Yes, somebody figured out where the Dirty bit is
stored, so we no longer have to be held hostage :-)

Note that Linux, on some operations, sets the Dirty bit
on purpose, with the intention of forcing an invocation of
CHKDSK when Windows runs. So that bit does get a good workout
at times.

Paul

T February 16th 18 08:49 PM

Tip: How to cancel a repeating chkdsk at boot
 
On 02/16/2018 12:36 PM, Paul wrote:
T wrote:


Yes, somebody figured out where the Dirty bit is
stored, so we no longer have to be held hostage :-)

Note that Linux, on some operations, sets the Dirty bit
on purpose, with the intention of forcing an invocation of
CHKDSK when Windows runs. So that bit does get a good workout
at times.

Â*Â* Paul



Ya, Clonezilla always sets the dirty bit. And
I think I have seen it on gparted too when your
expand partitions.

J. P. Gilliver (John)[_4_] February 17th 18 12:28 AM

Tip: How to cancel a repeating chkdsk at boot
 
In message , T writes:
Hi All,

I had a customer yesterday with a crashed Windows Nein,
oops Windows Ten update. I did my magic and got him
back to norm. The last thing that did to work
was a constant chkdsk at bot, due to a dirty NTFS flag.

Now this information is indeed all over the web, but I am
posting it here because I get straight to the point
(I am not paid by the word).

[]
Not quite: you often insert your "Windows Nein, oops Windows Ten update"
line before you get to the point. (I've just seen it twice in as many
minutes.)

(-:
--
J. P. Gilliver. UMRA: 1960/1985 MB++G()AL-IS-Ch++(p)Ar@T+H+Sh0!:`)DNAf

" ... but ... on the sub-ether radio, [it said] you're dead!"
"Yeah, that's right, I just haven't stopped moving yet." (link episode)

T February 17th 18 01:26 AM

Tip: How to cancel a repeating chkdsk at boot
 
On 02/16/2018 04:28 PM, J. P. Gilliver (John) wrote:
Not quite: you often insert your "Windows Nein, oops Windows Ten update"
line before you get to the point. (I've just seen it twice in as many
minutes.)


I can't resist.

It was my notes that go to the point.

When I see How To's on the Internet that are
several pages long that could be summarized
in three sentence, it drive me nuts, especially
digging around for the actual information


All times are GMT +1. The time now is 12:50 AM.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright © 2004 - 2006 PCbanter
Comments are property of their posters