How to license XP Mode on Hyper-V - hyper-v

Like many others I have upgraded from Win7 to Win10 and have run into problems trying to activate the license for the XP Mode VM in Hyper-V. The XP Mode VM starts up just fine but I get prompted for activation during logon.
I don't need to use it in 'XP Mode', just a regular XP VM will do just fine.
I understand that XP Mode used some special licensing that was tied to the Win7 host which is fine & I realise to use it elsewhere I would need an XP license - I actually have a valid (separate) XP Pro license but this doesn't work on the XP VM in Hyper-V!
(If only I had never used XP Mode under Win 7, and just used a normal XP VM in virtual PC I would never have had this problem!)
So I was wondering whether there is any way to change the XP Mode VM in Virtual PC to not be 'XP Mode' ie. just a regular XP VM? I am sure that this would work just fine then when moving to Hyper-V.

After much time reading other info around the web I managed to sort this out, this is what I did:
Copied an IE8 installation package on to the hard drive of the xp VM in virtual pc (NB see further down)
Uninstalled the virtual pc extensions from the XP VM in VP
Created a new machine in Hyper-v and attached the VHD from VP
I inserted a retail xp pro cd and started the xp vm
I chose the option to repair the windows installation and went through that wizard. I entered the new retail key when prompted.
When rebooting the xp vm I was prompted to activate windows but this resulted in a blank desktop screen, this is where the IE8 installation comes in!
Restart the xp vm, hit F8 and choose safe-mode.
type 'explorer' & hit enter
Navigate to the IE8 installation and install it
Reboot the XP VM normally
When the machine starts, I was prompted to activate windows but this time the activation window showed up just fine.
I activated windows and it was good to go.
My windows 7 XP Mode vm is now running as a regular vm under Hyper-V on windows 10.

Related

Microsoft Hololens Emulator installation issue

Unable to install Microsoft Hololens Emulator and throws an error midway:
And the link is of no help as well as it takes to another link showing a solution for "How to enable Hyper-V for the emulator for Windows Phone 8"..
You need to have a machine that can handle creating Virtual Machines, So you need an I3 or better and your Bios has to allow VM creation, and you need to be running windows 10 Professional to get access to Hyper-V

Hyper-v: unable to create new virtual machines

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

creating virtual machine from ISO inside hyper-v manager

I am trying to create a virtual machine based on Windows Server 2012 R2 ISO file inside Hyper-V.
I create the VM and chose add "Connect a virtual harddisk later". I started the VM and went to Media and clicked on sett in a disk and chose Win 2012 ISO file. It started installing Windows 2012, I enered product key and chose server with GUI. when it comes to choose wich type of installation do you want, I chose Custom and clicked next. Now I cannot find any device to install the windows server 2012. I click on load driver and "select the driver to install" but it is empty. I click on Browse what ever I choose it says "No signed device drivers were found. Make sure that the installation media contains the correct drivers, and then click ok". I can assure that the iso file is not curropt.
You do need to create a virtual hard drive to install Windows. Here are instructions for creating a Windows VM with Hyper-V complete with installing from an ISO.

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.

Windows Mobile Development on MacBook Pro?

I am a frequent Windows Mobile application developer in need of a new development laptop.
I am considering a MacBook or Macbook Pro running either Fusion from VMWare or Parallels Desktop. This will give me the option to port my applications to the iPhone depending on what MS does with WM 6.5 and 7.
Has anybody tried doing Windows Mobile development using Microsoft Windows Mobile Device Center (or ActiveSync) and VS2008 on the MacBook Pro using one of these virtual machines? Does the device emulator work properly? What about debugging a Windows Mobile device over a USB cable?
In general, do most USB drivers (non HID) designed for Windows work under these virtual machines?
I do cross platform (iPhone & Windows Mobile) development all the time on a Macbook (13" unibody). Have Visual Studio 2008 running on Windows XP on a Parallels VM. The USB pass through works perfectly for debugging too.
I would suggest you have 4Gb ram (minimum) if doing this, but works very well.
VMware's USB passthrough option works quite well. I have no personal experience using it to attach Windows Mobile devices to a guest OS though.