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 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 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 administrator. If that didnt work, try the next step.
- Open the file location of 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., 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.
File or Folder refuse to be removed because of file permission
- Restart 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 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 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 user name. 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.