最新文章专题视频专题问答1问答10问答100问答1000问答2000关键字专题1关键字专题50关键字专题500关键字专题1500TAG最新视频文章推荐1 推荐3 推荐5 推荐7 推荐9 推荐11 推荐13 推荐15 推荐17 推荐19 推荐21 推荐23 推荐25 推荐27 推荐29 推荐31 推荐33 推荐35 推荐37视频文章20视频文章30视频文章40视频文章50视频文章60 视频文章70视频文章80视频文章90视频文章100视频文章120视频文章140 视频2关键字专题关键字专题tag2tag3文章专题文章专题2文章索引1文章索引2文章索引3文章索引4文章索引5123456789101112131415文章专题3
当前位置: 首页 - 正文

Hyper-V远程管理指南)

来源:动视网 责编:小OO 时间:2025-09-26 00:17:49
文档

Hyper-V远程管理指南)

Hyper-VRemoteManagementConfigurationUtility关于HVRemotereducesthemanualconfigurationstepsneededforHyper-VRemoteManagementdowntoafewsimplecommands.HVRemotecandiagnosecommonconfigurationerrors.HVRemoteislocaleneutral,althoughoutputisinEnglishonly.HVRemo
推荐度:
导读Hyper-VRemoteManagementConfigurationUtility关于HVRemotereducesthemanualconfigurationstepsneededforHyper-VRemoteManagementdowntoafewsimplecommands.HVRemotecandiagnosecommonconfigurationerrors.HVRemoteislocaleneutral,althoughoutputisinEnglishonly.HVRemo
Hyper-V Remote Management Configuration Utility

关于 

HVRemote reduces the manual configuration steps needed for Hyper-V Remote Management down to a few simple commands. 

HVRemote can diagnose common configuration errors. 

HVRemote is locale neutral, although output is in English only. 

HVRemote can configure all combinations of workgroup and domain joined clients and servers. 

10分钟手册 

Configuration Where PurposeCommands
Client and Server both workgroup 

ServerCreate a local account (eg "john") 

创建一个本地帐号(如 john)

Use net user /? or Computer Management

使用net user命令或计算机管理器,如net user john pass /add

删除账号:net user 用户名 /delete

把用户加入管理组:net localgroup administrators 用户名 /add

ServerGrant the user access 

给账号授权

cscript hvremote.wsf /add:accountname

如 cscript hvremote.wsf /add:ohn   (完成后需重启) 

ClientAllow Anonymous Logon remote DCOM access 

允许匿名远程DCOM访问

cscript hvremote.wsf /anondcom:grant
ClientLogon with matching local account

使用相同的账号登陆(这个账号名服务器上相同)

Ctrl+Alt+Del
ClientIf passwords do not match

保证这个账号的口令同服务器上这个账号的密码相同。

cmdkey /add:servername /user:servername\\account /pass

使用命令net user 用户名 新密码

ClientSet firewall exception cscript hvremote.wsf /mmc:enable
BothVerify 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
Client Set firewall exception cscript hvremote.wsf /mmc:enable 
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 
Client Set firewall exception cscript hvremote.wsf /mmc:enable 
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(完成后需重启)

Client Set firewall exception cscript hvremote.wsf /mmc:enable 
Both Verify configuration for errors cscript hvremote.wsf /show /target:othercomputername 
*** Restart server if this is the first time an account has been added.

Supported Servers: 

Windows Server 2008 SP1 with Hyper-V RTM update applied (KB950050), Core & Full installations 

Windows Server 2008 SP2, Core & Full installations 

Microsoft Hyper-V Server 2008 SP1 (already contains Hyper-V RTM update) 

Microsoft Hyper-V Server 2008 SP2 

Windows Server 2008 R2, Core & Full installations 

Windows Server 2008 R2 SP1, Core & Full installations 

Microsoft Hyper-V Server 2008 R2 

Microsoft Hyper-V Server 2008 R2 SP1 

Supported Clients: 

Windows Vista Business, Enterprise and Ultimate x86 & x, SP1 and SP2, with KB952627 applied 

Windows 7 Professional, Enterprise and Ultimate x86 & x with RSAT installed and Hyper-V tools feature enabled 

Windows Server 2008 SP1 with Hyper-V RTM update applied (KB950050), x86 and x 

Windows Server 2008 SP2 x86 and x 

Windows Server 2008 R2 

Windows Server 2008 R2 SP1 

Command summary 

Please see the documentation for more information - below is not a complete list of all command line options, just the most commonly needed commands. Commands should be run from an elevated command prompt. 

If the default scripting engine is already CScript, you can run each command exactly as shown in the table. To change the default scripting engine to cscript, run cscript //h:cscript. Alternately, launch each command using the longer format: cscript hvremote.wsf command

Applicability Operation Command 
Server Grant account access hvremote /add:domain\\account (Domain) or hvremote /add:account (Workgroup) 

Server Revoke account access hvremote /add:domain\\account (Domain) or hvremote /add:account (Workgroup) 

Both Display settings hvremote /show 
Client Display settings and test server connectivity hvremote /show /target:servercomputername 
Server Display settings and test client connectivity hvremote /show /target:clientcomputername 
Both Display help hvremote /? 
Client Add firewall exception for MMC hvremote /mmc:enable 
Client Permit ANONYMOUS LOGON remote DCOM access hvremote /AnonDCOM:grant 
Client Deny ANONYMOUS LOGON remote DCOM access hvremote /AnonDCOM:revoke 
Installation 

Save HVRemote.wsf from the Downloads tab to a directory on the local disk (eg c:\\HVRemote)

Cannot connect to root\\cimv2

文档

Hyper-V远程管理指南)

Hyper-VRemoteManagementConfigurationUtility关于HVRemotereducesthemanualconfigurationstepsneededforHyper-VRemoteManagementdowntoafewsimplecommands.HVRemotecandiagnosecommonconfigurationerrors.HVRemoteislocaleneutral,althoughoutputisinEnglishonly.HVRemo
推荐度:
  • 热门焦点

最新推荐

猜你喜欢

热门推荐

专题
Top