Win 8.1 pro, Hyper-V
Hi Scripting Guys,
Situation:
Hyper-V is not starting a VM automatically even though in settings it is set for "Always start this virtual machine automatically".
Observations/what I've tried:
If I cold boot, the VM doesn't start If I warm boot (restart), the VM starts If after a cold boot I restart VMMS via services or command line, the VM starts
I tried to use a Delayed Start for VMMS, but it doesn't seem to be a service that can be delayed.
To date, none of the normal Hyper-V forums seem to have a suggestion for this problem.
What I want to try:
I'd like to setup a script in the Local Group Policy Editor to run on startup to see if 'manually' starting the service at a later point in the boot cycle will result in VMMS properly starting the VM automatically.
Problem:
"net start VMMS" is a command that requires administrator privileges.
If I understand correctly, the UAC prompt always shows up for pretty much any script that calls for an administrator level command such as 'net start' and I understand why this is by design and that if one is purposely running such a script one can always choose to Run As Administrator. But during startup that's not the case. Are there any exceptions to the UAC rule for the Local Group Policy Editor which is designed to run during startup, or is the UAC rule present even then?
Thanks.
- Edited by Alan Wheeler 15 hours 29 minutes ago updated text