Hyper-V 2012 - P2V via SCVMM fails...

NeonetTech used Ask the Experts™
We got a new server and want to migrate our old servers to the new and convert them into virtual servers.
The new server is Hyper-V 2012, currently we installed one Windows 2012 virtual server on it with System Center Virtual Machine Manager 2012 on it. The one machine we are trying to migrate over is a Windows 2008 R2 (roles: secondary AD, file server, database server for internal ticketing system). So we we went through the "Create Virtual Machine"-"Convert Physical Machine" wizard. We are selecting offline - because it is a domain controller, the wizard goes through, finds no errors, starts the job but then it gets hung up at 40% (or 33% if we select to start the vm after the conversion) and the error 3140 - it never reboots the server into WinPE.
When I check the event log on the W2008 server I see the following warning:
"Event ID 5605:
The root\scvmmp2v namespace is marked with the RequiresEncryption flag. Access to this namespace might be denied if the script or application does not have the appropriate authentication level. Change the authentication level to Pkt_Privacy and run the script or application again."

Google search on either gives no conclusive answer.
Error 3140 - people say that the VMM agent tries to install a boot image in the "system reserved" partition (100MB) but that is too small - and the recommendation is to copy the boot sector and boot image to the c-drive (e.g.: http://www.rozmazat.cz/articles/2011/08/22/vmm-2008-r2-sp1-error-3140-when-trying-to-offilne-p2v-ws2008r2.html).

I followed the steps - even went as far as deleted the 100MB partition to make sure the vmm agent has no way of trying to use that partition.

Then I read that resource intensive applications and antivirus applications should be shut down during the p2v migration - tried that no go.

But the warning about the encryption flag shows up every single time we try to run the migration.

I am not sure how to change the authentication level of the script that starts the process.

I am not sure what else to try - has anyone successfully migrated a Windows 2008 R2 server with SCVMM 2012 yet? Anyone ran into the same issue? Ideas? ;-)

Thank you for your help,

Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®

You need to turn-off database services. I had the same issue with P2V and once database services (i.e. SQL, MySQL, etc.) were stopped, the system P2V'ed fine.

Since this is your 2nd DC, I would suggest demoting (DC Promo) and running it (DC Promo) after P2V is completed to bring 2nd DC back online. This way, you can do P2V while server is running and file sharing can continue.


I did turn off all database servers - but I will double check tomorrow and verify. Not sure if I want to do the demote - since we have DFS running I am not without the file shares since the main server has the files as well.
Did you get the same error though - 3140 and the WMI warning?
I just ran into issue when converting, it kept failing on database and exchange server when doing the online P2V. I stopped the SQL service and tried which was successful but never had the DC role or File Share role. However, your obstacles are DC and Database, in my opinion.
Fundamentals of JavaScript

Learn the fundamentals of the popular programming language JavaScript so that you can explore the realm of web development.


I demoted the server to a member server and I am running an online conversion - it looks like it is going but it will take a few hours due to the amount of data stored on that server.
I will keep you posted.
After demoting it the online conversion worked - there were a few glitches afterwards with permissions Sophos Enterprise Console (wouldn't download updates anymore) and not being able to expand a partition beyond 2TB even though I converted it to a vhdx. I ended up creating a new virtual hard disk (also vhdx) with 4TB on a scsi controller (instead of IDE) which I was able to partition with 4TB. Then I had to copy the data over manually and remove the original virtual data disk.


the original question wasn't really answered (why the offline conversion wouldn't work and failed with error 3140) - plus there were a few extra things I noticed during the process that might help others.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial