Quantcast
Channel: Hyper-V forum
Viewing all articles
Browse latest Browse all 8743

Passing credentials to VMConnect?

$
0
0

All,

I am tasked with developing a solution for a test automation solution on a Hyper-V platform.  The automated tests require the ability to to run tests that interact with the desktop of the VM.  These tests will run as part of the nightly build and deployment and as such there will not be individuals present to unlock/tend to the VM's.  My intent is to establish a VMConnect 'host' that will run some type of script on startup to launch VMConnect sessions to X number of VM's, login to a domain account and be ready to run these UI based automated tests.

Does anyone know this if this is possible with VMConnect or is this something that would need to be implemented via group policy on the VM's?  

Also, slightly off topic but I am having difficulties making a VMConnect connection when running via command line, running the app manually works great but when I run via command line I get this:

Hyper-V cannot find a virtual machine with the name '<machinename>'.  Verify that your user account has permission to access virtual machines.  Or use Run as Administrator and try again.

I've tried running from an administrator command prompt and using the runas command with the same results.

Any ideas?


Viewing all articles
Browse latest Browse all 8743

Trending Articles



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