Du skal have stødt på fejlen “Du har brug for tilladelse til at udføre denne handling” on Windows while trying to make changes to a file or program. What is this error? What causes it to come up, and how can you fix it? I denne artikel, I have put a light on this topic and also explained various effective methods to fix the error. So just keep reading till the end.
About The Error of ‘You need permission to perform this action’ & What Causes It?
Som nævnt ovenfor, the error “You need permission to perform this action on Windows” generally comes up when you try to make changes to a file. Og, it happens only with the file or folder or program that is being used by some other process going on. For eksempel, a file or folder can be considered to be in use by some process if the antivirus installed on your system is scanning it for viruses. I en sådan situation, you may not be allowed to delete the file or apply any modification to it and face the error “Du har brug for tilladelse til at udføre denne handling” på Windows.
Methods To Fix The You need permission to perform this action on Windows
Below I have explained step-by-step the most effective methods to fix the above-mentioned issue:
Method-1: Making Use Of Unlocker
One method to resolve the issue is to make use of Empty Loop’s Unlocker. Follow the steps mentioned below to install it:
- Efter du har downloadet programmet, Kør det.
- While installing the program, sørge for, at “Fremskreden” er valgt. Og, the third-party software that comes included in the package of this program should be unchecked.
- Once the process of installation completes, you should close the installer.
Once you have successfully installed the Unlocker on your computer, below-given steps are needed to be followed so as to fix the error you are facing:
Step-1: Right-Click On The File
Click with the right button of your mouse on the file or folder you intend to delete or modify. It will open a menu.
Step-2: Select Unlocker
Once you right-click on it, a new option named “unlocker” will be there in the menu appearing in front of you. Select this option. On selecting the “Unlocker” mulighed, det “Unlocker” window will open up. In this window, you will be able to see whether the file with which you are facing the problem has been locked by some process. I tilfælde af, it has been locked by a process, the list of such processes will be shown to you by Unlocker.
Step-3: Vælg “Unlock All”
Once you have a list of all the culprit processes in front of you, all you need to do is just hit the “Unlock All.” Og det er gjort.
Method-2: Rebooting The Computer In The “Sikker tilstand”
Rebooting the computer in “Sikker tilstand” is another solution to the You need permission to perform this action problem. That’s because whenever you start Windows in Safe Mode, only the programs related to Windows are loaded. Og, those programs are loaded with the minimum possible settings. Just follow the steps mentioned below in order to restart your PC/laptop in the “Sikker tilstand”:
Til Windows 7 og Vista
Step-1: Restart The Computer
Først, restart your PC/laptop and keep on pressing the F8 key over and over again until the “Advanced Boot Menu” kommer til syne. Og, in case you do not see this menu, you will, en gang til, need to restart and repeatedly press the F8 key until the menu appears.
Step-2: Vælg den “Safe Mode With Networking”
Once you get to see the menu, vælge “Safe Mode with Networking” fra menuen. In order to select this option from the menu, you will need to make use of the arrow keys available on your keyboard.
Step-3: Tryk på “Gå ind” Key
The last step is to hit the “Gå ind” key from the keyboard after selecting the desired option from the menu. As soon as you press the key, the computer will start in Safe Mode with Networking.
Til Windows 8/8.1/10
Step-1: Åben “Løb” Window
Først, tryk på “Vinde + R” keys from your keyboard, and it will open the “Løb” vindue.
Step-2: Type “msconfig”
Once you are on the “Løb” vindue, type “msconfig” og tryk på “Gå ind” key from your keyboard.
Step-3: Select Safe Boot
The next step is to go to the “Boot” tab and then check the checkbox of the “Safe boot” available in the boot options. Når det er gjort, blot klikke på “ansøge” og ramte “Okay” knap. Then you can restart your system, and it’s done!
Method-3: Adding Permissions To Drive To Fix You need permission to perform this action on Windows
If you somehow manage to alter the permissions of the entire drive, it can also help you fix the error in some cases. For changing the permissions for the entire drive, you will have to follow the steps mentioned below:
Step-1: Go To Properties of The Drive
Først, åbne “Min computer” and click with the right button of your mouse on the drive or partition containing the folder or file with which you are facing the problem while trying to delete or modify. After right-clicking on the partition, a menu will open in front of you. Vælg “Ejendomme” from that menu.
Step-2: Navigate To “Sikkerhed” Tab
Once you are in properties, the next step is to go to the “Sikkerhed” tab and hit the “Redigere” knap. Næste, you will need to click on the “Tilføje” button and then choose the “Fremskreden” mulighed. Vælge “Find Now” and scroll down. While scrolling down, once you get over to “Everyone,” just double-click on it. Klik derefter på “Okay” knap.
Step-3: Modify Permissions
In the next window, you will have to check the “Full Control” checkbox. Og, you will have to modify the permissions for “Everyone.” Once you are done with it, blot klikke på “ansøge” and then hit the “Okay” knap. Og, det er alt.
Method-4: Creating .bat File to Fix You need permission to perform this action on Windows
In case Windows is not able to make recognition of the permissions applied to the file that you are facing problem with, it will be better if you decide to create a .bat file. After creating the file, run it as administrator. Below given are the steps needed to be followed:
Step-1: Create A Text File
Først, you will need to create a text file on the desktop of your computer and save that newly created file with .bat extension name.
Step-2: Add Lines
Next step is to open the newly created text file in the text editor & add to it the lines given below:
SET DIRECTORY_NAME=”C:\Locked Directory”
TAKEDOWN /f %DIRECTORY_NAME% /r /d y
ICACLS %DIRECTORY_NAME% /grant administrators:F /t
Step-3: Replace The Path Name
You should replace the “C:\Locked Directory” with the pathname of the folder with which you are facing the problem. Og, det er alt.
Method-5: Checking Permissions to Fix ‘You need permission to perform this action’ på Windows
The last method in this list of solutions to fix the error, “Du har brug for tilladelse til at udføre denne handling” on Windows is to check permissions. For you to apply this method, the following steps are needed to be followed:
Step-1: Go To “Ejendomme”
Først, click with the right button of your mouse on the file or folder, which is showing the error while trying to modify. Once you right-click on it, a menu will appear in front of you. Vælg “Ejendomme” fra menuen.
Step-2: Navigate To The “Sikkerhed” Tab
On selecting the “Ejendomme,” a dialogue box for “Logs Properties” will open up. Gå til “Sikkerhed” tab available in that dialogue box. In the Security tab, there is a button labeled as “Fremskreden.” Click on that button.
Step-3: Go To “Permission” Tab
As soon as you hit the “Fremskreden” knap, a new dialogue box will appear. Under the “Permission” tab in that new dialogue box, you should ensure that the user account possessed by you has full control of the folder as well as subfolders. If it is not found to be with full control, you should select the user name and click on the “Change Permissions” button provided in the bottom area of the dialogue box.
Step-4: Change Permission
The next step is to check the box provided with the “Replace all child object permissions with inheritable permissions from this object” option and uncheck the “Include inheritable permissions from this object’s parent” mulighed. Og, after checking and unchecking these checkboxes, klik på “Tilføje” knap.
Step-5: Type Your Username
Now you should type the username in the field labeled as “Enter the object name to select” if you are using Windows 7. But in case you are on Windows 8 or later version of Windows, you will first need to click on the “Select a Principal” and then type your user name in the field labeled as “Enter the object name to select.” Once you are done with typing the username, just hit the “Okay‘ knap.
Step-6: ansøge “Full Control”
Næste, a new dialogue box will come up, in which you just have to click on the “Full Control” option and hit the “Okay” knap. And it’s finally done.