Hyper-v: unable to create new virtual machines - permissions

As recently as Tuesday I've been able to create virtual machines using Microsoft Hyper-V virtualalization software and thus far I've created 3.
All running Win2K12 server with SQL Server as a lab environment for setting up mirroring and replication (all through a legally obtained license, as part of the MS partner program).
The specs of my work laptop are:
Windows 10 Pro
16 gigs of ram
i7-6700HQ #2.60GHz
NVidia GTX 960M
As of yesterday I was not able to create any new virtual machines, with the following
I find this very strange: I've nog been fumbling with rights and/or permissions on my machine.
My troubleshooting log:
A quick check in the local policies tells me the Administrators still have
local log on rights,
Turning all the existing virtual machines of doesn't help,
Windows Defender and Hitman Pro can't find any abnormalities,
Rebooting doesn't help ;)

"This issue occurs because the NT Virtual Machine\Virtual Machines special identity does not have the Log on as a Service right on the Hyper-V host computer. Usually, the Virtual Machine Management Service (VMMS) replaces this user permission at every Group Policy refresh to ensure it is always present. However, you may notice that Group Policy refresh does not function correctly in certain situations. "
https://support.microsoft.com/en-us/kb/2779204
Solution in CMD:
gpupdate /force

Related

Hyper-V Disk Creation on a Different Host

I'm beginning to think this is not possible but I have to ask. I have a Windows Server 2012R2 Datacenter server acting as a PDC and I have the Hyper-V role installed. This server has 15T of disk space but not a lot of CPU or RAM. I want to use it as a disk drive storage server for my VM Guest drives.
I also have a Server 2019 Core server that has more CPU power and 32G of RAM, but very little storage space. I want to use this server as my VM host machine, but I want to build all the storage on the 2012R2 server, but everything I have tried has failed. As expected, I can create VM guests if both the machine and disk is on this server, but if I try to create the disk on the other server it fails with an error similar to "Failed to create the virtual hard disk".
Is it just not possible to create the guest machine and disk on separate servers? Is this because of the 2012R2 and 2019 server differences? Is it possible and I just don't have the disk share setup properly?
Hyper-V is all new to me, it is a learning lab and I have a lot to learn. I've spent hours reading and going through articles but I just haven't found what I'm looking for yet. I think it's time I reach out to the experts and see it it is even possible first.
Thanks,
Tom
I can successfully create a guest if both the guest machine and disk are on the Host. When I try to create the disk on a a different host, I get the "Failed to create the virtual hard disk" error. I'm trying to maximize the use of the resources I have by splitting CPU/RAM on one host and Disk on another, but I am beginning to think it is not possible.

Can the Lotus Designer 8.5.3 FP6 client run on Windows Server 2012 Standard VM

The overall picture that I am trying to achieve is for me and three other people to connect remotely to a client's network and use Lotus Designer 8.5.3 FP6 to access the client's Domino servers. We will each have our own logons to the client's Citrix environment which runs a Windows 7 desktop, then using Remote Desktop concurrently connect to PC(s) within the client's network to run Lotus Designer from there. (Lotus Designer is not available on the Citrix desktop.)
The issue is that the client is wanting to avoid having four separate physical PCs set up waiting for us to log in. They have Windows Server 2012 Standard virtual machines available.
First question: Can the Lotus Designer client 8.5.3 FP6 run on Windows Server 2012 Standard VM? I know that it is not officially supported, but is there any reason why it wouldn't work?
If it can run, then the second question: Is it possible for all four people to use remote desktop to concurrently log in to one Windows Server 2012 Standard VM, which has a separate instance of Lotus Designer 8.5.3 FP6 installed per user? (and of course run the separate instances of Designer concurrently) Or would we need four separate Windows Server 2102 Standard VMs?
Thanks for any light that can be shed on these questions.
First of all: Designer 8.5.3FP6 will run on Windows Server 2012 although not officially supported.
To start the designer concurrently you need to "fake" a multiuser- installation:
Before installing create an extra drive, e.g. by using "subst".
You might need to do this twice, once for the user himself, once in an elevated prompt, so that installer can access it.
e.g. subst D: C:\NotesUserA
Then you install program and data directory into D:
After that you copy C:\NotesUserA\IBM\Notes to C:\NotesUserB\IBM\Notes, C:\NotesUserC\IBM\Notes, and so on.
In loginscript make sure, that for every user the right Folder is mapped as "D:".
That way it should be possible to start Notes concurrently in different sessions.

Concurrent Remote Desktop Connection on VM in Server 2012

I am new to Server and VM things. I recently have the following scenario:
I have 1 physical server that has server 2012 R2 installed on it.
My task is to setup two windows 7 VM environment by hyper-v for testing.
Since there are more than two people accessing the VMs in the future. I know the existing user is kicked when another user login to the VM. Is there any ways to configure this such that both users can access without being kicked? (without violating the terms)
I heard about remote desktop service and did some research on it. However, I do not know if it would fit on this scenario. If it fits, can you explain how it will work?
If none of that work, I am thinking my last plan will be setting up more VMs for the group to use.
Thanks
You will have to first add Hyper-v role in your server from server manager.
Since you are planning to add two virtual machines, you must assign 2 static IPs to each of the VMs.
To run concurrent two RDPs in windows 7, you can install this patch in your VM that has windows 7 OS. Once you have added the patch restart the VM and you will be able to access VM with 2 different user concurrently.

Hyper-V Server Core Guest OS Install

I am new to Hyper-V and Server Core but I am stumped as to how to install a guest OS from an ISO using only PowerShell.
I have downloaded the Hyper-V Server ISO and installed it on my server. It only installs Server Core and does not give me the option for a full GUI option. I configured its network settings, etc and all looks ok. So Server Core installed properly and Hyper-V feature is enabled. I can use PowerShell to create a VM with VHDX and link my Guest OS ISO to it. When I start the VM there is no console UI to install the OS.
How are you supposed to install a guest OS with no console interface to setup the OS?
Note, there is no option under this configuration to enable the OS GUI as some posts have suggested.
First, please don't confuse "Server Core" with "Hyper-V Server". "Server Core" is an installation mode of Windows. Among other things, it can be converted to GUI mode, which is why people keep telling you to just turn the GUI on. Hyper-V Server looks like Server Core but it is not Server Core.
For your actual problem, you're not going to find a simple out-of-the-box solution. You could work up a complete unattended installation process. You could set up a Windows Deployment Services server and have it install via PXE boot. I think some of the third-party Hyper-V management solutions allow you to connect to the console of a VM from within the local Hyper-V Server.
Hyper-V Server was designed with headless operation in mind. It was expected that you would use it to configure and perform maintenance on the management operating system and, if desired, the virtual machines as containers. The guest operating systems themselves were not really meant to be managed from within Hyper-V Server. What it's expected that you'll do is use a full GUI, whether another copy of Windows Server or a Windows desktop operating system running Remote Server Administration Tools to remotely connect to Hyper-V Server and manage its VMs.

Disk2vhd Hyper-V server question

Hello all I have a backed up about 30 servers using disk2vhd and now I have built my first of many hyper-v severs I did not realize this is all command line I did download CoreConfigurator and that does have some functionality I have been looking for. My question is how do I get the VHD files to run a Vitual Machines? its all command line I tried via vbs to mount the VHD's and I have not been able to any help on this would be great!
Thanks!
If you are using servercore, You maybe can do everything from the command line but I always prefer to have one computer running a Non server core version of windows 2008 to be the management server. You will load up Hyper-V manager on the non server core box and manage your Hyper-V server.
To have no "management" servers or desktops on your network will be a big pain IMO for management.
Using Hyper-V Manager you can quickly load the VHD's as VM's.
So load up Hyper-V Manager on a desktop PC on your localnet, and use its connect option to connect to your servercore. (Make sure your firewall settings are ok on servercore using coreconfig)