So you want to know how to delete System 32 Windows C drive files on your PC or laptop. Below are some methods that can help you to accomplish this. But before that, you should know System32 is the directory where all the important files of your Windows installation are kept. So if you delete files in the directory System32 your system might start dysfunctioning or even stop working.
But if you are facing any problems and you want to delete some files in system32 then read below and you will find a few ways to delete system32 files.
How to Delete System 32 Files?
The information provided below is for educational purposes only. We are not responsible if any damage is caused to your system. Proceed further only if you know what you are doing.
This method is deleting system32 using a batch file. Just follow the steps below one by one.
- Open system32 folder in your system which is located in C:\Windows\System32 here C drive is the drive where Windows partition is generally installed.
- Select the file that you want to delete and right-click and choose properties. Inside properties in the General tab copy the file location.
- Open Notepad from the Start menu.
- Now type cd “location” inside notepad. Here replace the location with the location of the file that you copied earlier. But do remember to keep that location inside quotes.
- Hit enter and in the next line type del
- After del give a space and type file name that you wanted to delete within quotes. For example, del “sample.dll” do remember to also type any extension if present.
- Now click on File and Save as and save the file with any name just add .bat extension after the name. For example sample.bat and save.
- Open the file location and locate the file that you just saved right now.
- Now double click the batch file you just saved and the file that you wish to delete will be deleted.
Acquire administrative privileges and then you can delete system 32.
- Click Start, type cmd in the search box and open Command prompt.
- In Command prompt type the following command.
takeown /f C:\Windows\System32
change the path of the folder according to the location of the System32 folder in your system.
Now to delete the System32 folder type the below command in command prompt and press Enter.
If you get an error message prompting You don’t have permission to perform this action or You need authorization from TrustedInstaler in order to perform this action then here is a method to fix it.
- Go to System32 folder location, right-click on the System32 folder and select Properties.
- Select the Security tab in properties and click on Advanced.
- It will open another dialog box, in Owner: you will see Trustedinstaller click on change near it.
- In Enter the object name to select, type the username of your computer to allow it. Click on check names, if the user appears in the menu click on OK.
- Return to the Security tab in properties of the System32 folder. In Group or user names, select previously selected user name click on Allow for each permission. Click OK
- If any error appears just ignore and click on OK.
Now you should be able to delete System32 files as the user account you are using has got permission to change that files.
So let us know in the comments which method worked best for you. And why do you wanted to delete System 32. Is your Chrome browser not working properly or crashing? here is how you can fix it.