This operation has been cancelled due to restrictions

Kailash Chandra Behera | Monday, October 11, 2021
operation has been cancelled due to restrictions

This operation has been cancelled due to restrictions in effect on this computer. Please contact your system administrator.

Sometimes when you are accessing a drive or try to run an application in your computer, you may see the above popup window with above error (This operation has been cancelled due to restrictions in effect on this computer. Please contact your system administrator.)

Here in this blog, we will discuss how to remove the error from your computer.

Region:

This error occurs due to restrictions in effect on this computer, when someone or something has blocked an application from running on the computer. On a corporate network, it may be a policy set by the administrator.

If you see this error in your personal computer, it’s almost always because a virus has restricted you from running programs by adding your application name into the registry.

Solution:

As discussed in the region section, there are two ways in which programs can be restricted in Windows.

The first is through the Registry. Programs can be kept from running by adding them to a key called DisallowRun in the Windows Registry. You need to remove your application name or drive name from the key to allow your application running in the computer or remove restrictions in effect on this computer. The key only you will find when application or applications are listed to restrict otherwise this key will not available in registry.

the operation has been cancelled due to restrictions in effect on this computer
operation cancelled due to restrictions on this computer

In the left side of the image, you can see my three applications name are added in the DisallowRun registry, That means system (computer) when you run these applications, you will get above error.

I have not added this name. may be malware software added these or system detected some malware and added these application names in the registry. to allow these application to be run in the system, i have to remove these application names from this registry key. In the below of this blog, how to remove the application name are given.

This operation has been canceled

The second solution is through Group Policy. Applications can also be kept from executing via Group Policy. This police needs to be removed.

If you see this error in your personal computer then first try the Registry method, and if it doesn’t fix the problem then try the Group Policy method.

Remove application from Registry:

To remove these restrictions, follow the following steps.

  1. Open the registry edit window, to open the registry window follow the below steps.
    1. Press Windows and R key togther
    2. Type regedit and press enter key
  2. Find the HKEY_CURRENT_USER key then expand it
  3. Find the Software insite above key and expand it
  4. Expand the Microsoft then Windows
  5. Again expand the CurrentVersion then Policies then Explorer
  6. Insight Explorer, find the key called DisallowRun and select it
  7. Check the application name in right panel and delete it(Check the third image, give aboe)

Note:- if you don't find the DisallowRun key insight registry make sure you have reached the correct registry path(\HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\)

Remove application from Group Policy:

To remove these restrictions, follow the following steps.

  1. Open the Local Group Policy Editor window, to open the it window follow the below steps.
    1. Press Windows and R key togther
    2. Type gpedit.msc and press enter key
  2. Expand User Configuration.
  3. Expand Administrative Templates.
  4. Select the System.
  5. In the right-hand side locate a setting called "Don’t run specified Windows applications".
  6. Double-click that setting, The Don’t run specified Windows applications window will appear.
  7. Find the "Not Configured" check box and select it.
  8. Finally click on the OK button and restart the computer.

Thanks