1

我已经看到很多关于早期版本的 Windows 指向 RSAT 和 ntrights.exe 的帖子,但这些解决方案都不适用于 Windows 10。我正在寻找一个最好在 powershell 或批处理中的解决方案。

4

1 回答 1

2

好吧,我想通了。我最终不得不使用碳。运行后:

.\Carbon\Import-Carbon.ps1

我能够成功运行:

Grant-Privilege -Identity $username -Privilege SeServiceLogonRight

需要注意的是,本地安全策略管理器没有刷新按钮。您必须关闭并重新打开该工具才能查看对政策的外部更改。

于 2016-11-17T14:46:10.430 回答