Quantcast
Channel: Hyper-V Remote Management Configuration Utility
Viewing all articles
Browse latest Browse all 37

UPDATED WIKI: Home

$
0
0

About

    • 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.
If you find HVRemote useful, please drop me an email through my blog, or add a comment to this post :)

Support for Windows Server 2012 and Windows 8

28th March 2013. Version 1.06 is the first public version which includes Windows Server 2012 and Windows 8. Note that only local and domain accounts have been tested and verified, not Microsoft accounts. If using Windows Server 2012 or Windows 8, you should use this version, NOT version 0.7. I am treating this release as a 'Release Candidate' purely because it has not undergone exhaustive verification on down-level operating systems. However, there are no known issues at this time.

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

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
    • Windows Server 2012 Core & Full installations (Version 1.x or later)
    • Microsoft Hyper-V Server 2012 (Version 1.x or later)
    • Windows 8 Client Hyper-V (Version 1.x or later)

Supported Clients:

    • Windows Vista Business, Enterprise and Ultimate x86 & x64, SP1 and SP2, with KB952627 applied
    • Windows 7 Professional, Enterprise and Ultimate x86 & x64 with RSAT installed and Hyper-V tools feature enabled
    • Windows 8 Pro and Enterprise x86 and x64 with Hyper-V Management Tools feature enabled (Version 1.x or later)
    • Windows Server 2008 SP1 with Hyper-V RTM update applied (KB950050), x86 and x64
    • Windows Server 2008 SP2 x86 and x64
    • Windows Server 2008 R2
    • Windows Server 2008 R2 SP1
    • Windows Server 2012 (Version 1.x or later)

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

ApplicabilityOperationCommand
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 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)

Disclaimer


Although I work for Microsoft and am a Program Manager in the Hyper-V team, I must point you to the disclaimer on my blog, the disclaimer in the documentation, and the license conditions on this site before use. HVRemote and the associated documentation are provided "as-is". You bear the risk of using it. No express warranties, guarantees or conditions are provided. It is not supported or endorsed by Microsoft Corporation and should be used at your own risk.

Thanks,
John.

Viewing all articles
Browse latest Browse all 37

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>