Microsoft designed the Windows OS lớn be intuitive. Khổng lồ protect itself, the system will prevent you from performing certain actions lượt thích running an app or modifying, deleting, and copying a file or folder.

Bạn đang xem: Fixing 'you need permission to perform this action' in windows

If you have encountered the ‘You need permission khổng lồ perform this action’ message on your PC, this guide will show you what to lớn do.

What Does the ‘Need Permission lớn Perform this Action’ Message Mean?

To better understand this restriction, you need to know why Windows is enforcing it. The reasons may include:

Accessing a System tệp tin or Folder: Windows prevents users from unintentionally tampering with crucial system files that may affect the operating system.Modifying a Protected file or Folder: An administrator may have barred other users from accessing the tệp tin or folder you wish to open, rename, copy, move, or delete.You Don’t Have the Administrative Privileges to lớn Perform the Action: On a shared computer with more than one user account, some users can perform certain actions that have system-wide effects while others cannot. So, when your account is not an admin account, the system will prevent you from making some changes to lớn the computer.

However, the scenarios mentioned above are not the only reasons why you could be encountering the restricted permissions on your PC. Malware infection, corrupt system files, disk issues, Windows registry faults, và program conflicts could be what you have on your hands.

Now that we’ve seen the factors that could make you face this limitation on your PC, let’s discuss what you can vì chưng about it.

How lớn Fix the “You Need Permission khổng lồ Perform this Action” Error on Windows 10


These are the solutions you need:

Confirm the type of user account you haveLog in to lớn your administrator accountMake your account an administrator accountUnlock the tệp tin or folderChange the security permission of the tệp tin or folderTake ownership of the tệp tin or folderScan your PC for malwareRun DISM & SFC scansRun a CHKDSK scanBoot your PC in Safe ModeDisable conflicting programsReinstall the problematic programClean up the Windows registryDisable User account Control (UAC)Reset your OS

You may want khổng lồ attempt the solutions in the order they are presented. On the other hand, you can go at it in any order you prefer. It’s your choice. Soon, you will be able to lớn access the files và run the apps that were triggering the ‘You need permission khổng lồ perform this action’ message.

Let’s get started, shall we?

Fix 1: Confirm the Type of User account You Have

There are two types of users on a Windows PC, namely Administrator and Standard users. Formerly, there was a third type of user account: the Guest account.

The type of user tài khoản you have determines the actions you can perform on the device.

Take a look:

Administrator: An admin has không lấy phí access khổng lồ the computer. They can control the entire system and other users. An administrator can change security settings, access all files, modify other user accounts, & run all apps. What’s more, an admin trương mục can install and uninstall apps, software, & hardware.Guest: Guest accounts have minimum privileges. They are meant for people you let use your system temporarily. Guests cannot install apps, access your private files, or change your PC settings.

Note: Windows 10 no longer offers guest accounts. However, administrators can still create a restricted tài khoản to achieve the same purpose.

Standard: A Standard user can run programs, access files, & perform other actions that do not have system-wide effects. They can use most software và change system settings that don’t impact other users or affect the security of the PC.

A Standard user cannot install new apps or remove existing ones, change PC settings, or run apps and software lớn which an admin has not given them permission.

If you are not using an administrator account, Windows will prevent you from performing certain actions lượt thích modifying files and folders. Moreover, you cannot run apps that have access restrictions. Sometimes, you may be asked lớn provide an administrator password lớn continue the action.

To kiểm tra the type of trương mục you have, here’s what you need to do:

Press the Windows + R keyboard combination to xuất hiện the Run dialog box.
*
Type “Control Panel” (no quotes) into the text box và press Enter on your keyboard or click the OK button on the dialog.
*
When Control Panel opens, go to the View By menu in the top-right corner và select Category.
*
Click on User Accounts.
*
On the page that opens, you will see your username along with your trương mục type.
*

Fix 2: Log In to lớn Your Administrator Account

Perhaps, you are the only one using your PC but you have created more than one account. If so, one of the accounts will become an admin account. So, if you find that you cannot perform some actions on the trương mục you are currently signed in on, consider logging in to your admin account.

Here’s how to bởi vì so:

Launch the Start menu by pressing the Windows key on your keyboard.
*
Click the icon of your user account.
*
Click on the tài khoản to which you want khổng lồ switch.
*
When the login screen is displayed, provide your login information.
*

Alternatively, you can use these steps:

Press the Windows + L combination on your keyboard khổng lồ get khổng lồ the Lock screen.Click on the screen to lớn switch lớn the login screen.Select the trương mục you want khổng lồ use and enter your sign-in information.

Fix 3: Make Your account an Administrator Account

If you have more than one user tài khoản on your PC, you can change the rights khổng lồ the trương mục you are currently signed into. Making your trương mục an administrator tài khoản implies that you will have unrestricted access to your computer. You can install, remove, và edit protected files and software, and even change the system settings.

Here’s how lớn get administrator permission on Windows 10:

Using Command PromptUsing Windows SettingsUsing Control PanelUsing User AccountsUsing Computer Management

How to Change Your account Type Using Command Prompt

Follow these steps:

Press the Windows + R combination on your keyboard to mở cửa the Run box.
*
Type “CMD” (no quotes) và click the OK button or press Enter on your keyboard.
*
When the Command Prompt window opens, đầu vào the following line và press Enter khổng lồ run it:

net user administrator /active: yes 

Restart your computer.

You can now try performing the previously restricted action. You will have permission.

If you would like to deactivate the admin privileges on your trương mục afterward, here’s the command lớn run in CMD:

net user administrator /active: no

How lớn Change Your trương mục Type Using the Settings app

Log into Windows with your administrator account.Press the Windows + I keyboard combination to open the Settings app.
*
Click on Accounts.
*
Click Family và Other Users in the left pane.
*
On the right-hand side of the page, select the tài khoản you want lớn change và click the Change account Type button.
*
Select Administrator.
*
Click OK.
*
Restart your computer.

How to Change Your tài khoản Type Using the Control Panel

Press the Windows + R keyboard combination to xuất hiện the Run dialog.
*
Type “Control Panel” (no quotes) & click the OK button or press Enter on your keyboard.
*
When the Control Panel window opens, click on Change tài khoản Type under User Accounts. You can use the tìm kiếm bar lớn locate the option.
*
Select the account you want khổng lồ change.
*
Click the Change the tài khoản Type link in the left pane.
*
Select Administrator & click the Change account Type button.
*

How to địa chỉ Your account to the Administrators Group Using User Accounts

Open the Run dialog: Press the Windows + R full bộ on your keyboard.Type “Netplwiz” (no quotes) và click the OK button.When the User Accounts box opens, select the account you wish to change và click the Properties button.Switch to lớn the Group Membership tab.Select Administrator.Click the Apply button. Click the OK button.Click Apply and OK again.Restart your computer.

How to địa chỉ Your tài khoản to the Administrators Group Using Computer Management

Follow these steps:

Press the Windows + R keyboard full bộ to mở cửa the Run dialog.
*
Type “Compmgmt.msc” (no quotes) and click the OK button or hit Enter on your keyboard.
*
When the Computer Management window opens, expand System Tools > Local Users và Groups in the left pane.
*
Open Users.
*
Locate your account on the right-hand side of the page and double-click on it or right-click on it và click on Properties in the context menu.
*
When the Properties box opens, click on the thành viên Of tab.
*
Click the showroom button.
*
When the Select Groups box opens, click Advanced.
*
Click the Find Now button.
*
Select Administrators in the tìm kiếm results and click OK.
*
Click OK in the User Properties window.Restart your computer.

Xem thêm: Cách Ngâm Rượu Hành Nấu Ăn, Cách Ngâm Rượu Gừng Bảo Vệ Sức Khỏe Hiệu Quả

Your trương mục now has administrator rights. You can successfully perform the kích hoạt that was displaying the ‘You need permission to perform this action’ message.

Fix 4: Unlock the file or Folder

The tệp tin or folder you are trying to lớn access may be password-protected or encrypted. If it was made so by another user, you can ask their permission lớn let you access the file.

Also, there are third-party apps that let you know if a program or process is locking the tệp tin or folder. They then allow you to lớn remove all the restrictions on the file/folder.

Fix 5: Change the Security Permission of the File, Folder, or App

You can gain the rights to lớn a file, folder, or application by modifying your security permissions. Here’s how to lớn get it done:

Press the Windows + E combination on your keyboard to xuất hiện File Explorer.Locate the file, folder, or phầm mềm you are having issues with and right-click on it.Click on Properties in the context menu.When the Properties box opens, go to lớn the Security tab và click the Edit button.Check for your username in the Group or User Names field and select it.

Note: If you cannot find your username in the Group or User Names field, here’s what you have to lớn do:

Click the địa chỉ button. It will mở cửa the Select Users or Groups box.Type your username into the ‘Enter the object names to lớn select’ field. Lưu ý that it is case-sensitive. Finally, click the check Names button.

Tip: If you are not sure of your username, don’t bother using the ‘Enter the object names khổng lồ select’ field. Instead, click the ‘Advanced’ button and click the Find Now button. It will các mục all the available users và groups on your computer. Then locate your username in the tìm kiếm results and select it. Click OK và click OK again.

In the Permissions field, kiểm tra whether Full Control is allowed for your account. If it is not allowed, mark the Allow checkbox for Full Control. Doing so will also mark the Allow checkbox for other permissions, including Modify, Read và Execute, Read, and Write.Click the Apply button.Click the OK button.

You can also use Command Prompt (Admin) to change your security permission:

Log into your Administrator account.
*
Go khổng lồ the Start menu và type “CMD” (no quotes) into the search box.
*
Right-click on Command Prompt in the search results.
*
Click Run as Administrator in the context menu.
*
Provide your administrator credentials if the system prompts you for it.When User account Control comes up, click the Yes button to confirm that you want lớn allow Command Prompt to lớn make changes khổng lồ your computer.
*
When the Command Prompt (Admin) window opens, enter the following command và press Enter khổng lồ run it:

 icacls /grant administrators:F /T

*

Note: Ensure that you replace with the actual path lớn the folder or tệp tin you wish to lớn access. If you are not sure, locate the nhà cửa in file Explorer and right-click on it. Then, click on Properties. Copy the text under Location. Input it as your folder_path in the command.

After executing the command, the Administrators group on your PC will now have full control over the directory/file/folder. If your account is a Standard account and not in the Administrators group, replace ‘administrators’ in the above command with the username of your Standard account.Close the Command Prompt (Admin) window & restart your computer.

After completing the procedure shown above, you will now be able khổng lồ access or modify the item without restriction.

Fix 6: Take Ownership of the tệp tin or Folder

Taking ownership of the restricted thắng lợi will give you permission khổng lồ access it. However, you should keep in mind that it can be risky khổng lồ change the ownership of sensitive files, especially system files. You might be better off using the previous method to lớn change your security permissions.

There are different ways for changing ownership:

Via file ExplorerUsing Command Prompt (Admin) or PowerShell (Admin)Creating a .bat fileVia file Explorer:Press the Windows + E keyboard combination to mở cửa File Explorer.Navigate lớn the thành phầm you are having issues with và right-click on it.Click on Properties in the context menu.Go khổng lồ the Security tab and click the Advanced button.Click the Change link on Owner.When the Select User or Group box opens, type the name of your user tài khoản into the ‘Enter the object name to select’ field.Click the check Names button to lớn confirm the username.Click OK.Now, mark the ‘Replace owner on subcontainers và objects’ checkbox.Click Apply.Click OK.Click OK again.Using Command Prompt (Admin):

Follow these steps:

Log into Windows with your Administrator account.
*
Open Command Prompt (Admin). To bởi vì so, go to lớn the Start menu & type “CMD” (no quotes) into the search box.
*
Then, right-click on Command Prompt in the search results and click Run as Administrator in the context menu.
*
If the system prompts you, enter your Admin account credentials.
*
Click the Yes button on the User tài khoản Control dialog lớn allow Command Prompt to make changes lớn your computer.When the Command Prompt (Admin) window opens, đầu vào the following command & press Enter lớn run it:

takeown /f “folder_path” /r /d y

*

Note: Ensure that you replace “folder_path” in the command with the actual location of the thành tựu that’s triggering the ‘You need permission to perform this action’ message. If you are not sure of the path, go to tệp tin Explorer and locate the item. Then, right-click on it & click on Properties in the context menu, and, afterward, copy the item’s location.

After executing the command, you’ll now have ownership of the file, folder, or directory. Close the Command Prompt (Admin) window và restart your computer.Creating a .bat File:

You can use a .bat file to gain ownership of an sản phẩm on your PC. Creating such a file is easy. Here’s how:

Right-click on a blank area on your desktop & hover over New.
*
Select Text Document & name the new document as ‘Mod.txt.’
*
Use a text editor to mở cửa Mod.txt. Then, copy và paste the following:

SET DIRECTORY_NAME=”DIRECTORY

TAKEOWN /f %DIRECTORY_NAME% /r /d y

ICACLS %DIRECTORY_NAME% /grant administrators:F /t

PAUSE

*

Note: Ensure that you replace DIRECTORY with the actual path of the sản phẩm you are having issues with. If you are not sure of the path, go to file Explorer và right-click on the thành tựu (be it a tệp tin or folder), then click on Properties và copy the text under Location.

Save the changes.Go khổng lồ your desktop & right-click on the Mod.txt. Select Rename & rename it as ‘Mod.bat.’ The system will display a warning, letting you know that you are about to lớn change the file extension. Click Yes lớn proceed.Right-click on Mod.bat và select Run as Administrator in the context menu.Afterward, try performing the restricted kích hoạt again và see whether the ‘You need permission lớn perform this action’ message will still appear.

Fix 7: Scan Your PC for Malware

The ‘You need permission khổng lồ perform this action’ could be caused by some malware that has hijacked your computer and taken control of its files and processes. These malicious items may also have corrupted or deleted some entries in the registry as well as your system files.

You need to lớn act fast in this regard. If you don’t have a third-party antivirus program on your PC, it means that Microsoft Defender is active but hasn’t been getting updates. That’s why malware was able to lớn invade.

If you bởi vì have a third-party antivirus program, it’s possible that it’s not robust enough lớn detect elusive threats. It could also be that you haven’t been updating it.

Either way, we suggest that you update your antivirus, whichever it is you are using, & run a scan at once.

If you are using Microsoft Defender, see that it has the latest security updates. Then, proceed lớn run a scan. Here’s how to run an advanced scan to khuyễn mãi giảm giá with stubborn threats:

Press the Windows + I keyboard combination to mở cửa the Settings app.
*
Click on Update và Security.
*
Click on Windows Security in the left pane.
*
Click on Virus & Threat Protection. It is the shield icon.
*
Select Scan Options under Current Threats. If you are using an older version of Windows 10, select ‘Run a New Advanced Scan.’You’ll see three options: Full Scan, Custom Scan, & Microsoft Defender Offline Scan. First, select Full Scan và click Scan Now. After the scan is complete, run the Microsoft Defender Offline Scan.
*

If you are using a third-party antivirus program, we suggest you also get huynhhuunghia.edu.vn Anti-Malware lớn complement it. This tool was designed and released by a Microsoft Silver Application Developer.

*

The program can detect deeply hidden threats that your current antivirus might miss. It is user-friendly & easy to set up và run.


RECOMMENDED
*
Right-click on the option when it appears in the tìm kiếm results.
*
Select Run as Administrator.
*
If the system requests your administrator credentials, provide them.Click the Yes button on the User account Control dialog to lớn allow Command Prompt khổng lồ make changes to lớn your PC.
*
When the Command Prompt (Admin) window opens, turn on your mạng internet connection and input the following command (you can copy and paste it). Then, press Enter on your keyboard to execute it:

DISM /online /cleanup-image /restorehealth

*

Wait for the scan to complete. It may take up lớn 30 minutes depending on your system. You may want lớn plug in your power cord lớn avoid running out of battery power & interrupting the scan.
*
After the scan is done, input đầu vào the following command and press Enter khổng lồ run it:

sfc /scannow 

Also, wait for the scan lớn complete. It will display the results lớn let you know the issues that were fixed.Afterward, close the Command Prompt (Admin) window và restart your computer.

Fix 9: Run A CHKDSK Scan

Your hard drive might contain some errors and that’s why you are unable khổng lồ perform certain actions. To lớn find out, run a CHKDSK scan:

Go to lớn the Start menu and type “Command Prompt” (no quotes) in the search bar.
*
Right-click on Command Prompt in the search results and select Run as Administrator in the context menu.
*
Provide the password of your admin trương mục if the system prompts for it.Click the Yes button on the User trương mục Control dialog to lớn allow Command Prompt lớn make changes lớn your computer.Input the following command & press Enter on your keyboard to lớn run it:

chkdsk /r

*

When the process is complete, close the Command Prompt (Admin) window and restart your computer.

Fix 10: Start Your PC in Safe Mode

You can boot your PC into Safe Mode và try accessing the restricted file once more. Here’s how lớn boot Windows in Safe Mode:

Press the Windows + R keyboard combination to invoke the Run dialog.
*
Type “Msconfig” (no quotes) and press Enter or click the OK button to mở cửa System Configuration.
*
Go khổng lồ the Boot tab.
*
Mark the Safe Boot checkbox under the Boot Options section.
*
Click the Apply button & click the OK button.
*
Restart your system lớn boot into Safe Mode. Try performing the restricted action now và see whether it goes through.

To boot Windows normally again, mở cửa System Configuration, as shown previously. Mark the Safe Boot checkbox, & then click Apply > OK.

Fix 11: Disable Conflicting Programs

Some users reported that the ‘You need permission khổng lồ perform this action’ message was caused by their third-party antivirus program. Consider disabling your security ứng dụng temporarily and see if that will fix the issue. Follow the steps below:

Right-click on the Start button in the bottom-left corner of your screen or press the Windows + X keyboard combination to open the power nguồn User menu.Click on Task Manager.Go to the Startup tab and select your antivirus program. Then, click the Disable button to lớn prevent the program from starting automatically when you boot your PC.Restart your computer.Try performing the restricted action again. See if it goes through. Afterward, re-enable your antivirus or consider using the Windows built-in Microsoft Defender instead to protect your PC.

Fix 12: Reinstall the Problematic Program

Does the ‘You need permission to lớn perform this action’ message appears when you are trying lớn run an app? Are you logged in to lớn your admin tài khoản when this happens? If so, it’s difficult lớn tell what’s causing the permission issue. So, try reinstalling the app và see if that helps:

Press the Windows + I keyboard combination to xuất hiện the Settings app.Click the Apps tile on the Settings trang chủ page.Click on Apps và Features in the left pane.Now, go through the list of apps và locate the phầm mềm you are having trouble accessing. Click on it & click the Uninstall button.Restart your PC and reinstall the app. See if the problem is resolved.

If the issue persists, it’s likely that another program or process on your computer is the reason why. You can find out by running a clean boot. A clean boot will start Windows with a minimal mix of drivers and startup programs.

It is similar khổng lồ starting your system in Safe Mode. However, it gives you control over which services & programs run at startup so that you can sạc down the cause of your troubles.

Follow these steps to lớn get it done:

Sign in to Windows with your admin account.Open the Run dialog: Press the Windows + R combination on your keyboard.Type “Msconfig” (no quotes) & click the OK button to xuất hiện System Configuration.Go lớn the Services tab and mark the Hide all Microsoft Services checkbox. Then, click the Disable All button.Go to lớn the Startup tab & click the mở cửa Task Manager link.Switch to lớn the Startup tab in Task Manager and disable the startup items. That is, click on each one và click the Disable button.Close the Task Manager & click OK in System Configuration.Restart your computer. It will start in a clean boot environment. Then, try running your phầm mềm again. See if the ‘Need permission’ message will still appear. If the problem is resolved, it means that one of the disabled services or startup items was causing the conflict. To lớn find out which one, systematically enable them & restart your computer each time until you cannot run your app again. Then, you’ll know exactly the startup chiến thắng or service that was triggering the issue.

Fix 13. Clean Up the Registry

You should check for corruptions and invalid entries in the registry. They could be the source of your troubles. Lớn get this task done without harming your OS, we suggest running the Registry Cleaner tool in huynhhuunghia.edu.vn BoostSpeed.

*

It will safely remove và replace corrupt, invalid, & empty keys in the registry.