如果您在访问 Drives、Printer、Outlook、Excel、Office等时看到(Office)由于此计算机上的限制而取消了此操作(This operation has been canceled due to restrictions in effect on this computer ),请按照这些解决方案摆脱它。以下是解决此有时出现在Windows 10计算机上的安全问题的两种不同方法。
整个错误消息说 -
This operation has been cancelled due to restrictions in effect on this computer. Please contact your system administrator.
基本上,如果系统管理员对执行任何操作设置了一些限制,当您尝试执行这些操作时,您将看到此错误框。如果您是 PC 上的管理员,则很可能是某些安全软件设置了此限制。
如果您在此处看到此消息,您可以尝试一些操作。现在,对于这个问题,没有任何人可以为您提供单一的万能解决方案。
这篇文章只是给你一个工作方向。您需要查看消息何时出现,然后检查适用于您的系统的内容以及适合您的内容。在开始之前,首先创建一个系统还原点。
无论您在 Windows 10 上使用哪个帐户,在此 PC 中打开驱动器时,您都可以在屏幕上看到此错误消息。如果它发生在 C 或系统驱动器上,您将无法保存任何文件或导航到与此驱动器关联的任何文件夹。如果您在访问 Outlook、Word、Excel 等应用程序时收到此错误消息或限制,最好遵循该指南。但是,只有在打开驱动器时出现错误消息时,此特定教程才会让您消除错误消息。
有两种方法可以解决此问题。首先(First),您可以使用本地组策略编辑器(Local Group Policy Editor)。其次(Second),可以使用注册表编辑器(Registry Editor)。如果您使用注册表编辑器(Registry Editor),请不要忘记备份所有注册表文件(backup all Registry files) 并 创建系统还原点。
由于此计算机上的限制,此操作已被取消
要修复由于此计算机上的限制,此操作已被取消,请使用组策略编辑器(Group Policy Editor)按照以下步骤操作 -
- 在任务栏搜索框中搜索gpedit.msc。
- 单击编辑组策略(Edit group policy)。
- 导航到用户配置(User Configuration)中的文件资源管理器(File Explorer)。
- 双击阻止从我的电脑访问驱动器(Prevent access to drives from My Computer)。
- 选择未配置(Not Configured)。
- 单击应用(Apply)和确定(OK)。
让我们详细检查这些步骤。
首先,您将打开本地组策略编辑器(Local Group Policy Editor)。为此,gpedit.msc
在任务栏(Taskbar)搜索框中进行搜索,然后单击 搜索结果中的编辑组策略 (Edit group policy )。打开后,导航到此路径-
User Configuration > Administrative Templates > Windows Components > File Explorer
在您的右侧,您将看到一个名为“ 阻止从我的电脑访问驱动器”(Prevent access to drives from My Computer)的设置。双击它。它必须设置为 Enabled,这就是您收到错误的原因。选择 Not Configured,然后单击 Apply 和 OK 按钮以保存更改。
之后,尝试打开驱动器。
由于打开驱动器时的限制,此操作已取消
修复 由于打开驱动器的限制,该操作已被取消;跟着这些步骤-
- 按Win+R打开运行提示。
- 键入regedit并点击Enter按钮。
- 在 UAC 提示中单击是按钮。(Yes)
- 导航到HKEY_CURRENT_USER中的(HKEY_CURRENT_USER)资源管理器(Explorer)。
- 右键单击NoViewOnDrive并选择Delete。
- 单击“是”(Yes)按钮确认删除。
您必须在计算机上打开注册表编辑器 。虽然有多种方法,但您可以使用运行(Run)提示来快速完成。为此,请按 Win+R,键入regedit
,然后按 Enter 按钮。接下来,您将看到需要单击 Yes 按钮的UAC提示。(UAC)
在您的计算机上打开注册表编辑器(Registry Editor)后,导航到此路径 -
HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer
在您的右侧,您将获得一个名为 NoViewOnDrive的(NoViewOnDrive)REG_DWORD值。右键单击它并在上下文菜单中选择 删除 (Delete )选项。或者,您可以选择它并按键盘上的 Delete 键。
无论哪种方式,您都会找到一个确认窗口。单击(Click)“ 是” (Yes )按钮从注册表编辑器(Registry Editor)中删除该值。
之后,您可以毫无问题地访问所有驱动器。
其他故障排除建议
1]运行FixIt或重置IE
如果您在单击Microsoft Outlook(Microsoft Outlook)中的超链接时收到消息此操作已被取消,或者您的组织的政策阻止我们为您完成此操作,(This operation has been canceled due to restrictions in effect on this computer or Your organization’s policies are preventing us from completing this action for you)请运行此Microsoft Fix It。请检查它是否适用于您的版本。您还可以重置 Internet Explorer 设置,看看是否对您有帮助。
相关(Related):贵组织的政策阻止我们为您完成此操作(Your organization’s policies are preventing us from completing this action for you)。
2]检查组策略设置
运行gpedit.msc以打开组策略编辑器(Group Policy Editor)并导航到以下设置:
User Configuration > Administrative Templates
在这里,您将看到控制面板(Control Panel)、桌面(Desktop)、网络(Network)、共享文件夹(Shared Folders)、开始菜单(Start Menu)、系统等的(System)策略(Policy)设置。如果您在打开任何元素时收到此消息,您可能需要检查此处的设置,并了解其中是否已配置(Configured)。
例如,如果您在尝试打开命令提示符(Command Prompt)或注册表(Registry)时收到此消息,则必须分别禁用阻止访问命令提示符(Prevent access to the command prompt)和阻止访问注册表编辑工具(revent access to registry editing tools)设置。
当然,您必须以管理员身份登录,并且您的 Windows 版本必须随附GPEDIT。
3]重置所有组策略设置
如果您没有进行任何更改或不记得进行任何更改,您需要做的是识别(identify the Registry or Group Policy setting)影响您的注册表或组策略设置并进行更改。甚至可能将所有组策略设置重置为默认值,
4]重置Windows安全设置
将 Windows 安全设置重置为默认值,看看这是否适合您。如果没有,您应该返回到创建的还原点。
5]进一步排除故障
您可能还想看看这篇文章 -某些设置由您的组织管理。
请分享您的具体实例以及您如何为他人的利益设法解决问题。
This operation has been cancelled due to restrictions in effect
If you see This operation has been canceled due to restrictions in effect on this computer while accessing Drives, Printer, Outlook, Excel, Office, etc., follow these solutions to get rid of it. Here are two different ways to troubleshoot this security issue that sometimes appears on Windows 10 computers.
The entire error message says-
This operation has been cancelled due to restrictions in effect on this computer. Please contact your system administrator.
Basically, if a system administrator has placed some restrictions on carrying out any operation, you will see this error box when you try to carry out those operations. If you are the admin on your PC, it could well be some security software that has placed this restriction.
If you see this message here are a few things you could try. Now there is no single one-size-fits-all solution to this problem that anyone can offer you.
This post only gives you a direction to work. You need to see when the message appears and then check what applies to your system and which works for you. Before you begin, create a System Restore Point first.
Whichever accounts you are using on Windows 10, you can see this error message on your screen while opening a Drive in This PC. If it happens with C or system drive, you won’t be able to save any file or navigate to any folder associated with this drive. If you are getting this error message or restriction while accessing an app like Outlook, Word, Excel, etc., it is better to follow that guide. However, this particular tutorial will let you eliminate the error message only if it appears while opening a drive.
There are two ways to fix the issue. First, you can use the Local Group Policy Editor. Second, you can use the Registry Editor. If you use the Registry Editor, don’t forget to backup all Registry files and create a System Restore point.
This operation has been cancelled due to restrictions in effect on this computer
To fix This operation has been cancelled due to restrictions in effect on this computer, using the Group Policy Editor follow these steps-
- Search gpedit.msc in the Taskbar search box.
- Click on the Edit group policy.
- Navigate to File Explorer in the User Configuration.
- Double click on Prevent access to drives from My Computer.
- Select Not Configured.
- Click Apply and OK.
Let’s check out these steps in detail.
To get started, you will open the Local Group Policy Editor. For that, search for gpedit.msc
in the Taskbar search box and click on Edit group policy in the search result. Once opened, navigate to this path-
User Configuration > Administrative Templates > Windows Components > File Explorer
On your right-hand side, you will see a setting called Prevent access to drives from My Computer. Double-click on it. It must be set to Enabled, and that is why you are getting the error. Select Not Configured, and click the Apply and OK buttons to save the change.
After that, try opening the drive.
This operation has been cancelled due to restrictions while opening drives
To fix This operation has been cancelled due to restrictions while opening drives; follow these steps-
- Press Win+R to open the Run prompt.
- Type regedit and hit the Enter button.
- Click the Yes button in the UAC prompt.
- Navigate to Explorer in HKEY_CURRENT_USER.
- Right-click on NoViewOnDrive and select Delete.
- Confirm the removal by clicking the Yes button.
You will have to open the Registry Editor on your computer. Although there are several methods, you can use the Run prompt to do it quickly. For that, press Win+R, type regedit
, and hit the Enter button. Next, you will see the UAC prompt where you need to click the Yes button.
After opening the Registry Editor on your computer, navigate to this path-
HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer
On your right-hand side, you will get a REG_DWORD value named NoViewOnDrive. Right-click on it and select the Delete option in the context menu. Alternatively, you can choose it and press the Delete key on your keyboard.
Either way, you will find a confirmation window. Click on the Yes button to remove the value from your Registry Editor.
Following that, you can access all the drives without any problem.
Other troubleshooting suggestions
1] Run FixIt or Reset IE
If you receive a message This operation has been canceled due to restrictions in effect on this computer or Your organization’s policies are preventing us from completing this action for you when you click a hyperlink in Microsoft Outlook, run this Microsoft Fix It. Please check if it applies to your versions. You may also reset Internet Explorer settings and see if that helps you.
Related: Your organization’s policies are preventing us from completing this action for you.
2] Check Group Policy settings
Run gpedit.msc to open the Group Policy Editor and navigate to the following setting:
User Configuration > Administrative Templates
Here you will see Policy settings for Control Panel, Desktop, Network, Shared Folders, Start Menu, System and more. If you receive this message when you open any elements, you may have to check the settings here and find out if any of them have been Configured.
For instance, if you receive this message when you try to open the Command Prompt or Registry, you will have to disable the Prevent access to the command prompt and Prevent access to registry editing tools settings respectively.
You will, of course, have to be signed in as an administrator, and your Windows version must have shipped with GPEDIT.
3] Reset all Group Policy settings
If you made no changes or did not remember making any, what you will have to do is identify the Registry or Group Policy setting which affects you and change it. Maybe even reset all Group Policy settings to default,
4] Reset Windows Security settings
Reset Windows Security settings to default values and see if that works for you. If it does not, you should go back to the created restore point.
5] Troubleshoot further
You may want to also take a look at this post – Some settings are managed by your organization.
Do share your specific instances and how you managed to resolve the issue for the benefit of others.