[Hyper-V] Hyper-V Remote Management Configuration Utility (HVRemote)

最近把 Hyper-V 的 Server 由 2008 升级到 Hyper-V Server 2012,这一升级最大的改变是 Hyper-V Server 变成 Server Core 的环境,只有简单的命令列模式,所有的图形接口都消失了,为了控制 Hyper-V Server 只好使用远端的 Windows 8 来管理这台机器。

另外因为 Server 不在加入网域,要使用命令列模式设定相关的权限开通等实在麻烦与繁琐,还好有一个好工具 HVRemote.wsf 这个好工具可以使用,真的可以简单快速的设定。

HVRemote 是由 John Howard 所撰写的,他的 blog 有详细的说明使用方式 John Howard - Senior Program Manager in the Hyper-V team

在 MSDN 也有相关的 HVRemote 使用说明,与下载连结,首页上面快速设定真的很方便喔!

MSDN 的 Hyper-V Remote Management Configuration Utility


Support for Windows Server 2012 and Windows 8

10th Sept 2012 - Coming very soon in version 1.x, currently completing testing. It is not recommended you use version 0.7 on these operating systems and it may leave your system misconfigured.

10-second guide

 

ConfigurationWherePurposeCommands
Client and Server both workgroup Server Create a local account (eg "john") Use net user /? or Computer Management
  Server Grant the user access cscript hvremote.wsf /add:accountname ***
  Client Allow Anonymous Logon remote DCOM access cscript hvremote.wsf /anondcom:grant
  Client Logon with matching local account. Ctrl+Alt+Del :)
  Client If passwords do not match cmdkey /add:servername /user:servername\account /pass
  Both Verify configuration for errors cscript hvremote.wsf /show /target:othercomputername
-------------------------      
Client workgroup, Server domain Server Grant domain account access cscript hvremote.wsf /add:domain\account ***
  Client Allow Anonymous Logon remote DCOM access cscript hvremote.wsf /anondcom:grant
  Client Set credentials for domain account cmdkey /add:servername /user:domain\account /pass
  Both Verify configuration for errors cscript hvremote.wsf /show /target:othercomputername
-------------------------      
Client domain, Server workgroup Server Create a local account (eg "john") Use net user /? or Computer Management
  Server Grant the user access cscript hvremote.wsf /add:accountname ***
  Client Allow Anonymous Logon remote DCOM access cscript hvremote.wsf /anondcom:grant
  Client Set credentials for local account Use cmdkey /add:servername /user:servername\accountname /pass
  Both Verify configuration for errors cscript hvremote.wsf /show /target:othercomputername
-------------------------      
Client and Server both domain Server Grant the non-admin user access cscript hvremote.wsf /add:domain\account ***
  Both Verify configuration for errors cscript hvremote.wsf /show /target:othercomputername



*** Restart server if this is the first time an account has been added. Not required for Windows 8 Client Hyper-V or Windows Server 2012

 


想在手机阅读更多Microsoft资讯?下载【香港硅谷】Android应用
分享到Facebook
技术平台: Nasthon Systems