this post was submitted on 19 Aug 2023
553 points (92.0% liked)

linuxmemes

20483 readers
1204 users here now

I use Arch btw


Sister communities:

Community rules

  1. Follow the site-wide rules and code of conduct
  2. Be civil
  3. Post Linux-related content
  4. No recent reposts

Please report posts and comments that break these rules!

founded 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 5 points 1 year ago* (last edited 1 year ago)

Actually, you can't, not by normal means anyway. For starters, there's the Windows File Protection (WFP) which automatically restores any deleted essential system files, and there's also the Windows Resource Protection (WRP), which prevents you from even attempting to delete those files. There are ways you can get around it of course, but even still, you can't delete files which are in use, which means you still wouldn't be able to delete the system32 folder.

The only way to actually delete it completely, would be to boot from a second OS or a rescue environment and then delete the folder.