ITJS2015 Posted July 17, 2019 Posted July 17, 2019 Hi All Please could anyone help one a conversion from gen 1 to gen 2 windows 10 VM I have tried to use the following below and i get a time out error, yes all unrestricted policies have been removed to i can run the powershell script. Do i need to edit this powershell script or should it just run on C drive. I have put in on the command line where it says VName next to it the name of the hyperv name but still no luck. https://code.msdn.microsoft.com/windowsdesktop/Convert-VMGeneration-81ddafa2 I hope someone knows a way of doing it. Thanks
3s-gtech Posted July 17, 2019 Posted July 17, 2019 I have used this script before with success. It was a Server 2008 R2 VM on ESXi that was Disk2VHD'd across as gen 1 Hyper-V, in-place upgraded to 2012 R2, then converted to gen 2. It's certainly been through some permutations! The script should just work as-is IIRC. Make sure it's running locally on that host, is run as admin or a privileged enough user, so usage is .\Convert-VMGeneration.ps1 -VMName "Convert me" -Path D:\Storage\Volume1 changing "Convert me" and the destination storage path (which needs lots of free space to re-create the disks).
ITJS2015 Posted July 17, 2019 Author Posted July 17, 2019 I Have my windows 10 image on a window 10 machine on hyperv so should this work ?
ITJS2015 Posted July 17, 2019 Author Posted July 17, 2019 I get a Terminated Message early Trace Status code 100202 message
3s-gtech Posted July 17, 2019 Posted July 17, 2019 The error doesn't have enough info around it for it to be helpful. You're going to have to look at the environment you're converting in and your VM itself (e.g. is the Z: drive used? Can I make other queries to Hyper-V through Powershell successfully? Do I have sufficient system resources?)
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now