`

Hyper-V Server 2012 安裝

阅读更多

原本照著 以免費版Hyper-V Server 2012建立虛擬化環境 做,後用Windows 8 裝了遠端伺服器管理工具 仍然無法控制,試了很多次才成功。
在Server上已經下指令:

netsh advfirewall set all profiles settings remotemanagement enable
netsh advfirewall firewall set rule group="遠端服務管理" new enable=yes
netsh advfirewall firewall set rule group="遠端桌面" new enable=yes
cscript %windir%\system32\scregedit.wsf /AR 0
cscript %windir%\system32\scregedit.wsf /CS 0
winrm quickconfig –q

英文版是 

netsh advfirewall set all profiles settings remotemanagement enable
netsh advfirewall firewall set rule group="Remote Administration" new enable=Yes
netsh advfirewall firewall set rule group="Remote Desktop" new enable=yes
cscript %windir%\system32\scregedit.wsf /AR 0
cscript %windir%\system32\scregedit.wsf /CS 0
winrm quickconfig –q

為何還是不行呢?又 找到 Manage Hyper-V Server 2012 Remotely 和 Remotely Manage Hyper-V Server 2012 Core,原來是Windows 8也要做相對的權限設定,要再下 cmdkey /add:<ServerName> /user:<UserName> /pass:<password> 等等,實在太麻煩了。

要簡化權限設定得用 Hyper-V Remote Management Configuration Utility (hvremote.wsf),怎麼設定要看底下這張表:

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


其中有個弔詭的地方,就是兩台(Client與Server)的網路設定,在用 cscript hvremote.wsf /show /target:othercomputername 看的時候會警告的話,得加到 %windir%\system32\drivers\etc\hosts 這個檔,再重新加入到伺服器管理員,這時候才能遠端管理。

接下來,就可以快樂的玩Hyper-V 3.0了!

分享到:
评论

相关推荐

    Hyper-V Server 2012 故障转移集群搭建

    2. Hyper-V Server 2012安装注意事项 - 在安装Hyper-V Server 2012之前,需要确保服务器CPU的VT技术已经开启,即在服务器的BIOS设置中找到CPU相关选项,将Virtualization Technology设置为Enabled,以便实现虚拟化...

    原创 通过SCVMM 2012 R2对x86服务器网络批量部署Hyper-V server 2012 R2

    V server 2012 R2,在基于 Windows Hyper-V 技术的虚拟化应用场景下,可以通过 Microsoft SCVMM BareMetal 部署实现批量部署 Hyper-V 主机,并且自动完成将 Hyper-V 主机加入域,启用 HyperV 角色,添加到 SCVMM 中...

    Windows Server 2012 Hyper-V

    ### Windows Server 2012 Hyper-V 架构与特性详解 #### 一、Hyper-V 组件架构概览 **Windows Server 2012 Hyper-V** 的整体架构旨在为用户提供一个高性能、高可用性和高度可扩展的虚拟化平台。Hyper-V 是 ...

    Hyper-V Server 2012 R2服务器配置

    ### Hyper-V Server 2012 R2 服务器配置详解 #### 一、Hyper-V Server 2012 R2 概述 Hyper-V Server 2012 R2 是微软发布的一款专用于虚拟化的服务器操作系统,其核心功能是提供了一个高性能、高可用性的虚拟化平台...

    Hyper-V 集成服务安装盘

    本人提取Windows Server 2012 r2上的Hyper-V集成服务安装盘,亲测可用。 若发现鼠标点击虚拟机画面出现“未在远程桌面会话中捕获到鼠标”,多半是未安装集成服务,需完成操作系统安装后,将本安装盘挂载安装。

    hyper-v安装部署

    安装Hyper-V Server 2012时,需要注意服务器CPU必须支持Intel VT或AMD-V技术,这是运行hypervisor的基础。安装过程通常包括选择语言设置,接受许可协议,以及选择自定义安装或默认的快速安装选项。 总的来说,Hyper...

    Hyper-V的集成服务安装盘

    在Windows Server 2016中,Hyper-V作为一个强大的虚拟化解决方案,提供了许多增强功能。然而,有时用户在创建或管理虚拟机时可能会发现缺少“插入集成服务安装盘”这个选项。这可能是由于以下几个原因: 1. **默认...

    使用Hyper-V Server创建Linux虚拟机

    - 安装Hyper-V Server,并配置必要的网络设置。 2. **创建Linux虚拟机**: - 使用Hyper-V Manager或PowerShell命令创建新的Linux虚拟机。 - 配置虚拟机的基本属性,如处理器数量、内存大小等。 3. **安装Linux...

    Hyper-V Server问题解决

    ### Hyper-V Server 故障转移群集安装与配置详解 #### 一、Hyper-V Server 故障转移群集概述 **Hyper-V Server** 是微软推出的一款高性能、高灵活性的虚拟化平台,它允许用户在同一物理硬件上运行多个操作系统实例...

    hyper-v server 种子

    hyper-v server 种子hyper-v server 种子hyper-v server 种子hyper-v server 种子hyper-v server 种子hyper-v server 种子hyper-v server 种子hyper-v server 种子

    利用Hyper-v搭建虚拟服务器,在winserver2012r2上边安装sqlserver2107 developer、ssms数据库管理工具的安装配置和使用

    本章节主要介绍如何在Windows Server 2012 R2环境中安装Hyper-V管理器。Hyper-V是微软提供的一种服务器虚拟化技术,它可以在一个物理服务器上同时运行多个操作系统,为用户提供灵活、高效的服务。 **步骤详解:** ...

    Win10 Hyper-V集成服务安装盘(vmguest.iso)

    Win10 Hyper-V集成服务安装盘(vmguest.iso),Win10 Hyper-V 专用vmguest.iso,虚拟机安装WinXP、Windows Server 2003 专用。Hyper-V集成服务安装盘,解决hyper-v无法捕获鼠标,捕获鼠标错误,未能捕获到鼠标的问题,加载...

    Windows Server 2012 R2 Hyper-V虚拟化常见异常处理方法总结

    最近给客户做一台Hyper-V虚拟化服务器,本着对于Microsoft的爱,信心满满的安装了一套Windows Server 2012 R2 Hyper-V,可Microsoft好像不太爱我!!异常多多! 问题一:虚拟机内存占用100% 虚拟机开机内存占用正常...

    Hyper-v Server 2016部署及管理手册.docx

    * 使用 Hyper-V Server 2016 RC 光盘引导,选择安装语言、时间和货币格式、键盘和输入法 * 接受许可协议,选择安装类别 Hyper-V Server 2016 是一个功能强大且灵活的虚拟化产品,适合中大型企业的虚拟化需求。

Global site tag (gtag.js) - Google Analytics