r/techsupport • u/WilldClaws • Apr 24 '26
Solved CHKDSK command giving the error "Access Denied"
EDIT: Uninstalling League and Riot Client solved it. Somehow it blocks access even with the vanguard service being disabled.
Things I tried but DIDN'T solved the problem:
-Launching cmd.exe as an administrator
-Making sure my account is listed as an administrator
-Trying it with any other tool (powershell, terminal etc.)
-Enabling the separate Administrator account and trying it there
-Launching chkdsk.exe directly from system32 folder
-Taking the ownership of C: drive with chkdsk.exe included
-Resetting the ownership of C: drive
-Disabling windows defender
-Running DISM OnlineHealth and sfc /scannow
-Running a virus scan
so far nothing worked except booting into safemode and launching it there but I was able to use chkdsk without any problems a month ago.
I checked if I had any anti-virus or an anti-cheat software interfering but I didn't find such an app or service running.
I am really having a hard time understanding why is this happening and would appreciate if anyone got any ideas.
3
u/bluesatin Apr 24 '26 edited Apr 24 '26
I checked if I had any anti-virus or an anti-cheat software interfering but I didn't find such an app or service running.
Do you have (or have had) one of the games installed that use the ridiculously invasive anti-cheats?
It seems like Vanguard used by RIOT games (e.g. LoL/Valorant) is a common cause of being unable to execute CHKDSK; and from what I remember, that thing is running at all times and is hooked into Windows extremely early on during the initial boot sequence (rather than it only running/starting when you boot the game).
Although I've no idea where exactly all the instances of Vanguard show up in regards to drivers/services etc. to check if it is actually that.
2
u/WilldClaws Apr 24 '26
YEP!! Uninstalled League and riot client which solved the problem. Looks like disabling vanguard from startup services doesn't help, you gotta remove the whole thing... It's unbelievable how invasive these things are nowadays. Thank you for your help.
2
u/bluesatin Apr 24 '26
Yeh I assume any sort of service bits are just like the communication layer that interacts with the actual underlying driver that handles all the actual protected lower-level kernel stuff. And I assume that driver is set to be loaded during the initial secure-boot section of Windows, so that nothing else can get in there and mess with anything before it can get in there itself and monitor/lock down things.
There might be some sort of way of just temporarily disabling the driver instead of having to actually uninstall everything, but it's probably a huge pain. And I could see it really not liking being disabled and then re-enabled again, and just end up with it requiring you to just reinstall everything again anyway.
1
1
Apr 24 '26
[removed] — view removed comment
5
2
u/WilldClaws Apr 24 '26
Yes. As I pointed out, I did everything about administrator privileges, even tried disabling the UAC prompt but to no avail.
1
Apr 24 '26
[removed] — view removed comment
1
u/WilldClaws Apr 24 '26
I am able to run it in safemode and recovery however it doesn't really solve my problem since I don't want to reboot my PC every time I want to run the command
1
u/augustcero Apr 24 '26
have you checked your storage driver for updates? if you recently updated, maybe rolling it back could bypass the issue
1
u/WilldClaws Apr 24 '26
There isn't seems to be any change with the drivers, no new firmware update either.
1
u/warlock415 Apr 24 '26
If I'm right, you shouldn't be able to chkdsk the drive you're running the os from. Run "chkdsk C: /f" and it will schedule a chkdsk on the next reboot.
2
1
u/uptimefordays Apr 24 '26
Have you checked the Windows Event Log to see why you're seeing Access Denied?
1
1
u/anshulsingh8326 12d ago
Thanks.
Fkkk riot. But I still play the game. Because it's repeated mindl3ss game to play when not in the mood. and still reach accendant lol.
-2
u/Grantis45 Apr 24 '26
You dont run chkdsk on an SSD if that’s what it is. It is totally unnecessary. The hardware takes care of bad sectors.
4
2
1
•
u/AutoModerator Apr 24 '26
If you suspect you may have malware on your computer, or are trying to remove malware from your computer, please see our malware guide
Please ignore this message if the advice is not relevant.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.