Have you ever come across a situation where you cannot delete a file because of file permission problems? Have you had problems with uninstalling program or installing a program because of file permission problems?
Why Windows use file permissions
Microsoft introduced file permissions to make Windows more secure. Microsoft introduced file permissions with Windows NT for server OS and Windows XP for desktop machines.
File permissions are mainly set for security purpose. Without setting file permission, Windows cannot create administrator and normal user accounts. Without file permission, any malware can intrude into your machine and start working without any restriction. A hacker can easily get inside your computer and run programs to steal information and destroy your computer.
Install the program using file permission
All programs need admin verification to get itself installed. An automatic pop up window is triggered when you try to install the program. Just give permission and the installation will proceed.
- Find the exe file for the program that needs to be opened. Right click on the exe and select Run as administrator.
Uninstall program using file permission
- Go to Control Panel -> Programs and Features. Remove the program if it is listed inside the list of installed programs. This method automatically uses admin rights if you are logged in as an administrator. If that didn’t work, try the next step.
- Open the file location of the installed program. Find the uninstall exe file from the list. To start the removal process, right click on the uninstall file, select Run as administrator.
Run programs using file permission
- Some programs need admin rights to do certain functions. If they don’t have admin rights, they may refuse to do certain tasks. For e.g., the command prompt can be opened with admin rights and without admin rights. A command such as netsh winsock reset work in admin mode, but refuse to work in normal mode.
How to remove File or Folder which refuse to be removed because of file permission
- Restart the computer in safe mode. Then remove the file or folder from safe mode. In safe mode, these files and folders are less likely to be running in the background or used by other programs. So the success of removal is more in Safe Mode.
- Make yourself the owner of the file, so that there won’t be any difficulty in removing the file. Right, click on the file > click Properties > click security. Under the Group or user names, check if your username or administrator name is listed. Click on your user account and check if you have full control permission. The full control permission allows a user to read, modify or delete a file.
If you don’t have Full control, click on your username. Then click Edit. Click on your user account again, click Allow under Full control. Apply the settings. Close all the window and try to remove the file or folder again.
- The easiest way to fix file permission is using a software such as IObit Unlocker. You can simply terminate all processes associated with the file and remove it quickly.
How to run IObit Unlocker
- Download and install IObit Unlocker
- Right click on the file or folder that needs to be removed
- Select IObit Unlocker
- In the opened window, the file that needs to be deleted will be listed inside.
- Click Forced Mode
- Click drop down window associated with Unlock button
- Select Unlock & Delete