小编Pey*_*man的帖子

管理员组中的用户无法使用 PowerShell 远程处理执行管理任务,只有管理员可以

我正在使用 Windows Server 2016(工作组)并在其上启用了 powershell 远程处理。只有默认管理员帐户才能执行需要管理权限的任务,例如

Get-Service
Get-DnsServerZone
Run Code Online (Sandbox Code Playgroud)

当我这样做时,我收到错误access denied 。我可以使用 powershell 远程连接到它并执行一些类似的操作get-process

备注:无论我创建什么用户(是的,我将它们添加到管理员组)。我也将其添加到远程管理用户中。我使用 Hyper-V 沙箱虚拟机执行此操作,但它在我的生产服务器中根本不起作用。我还尝试通过在 PSSessionConfiguration 的 SDDL 权限中添加特定用户 SID 来修复它,但它也不起作用。这是 PSSessionConfiguration (我使用的用户名是despot,服务器名称是phantom12

Name          : microsoft.powershell
PSVersion     : 5.1
StartupScript :
RunAsUser     :
Permission    : NT AUTHORITY\INTERACTIVE AccessAllowed, BUILTIN\Administrators AccessAllowed, BUILTIN\Remote
                Management Users AccessAllowed, phantom12\despot AccessAllowed

Name          : microsoft.powershell.workflow
PSVersion     : 5.1
StartupScript :
RunAsUser     :
Permission    : BUILTIN\Administrators AccessAllowed, BUILTIN\Remote Management Users AccessAllowed, phantom12\despot
                AccessAllowed

Name          : microsoft.powershell32
PSVersion     : 5.1 …
Run Code Online (Sandbox Code Playgroud)

powershell user-permissions user-accounts windows-server-2016

4
推荐指数
1
解决办法
1022
查看次数