Remotely manage hyper-v on server core

Source: Internet
Author: User


Remote Management of hyper-v Hyper-v hardware requirements on server core: three requirements for www.2cto.com-Based on x64: windows Server virtualization is available only in Windows Server 2008 Standard Edition, Enterprise Edition, and data center edition of x64. This is related to the operating system-hardware-assisted Virtualization: requires a specific CPU with Virtualization options, including Intel VT (vandpool Technology) or AMD Virtualization alization (AMD-V, codenamed "Pacifica ") CPU of the function. -Hardware Data Protection (DEP) is enabled (if the CPU supports Server 2008, it is enabled by default ). When installing Server core on Windows server 2008 or 2008R2, select server core mode. The other steps are the same. After the installation is complete, install Hyper-v. 1. first, use bcdedit on the Server Core to change the startup configuration and run the following command: bcdedit/set hypervisorlaunchtype auto. Note: If this setting has not been configured before, after running the preceding command, server Core needs to be restarted. 2. then, run the following command to install Hyper-V start/w OCSetup Microsoft-Hyper-V and restart this Server Core to complete the installation, hyper-V must be restarted to complete installation. Then run the oclist command to check whether the role Hyper-V has been installed. Hyper-V cannot create and manage virtual machines under the command line. Therefore, after installing Hyper-V on the Server Core Server, use another Windows 2008 server with Hyper-V management interface or a machine with Hyper-V Manager installed to create and manage virtual machines. Microsoft Remote Server Administration Tools can be found http://www.microsoft.com/downloads/en/default.aspx Search for the corresponding OS download. Currently, only Windows Vista SP1 or Windows 7 are supported.) You still cannot remotely connect to Hyper-v on server core to create a VM. Some operations are required. Perform the following operations on the server. 1. run the following command to enable remote management on Server Core: netsh advfirewall firewall set rule group = "Windows Remote Management" new enable = yes 2. run the following command to enable remote desktop (Remote Desktop Management is convenient) cscript \ windows \ system32 \ scregedit. wsf/ar 0 cscript \ windows \ system32 \ scregedit. wsf/cs 0 3. run the following command to restart the Server Core machine to make these configurations take effect: Shutdown/r/t 0 4. copy HVRemote. download wsf to the server here ( http://cid-dc4b33af243b1b5c.skydrive.live.com/self.aspx/.Public/hvremote.wsf ) 5. find HYRemote in the command line. enter the following command for the location of wsf: net user username */add // add an account for remote management. You can also use the original administrator cscript hvremote. wsf/add: accountname username: Copy hvremote. wsf to client 1. find hvremote in the command line. where wsf is located, enter the following command cscript hvremote. wsf/anondcom: grant // allow anonymous access to remote DCOM 2. cancel 3. log on with an account with the same name as the service (create a new account on the client) 4. cscript hvremote. wsf/mmc: enable // open the mmc firewall port 5. cscript hvremote. wsf/show/target: othercomputername // test whether communication can be performed (also on the server side)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.