我如何运行Windows Server Backup?

我将WS2012作为工作站操作系统运行。 我想使用Windows Server Backup将我内部硬盘上的所有内容备份到我的外部硬盘上。

Windows Server Backup在“本地备份”面板中显示如下所示的消息:

此计算机上未安装Windows Server Backup。 要从服务器pipe理器安装Windows Server Backup,请select“添加angular色和function”,然后按照向导selectWindows Server Backupfunction。

我已经使用这样的PowerShell脚本安装了该function:

Install-WindowsFeature Windows-Server-Backup 

你必须以pipe理员身份运行它。 作为用户,您将收到如下所示的权限错误:

 Install-WindowsFeature : You do not have adequate user rights to make changes to the target computer. If you are already a member of the Administrators group on the target computer, the changes might have failed because of security restrictions imposed by User Account Control. Try running Install-WindowsFeature in a Windows PowerShell session that has been opened with elevated rights (Run as administrator). At line:1 char:1 + Install-WindowsFeature Windows-Server-Backup + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : PermissionDenied: (@{Vhd=; Credent...Name=localhost}:PSObject) [Install-WindowsFeature], Exception + FullyQualifiedErrorId : Provider_UserIsNotAdmininistrator,Microsoft.Windows.ServerManager.Commands.AddWindowsFea tureCommand 

以pipe理员身份,您将收到如下输出:

 Success Restart Needed Exit Code Feature Result ------- -------------- --------- -------------- True No Success {Windows Server Backup} 

输出表示不需要重新启动,但我已重新启动以确保。

我错过了巫师为我处理的事情吗?

以pipe理员身份运行Windows Server Backup

您必须安装Windows Server Backupfunction才能使用该程序。

您必须以pipe理员身份运行Windows Server Backup,否则会收到误导消息。

备份所有计算机的数据通常是一项pipe理任务,所以程序应该要求pipe理权限是有意义的。

这种备份方法对于工作站设置很方便。 如果您在多用户环境中工作,或者没有pipe理权限,则可能需要使用用户级备份工具。

消息传递是误导性的

微软可以改善消息,以避免混淆。 例如,设备pipe理器在运行之前会向用户显示一条消息。 消息如下所示:

您以标准用户身份login。 您可以在设备pipe理器中查看设备设置,但是您必须以pipe理员身份login才能进行更改。

该消息明确表示设备pipe理器将其部分function限制于用户。