Hyper-V Study Notes

Source: Internet
Author: User

Enable the Hyper-V permission for user management ~

Http://archive.msdn.microsoft.com/HVRemote/Release/ProjectReleases.aspx? ReleaseId = 3084

Download the configuration script ~

Copy to Hyper-V Server

Server operation:

Save the copied hvremote. wsf on disk D.

Create a user (the user name and password must be the same as those on the client)

Locate D: \ In cmd and execute the script:

Cscript.exe hvremote. wsf/add: computer name \ User Name

 

Client operation:

Copy to disk D

Run cscript.exe hvremote. wsf/mmc: enable

Open client, lie, firewall configuration that can be connected to MMC

Run cscript.exe hvremote. wsf/AnonDCOM: grant

Enable anonymous users to access DCOM

Restart the server ~

 10-second guide

 

Configuration

Where

Purpose

Commands

Client and Server both workgroup

Server

Create a local account (eg "john ")

UseNet 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

Primary Key/add: servername/user: servername \ account/pass

 

Client

Set firewall exception

Cscript hvremote. wsf/mmc: enable

 

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

Primary Key/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 ")

UseNet 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 primary key/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

Install the driver at the server command prompt

Microsoft PnP Tool

Usage:

--

Pnputil.exe [-f |-I] [-? |-A |-d |-e] <INF Name>

Example:

Pnputil.exe-a: \ usbcam \ USBCAM. INF-> Add the package specified by USBCAM. INF.

Pnputil.exe-a c: \ drivers \ *. inf-> Add all packages in c: \ drivers \

Pnputil.exe-I-a: \ usbcam \ USBCAM. INF-> Add and install the driver package

Pnputil.exe-e-> enumerate all third-party packages

Pnputil.exe-d oem0.inf-> Delete the package oem0.inf

Pnputil.exe-f-d oem0.inf-> force Delete package oem0.inf

Pnputil.exe -? -> Usage Screen

Change Password

Net user <user Name> *

Enter Password

 

Open firewall port

Netsh firewall portopening (TCP | UDP) <port>

Common TCP 80 3389 20 21 22 139 445

UDP 137 138

 

Add domain

Netdom join <computer>/domain: <domain Name>/userd: <username>/password :*

Windows 7 Service Pack 1 (SP1) Remote Server Management Tool

Http://www.microsoft.com/downloads/zh-cn/details.aspx? Displaylang = zh-cn & FamilyID = 7d2f6ad7-656b-4313-a005-4e344e43997d

After installation, go to control panel, program, enable/disable Windows function, and enable ~

 

Original article, reprinted Please note:Reposted from Seth's Blog by artificial ai

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.