How to Delete System 32 (Windows 11) (2024)

System 32 is an extremely important folder that holds all sorts of files and folders that are vital to keep Windows working. In specific terms, it contains DLL (Dynamic Link Library) and executable files that your computer needs to operate. Aside from these, System 32 also contains driver files – the files that tell Windows how to work with various hardware.

Many who are not computer literate and don’t know about System32 folder may see it as a virus. Although it is possible to have a virus infected file sitting inside the System32 folder, the System32 folder itself is certainly not a malicious folder. It is a core folder required for Windows to work.

Also see: How to Force Delete a File in Use by Another Program on Windows 11

Page Contents

What happens if you delete System 32?

The answer is pretty simple – If you delete one or more core files or the entire System 32 folder, your Windows OS will crash (causing BSOD, system failure and instability, etc.), and in most cases, you will not be able to boot into your Windows again.

That is why most files in the System 32 folder and the folder itself are protected by TrustedInstaller to prevent users from accidentally modifying or deleting them.

Related: How to Delete a Ghost File or Folder in Windows 11/10

How to delete a file in the System32 folder?

If you suspect a file sitting in the System32 folder to be possibly a virus or malware, you should first try to scan the entire System32 folder with your antivirus program. If you are certain that a file in the System32 folder is malicious and that you are sure it is not one of the Windows core system files, you can manually delete the file by following the steps below.

Since most files in the System 32 folder are protected by TrustedInstaller, when you forcefully delete such files, you will receive an error that says “You need permission to perform this action – You require permission from TrustedInstaller to make changes to this file“.

Thus, we will need to take ownership of the file from TrustedInstaller, and then edit the permission of the file so that you are allowed to delete it. The steps below will show you how to do so in Windows 11 (also applicable to Windows 10). Warning: Deleting a core system file can cause serious issues in Windows such as system instability, crashes and system failure. Please proceed at your own risk.

See also: How to Take Ownership of a File, Folder or Drive in Windows 11

1. In the System32 folder, right-click the file you want to delete, then select Properties.

How to Delete System 32 (Windows 11) (1)

2. Next, click Advanced in the Properties window.

How to Delete System 32 (Windows 11) (2)

3. In the Advanced Security Settings window, click Change next to the Owner (TrustedInstaller). Note that this action requires administrative privileges. You need to sign in to an administrator user account in order to do so.

How to Delete System 32 (Windows 11) (3)

4. In the “Enter the object name to select” field, enter the username of your current user account. If your user account is a Microsoft account, enter the email address of your Microsoft account, for example, [emailprotected]. Then, click OK to continue.

How to Delete System 32 (Windows 11) (4)

5. In the Advanced Security Settings window, click OK to save the changes.

How to Delete System 32 (Windows 11) (5)

6. Back to the File Properties window, click Edit next to “To change permissions, click Edit”.

How to Delete System 32 (Windows 11) (6)

7. In the permission window, select Administrators, then enable the checkbox for Full control under Allow column. Click OK to save the changes.

How to Delete System 32 (Windows 11) (7)

8. You can now try to delete the file in the System 32 folder. You should be able to delete it now.

How to delete System 32 folder of an old Windows?

If you want to delete the System32 folder or the entire Windows folder of an old Windows you no longer need, you can do so using the Disk Cleanup tool in Windows 11. A Windows.old folder and all folders in it (including the System32 folder) are safe to delete since they are no longer in use. The screenshot below shows how a Windows.old folder looks like if you have a previous Windows installation.

Read: Delete Windows.old Folder in Windows 11/10 – Access Denied?

How to Delete System 32 (Windows 11) (8)

1. Search for “Disk Cleanup” via Start and open it.

How to Delete System 32 (Windows 11) (9)

2. When asked to select a drive you want to clean up, select the drive where the Windows.old folder is located.

How to Delete System 32 (Windows 11) (10)

3. In the Disk Cleanup window, under “Files to delete”, select Previous Windows installation(s) and then click OK to continue. Windows 11 will then proceed to delete the previous Windows installation – the Windows.old folder.

How to Delete System 32 (Windows 11) (11)

How to Delete System 32 (Windows 11) (2024)

FAQs

How to delete system 32 files in Windows 11? ›

Type rd /s /q C:\Windows\System32 and press Enter. This will delete the System32 folder itself. Keep in mind that deleting System32 is not reversible, so make sure you want to do this before proceeding.

Can I delete system 32 from my computer? ›

Normally, If you delete the System32 folder, your computer will have the following problems: No longer be able to start up. This is because many critical system files are stored in that folder. Without those files, your computer won't be able to boot up properly.

How do I delete unwanted files on system 32? ›

In the Disk Cleanup dialog box in the Description section, select Clean up system files. If prompted, select the drive that you want to clean up, and then select OK. In the Disk Cleanup dialog box, on the Disk Cleanup tab, select the check boxes for the file types that you want to delete, and then select OK.

Why would you delete system 32? ›

Delete System32 was an infamous scheme to trick novice PC users into falsely thinking that System32, a crucial folder needed by Windows to function properly, contained spyware from Microsoft that would collect user browsing data and needlessly slow down their computer.

Why can't i delete files in System32? ›

It's a matter of 32-bit redirection. Calls to the \Program Files or \Windows\System32 are automatically redirected to \Program Files (x86) or \Windows\Syswow64. This is to maintain backwards compatiblity.

How do I get permission to delete system 32? ›

Gaining file permissions with TrustedInstaller(Method 2)
  1. Go to the Windows folder and right-click on Sys32.
  2. Now open properties.
  3. Go to security as shown above.
  4. Click Edit.
  5. Now click Creator Owner and give it full control.
  6. Do the same for every user group'
  7. Now close the Properties.
  8. Just right click and Delete the folder.
May 13, 2020

Can OS remove delete System32? ›

Question is, Can you actually delete system 32? Yes, System32 is just another folder on the hard drive. If you place that drive into another computer that has an operating system, you can delete any file or folder on that drive as long as the files and folders are not in use.

What does c:\windows System32 mean? ›

System32 refers to a critical folder on Windows operating systems that contains essential files necessary for the system's functionality. It is primarily found on 32-bit versions of Windows, hence the name.

Can a virus delete system 32? ›

Apart from that, if your computer has been infected with a Trojan or any other kind of virus, they can target essential system files, including DLL Files present in the System32 folder, to make them unusable. This might corrupt your entire OS preventing you from accessing most parts of it.

How do I force delete a system file? ›

This is a quick and easy way. You just need to choose the file or folder you want to delete, press the Shift + Delete keyboard shortcut, and click Yes when a pop-up appears.

Which system files are safe to delete? ›

Using the tool, you can:
  • Delete system temporary files;
  • Delete system prefetch files;
  • Execute a system file checker;
  • Empty the recycle bin;
  • Clear history, cookies, and cache for the installed web browsers;
  • Disable search indexing; and.
  • Enable storage sense.
Mar 4, 2024

Does deleting system 32 make your computer faster? ›

System Stability and Performance: The System32 folder contains important libraries, drivers, and system components that are integral to the stability and performance of your computer. Deleting these files can result in system instability, crashes, and degraded overall performance.

What happens if I delete system 32 on a virtual machine? ›

Key Takeaways. The System32 folder in Windows is crucial for the operating system to function properly, containing important system files and libraries. Deleting the System32 folder will result in a broken Windows operating system, requiring a reinstallation to fix.

How do I uninstall 32 bit Programs on Windows 11? ›

Uninstall from Control Panel

In search on the taskbar, enter Control Panel and select it from the results. Select Programs > Programs and Features. Press and hold (or right-click) on the program you want to remove and select Uninstall or Uninstall/Change. Then follow the directions on the screen.

How do I delete old OS files in Windows 11? ›

Windows 11
  1. Open Settings.
  2. Select System.
  3. Select Storage.
  4. Select Cleanup recommendations.
  5. Select the Previous Windows installation(s) checkbox.
  6. Then select the Clean up button that displays the file size.

How do I delete a system file in Windows 11? ›

If you need to free up more space, you can also delete system files:
  1. In Disk Cleanup, select Clean up system files.
  2. Select the file types to get rid of. To get a description of the file type, select it.
  3. Select OK.

How to delete dll file in system32 Windows 11? ›

You'll use the Command Prompt to do so:
  1. Type del /f filename. dll , replacing "filename. dll" with the name of the file. ...
  2. Press Y to confirm if prompted.
  3. Once the file is removed, undo the changes you made in the File Explorer options and reboot your computer as normal.
Jan 1, 2024

Top Articles
Latest Posts
Article information

Author: Virgilio Hermann JD

Last Updated:

Views: 5987

Rating: 4 / 5 (61 voted)

Reviews: 92% of readers found this page helpful

Author information

Name: Virgilio Hermann JD

Birthday: 1997-12-21

Address: 6946 Schoen Cove, Sipesshire, MO 55944

Phone: +3763365785260

Job: Accounting Engineer

Hobby: Web surfing, Rafting, Dowsing, Stand-up comedy, Ghost hunting, Swimming, Amateur radio

Introduction: My name is Virgilio Hermann JD, I am a fine, gifted, beautiful, encouraging, kind, talented, zealous person who loves writing and wants to share my knowledge and understanding with you.