繁体   English   中英

备份GPO错误

[英]Backup-GPO error

我试图备份我的域控制器上的所有GPO。 域控制器正在运行Server 2012 Standard Edition。 此外; 森林和域功能级别都在2012年。当我使用以下命令时

Backup-GPO -All -Path $env:StaticPath\$(Get-Date -format d)

我得到以下结果:

Backup-GPO : The specified server cannot perform the requested operation. (Exception from HRESULT: 0x8007003A)
At line:1 char:1
+ Backup-GPO -All -Path C:\Users\Administrator\Desktop
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Backup-GPO], COMException
    + FullyQualifiedErrorId : System.Runtime.InteropServices.COMException,Microsoft.GroupPolicy.Commands.BackupGpoComm 
   and

当我使用较少异国情调的路径时,也会发生同样的事情。 我在TechNet上找到了有关此问题的链接,但其中没有最终解决方案。 此外,升级架构已无用,因为2012年已经如此。

链接: http//social.technet.microsoft.com/Forums/windowsserver/en-US/1efa4d27-858e-4495-b1ea-9202eeb24cc3/backing-up-gpos-with-server-2012? forum = winserverGP

我正在运行Powershell 3.0。

谁能解释为什么会这样?

我发现将-Domain-Server开关添加到命令可以解决此问题。 相当奇怪,因为官方文档指出它们是可选的。 (如此处提供的示例所示:

http://technet.microsoft.com/en-us/library/ee461052.aspx

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM