I first tried to copy and run cleanmgr.exe (Disk Cleanup tool), but it has too many dependencies on DLLs which are not present in Core/Hyper-V Server.
So instead I deleted the directory manually.
First I removed all junction points and symbolic links. To do this I used junction.exe from SysInternals. Copy the exe into a directory in your path. I ran it to ...
Windows Server 2012 R2 & Windows 8.1
It turns out that Second Generation Hyper-V doesn't include the option to boot from physical CD/DVD. Only Generation one Have the option to boot from it.
*In previous versions of Hyper-V there was only one type of virtual machine. Hyper-V in Windows Server ...
The reason you're frustrated is because you're trying to do something that you shouldn't be doing.
If anyone is now saying, “wait, what about a SAN or a NAS for the file servers?”, well too bad.`
You're right. Too bad for you.
What you're trying to do cannot work. A cluster disk must be the same disk shared amongst cluster members. You can't ...
Add the target account credentials to the Windows Credential Manager from the command line and try reconnecting:
cmdkey /add:TARGET /user:TARGET\USER /pass
Where TARGET is the remote Hyper-V host name and USER is the username added as an Administrator to the Hyper-V server.
As an aside, after having struggled with this configuration myself, I highly ...
You really, really want to be able to easily identify which files belong to which virtual machine. Even if you lose access to the Hyper-V console.
This comes up when trying to restore a VM from backups. Or when Hyper-V forgets about all of your VMs and you need to import them. Or the VM config files are corrupt, and you have to recreate the VM and point ...
Run SCONFIG. Just type sconfig at the command prompt. Then choose option 6 or 7 (the exact option escapes me at the moment) for Windows Updates. You can change your Windows Update settings to install updates automatically, or you can download and install them manually, just like with the GUI.
sconfig comes with Server Core out of the box. In fact I ...
Open Performance Monitor (run as Admin) on your local workstation. Add counter, select counters from the hyper-v machine, Hyper-V Virtual IDE Controller or Hyper-V Virtual Storage Device, select counters and instances (VMs) as seems appropriate. You might have to fish around a bit to find the counter that makes the most sense to you.
There are some good ...
Enable remote management, on the server
Enable local admin account, on the server
Add matching admin account, on the client
Allow MMC & WMI through the Windows Firewall, on both
netsh advfirewall firewall add rule name="Microsoft Management Console" dir=in action=allow program="%windir%\system32\mmc.exe" enable=yes profile=private
netsh advfirewall ...
After over a year of waiting so as to prove the solution as valid, I'm finally able to post this answer.
Dell's default BIOS settings have C-States enabled, which puts the computer in low-power mode during idle times. This is what causes the VMs to spiral into 100% CPU usage on a Hypervisor host (VMWare, Citrix included).
The solution is to set the System ...
Increasing the vhdx doesn't increase the volume size inside the vm. So when you look at the c: drive size in the vm it will not change.
You need to open disk management and expand the volume to be the size of the vhdx. This won't instantly increase the file size on the host but it will show the extra available free space.
This link explains how to expand ...
If you would like to convert only the virtual disk, not entire VM, you can also use qemu-img for Windows: it's free, portable and it runs under CMD.
For example, to convert VHDX to VMDK:
qemu-img.exe convert FileSource-Image.vhdx -O vmdk FileDestination-Image.vmdk
Extracted from: http://www.sysadmit.com/2016/08/vmware-convertir-vhdx-en-vmdk.html
Fault Tolerant Shared PERC 8 Card Configuration — [...] The default cache policy for
virtual disks created in this configuration is write-through. In this
mode, write completion information is returned to the host after the
data is written to the disk.
is the ultimate performance killer. Change the cache policy to write-back if it is ...
200 Mailboxes falls under the "small installation" category. The performance of Exchange 2013 running as virtual machine is perfectly fine on modern hardware. I no longer have physical Exchange servers as a result. Having enough RAM is key. Disk I/O and CPU needs are extremely low.
Microsoft's own Exchange 2013 hardware guidelines are reasonable and outline ...
Hold Shift while you right-click "Hyper-V Manager", select "Run as different user", and enter credentials that have rights to manage Hyper-V.
Runas would also work if you use this syntax:
runas /user:domain\username /netonly "mmc virtmgmt.msc"
I don't know exactly what you mean by "Self Service" but if you're looking for the Self-Service Portal that used to come with System Center Virtual Machine Manager, it has been split into a separate product called System Center App Controller.
There is not (and never was) self-service functionality built into the tools that ship with Windows Server itself (...
You shouldn't use the SATA drive but it's not because of performance. Host system disk performance doesn't matter much. But since you don't have two 80GB SATA disks, you have no redundancy and that disk becomes a single point of failure for everything running on the server.
I have experienced the exact same performance issue with a VRTX with the Dual SPERC8. What I have done to work around this at the moment is, change the dual config to a single config. This way I am able to use write-back, which performs way way better.
The exact steps:
Remove the second SPERC 8 controller
Remove the second expander
Re-cable the internal ...
The term you are looking for is VDI - Virtual Desktop Infrastructure. It's a pretty wide topic - there are entire books written about it. But knowing that term should get you started on finding the appropriate guides.
From the appropriately named (and fairly SEO-friendly) TechNet article "What is Sysprep?":
Sysprep also enables you to prepare an image to be delivered to a
customer. When the customer boots Windows, Windows Welcome starts.
Then, follows a general notice about appropriate usage:
Sysprep must be used only to configure new installations of ...
Unless you're planning to do sort of a failover cluster with a pass-thru disks (and you're unlikely...) you need to wrap a Cluster Shared Volume (CSV) on top of your shared LUN.
Use Cluster Shared Volumes in a Failover Cluster
If will give you a ClusterStorage combined block/SMB3 share where you'll host all of your VM VHDX files.
The Hyper-V Parent Partition, or Management OS, is special within the hypervisor. If its virtual processors are runnable, they get a large boost in priority over guest VMs. This is because, in a supported Hyper-V configuration, the only thing the management OS does (statistically speaking) is I/O on behalf of guest VMs. If you install anything else in the ...
Obviously there is a performance penalty
Hah? Where is this magically supposed to come from? Hyper-V host is a Standard Core with some services not available for install. The different licensing paperwork will not magically make it faster.
One of our guys set up Server 2008 core a while ago
Hope it was a LONG time ago as this is a technology CURRENTLY ...
I used Peter H's answer and confirmed it does work, however I needed to do this on multiple servers, so I modified his code into a powershell script that can be executed either locally or via PS remoting from another machine. This is the .ps1 file:
# Script to remove windows.old after an upgrade
# Assumes path to sysinternals is in the PATH env variable
You can launch mmc with runas and then select the snap in e.g.
runas /user:AlternativeUsername mmc
It's worth reading this complete guide which will get you a nice shortcut too:
Running the Hyper-V Management Tools with Alternate Credentials
It is no longer required to remove the second SPERC controller to be able to use write-back instead of write-through as described in Erik's post. You can now disable the second PERC8 controller from the CMC. In the current firmware (1.35), the second disabled controller can be set as disabled and requires manual intervention to activate if the primary active ...