windows-server-2008 – 如何设置ExecutionPolicy:拒绝访问注册
发布时间:2021-05-19 16:04:57 所属栏目:Windows 来源:网络整理
导读:我正在以管理员身份运行 Windows Server 2008,我尝试将ExecutionPolicy设置为PowerShell v2的Remotesigned,如下所示: Set-ExecutionPolicy RemoteSigned 但是我收到了这个错误: Set-ExecutionPolicy : Access to the registry key 'HKEY_LOCAL_MACHINESOF
我正在以管理员身份运行 Windows Server 2008,我尝试将ExecutionPolicy设置为PowerShell v2的Remotesigned,如下所示: Set-ExecutionPolicy RemoteSigned 但是我收到了这个错误: Set-ExecutionPolicy : Access to the registry key 'HKEY_LOCAL_MACHINESOFTWAREMicrosoftPowerShell1ShellIdsMicrosoft .PowerShell' is denied. At line:1 char:20 + Set-ExecutionPolicy <<<< RemoteSigned + CategoryInfo : NotSpecified: (:) [Set-ExecutionPolicy],UnauthorizedAccessException + FullyQualifiedErrorId : System.UnauthorizedAccessException,Microsoft.PowerShell.Commands.SetExecutionPolicyComma nd 如何解决这个问题? 右键单击Powershell快捷方式,然后选择“以管理员身份运行”(编辑:52站长网) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |
站长推荐
- 开始使用gPodder吧,一个开源播客客户端
- 微软Windows11 Dev 22543.1000预览版上线 修复任
- Windows 11全新黑暗主题效果展示 升级只限定于加
- Linux内核的进程负载均衡机制
- win10系统官网下载安装方法
- active-directory – New-ADUser -Name Length太
- xaml – 如何在Windows Phone 8.1通用应用程序中
- Windows Admin希望从Linux(ubuntu)文件服务器开始
- windows-server-2008-r2 – Exchange 2010从多个
- Windows 7 PC可以远程管理Server 2012R2上的Hype
热点阅读