I have a desktop PC running Windows 7, and no other OS, and it was working fine. And since I was going to go down to a friend's house to fix his non-booting Windows 10 PC, I copied Windows 10 from disc to a USB stick (via Rufus, a bootable USB stick creator program), and to test the Windows 10 USB stick was working, I booted up my Windows 7 desktop via the USB stick, got to the Windows 10 menu, and turned off the Windows 7 desktop. I did this because I thought that the Windows 10 installation USB wouldn't actually change anything on the PC until I told it to (which I wasn't going to do, of course, I just wanted to test that the USB stick booted). Anyway, the Windows 7 PC still works fine, i.e. online works, no viruses or malware, every program I've tried works, but whenever I boot it up, the Windows 7 PC ALWAYS runs CHKDSK at boot, then it tells me that CHKDSK can't check the C: drive, and tells me it's because of some previously installed software, and that I should use the system restore to go back to before the software was installed. You'd think it would tell me what software is actually causing the problem, just like you'd expect the Windows 10 disk to have NOT altered the contents on the hard drive, given that I did not tell it to do anything at all, but not. Oh, and all of my restore points have been removed. Googling the problem shows that it's not exactly uncommon, but mostly it's people who dual boot both Windows 7 and Windows 10, and the working solution there is to apparently turn off fast boot in Windows 10, but since I don't have Windows 10 on this desktop (and really really don't want it), then that's not an option for me. I can create new System Restore points (but of course there are none from before I booted the Windows 10 USB stick), but I can't stop CHKDSK from trying to run at boot up, and MUCH more importantly, I can't get CHKDSK to successfully scan the C: drive even when I deliberately tell it to in Windows, then of course it schedules CHKDSK for the next reboot, but on reboot CHKDSK just gives the same error as when it always tries on bootup without my telling it to. Using: fsutil dirty query c: says "Volume - C: is dirty" And via REGEDIT, at: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager Then 'BootExecute' contains: autocheck autochk * Any ideas, please?
Never had a dirty bit, but this link mentions a way to disable chkdsk from starting on a boot-up. https://www.raymond.cc/blog/disable-or-stop-auto-chkdsk-during-windows-startup/
Reinstall Win 7 and that should fix it. It most likely messed up a line in the boot.ini. Maybe someone else knows what line it broke which would make it an easy fix without reinstall. Also .. Stay away from Win 10. It is a disgusting dog of an operating system.
Thanks! That's stopped the perpetual trying to run the disc check whenever Windows starts, but of course it's not fixed whatever is stopping CHKDSK from working. Any ideas on that, please? I'm hoping to avoid having to format the PC, but yes, it will (I believe and really really hope) fix the problem with CHKDSK failing with a cannot scan because the disc is locked type message. And I heartily agree that Windows 10 is much too flawed to be a desirable replacement for Windows 7.
checkdisk cant run on the disk you are using.you have to schedule it on a restart.try this to repair master boot record. https://neosmart.net/wiki/fix-mbr/
In the end, I decided to reformat and use a backup of the drive's contents, and everything is working fine again. Thanks for the help, though, but life's hectic just now, so using an older backup was just more convenient.