Jump to content


 


Register a free account to unlock additional features at BleepingComputer.com
Welcome to BleepingComputer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.


Click here to Register a free account now! or read our Welcome Guide to learn how to use this site.

Photo

Server 2008R2 HyperV Config Setting


  • Please log in to reply
3 replies to this topic

#1 diesel1218

diesel1218

  • Members
  • 12 posts
  • OFFLINE
  •  
  • Local time:12:31 AM

Posted 16 October 2015 - 10:32 AM

Hi I have been trying to get some help moving my hyperv configuration files to a new drive.  I am running Server 2008R2 I have a virtual machine that I have already moved the VHD files for to the new location.  However I can not get rid of the old drive because it is still pointing there for the configuration settings.  I found an article online http://blogs.technet.com/b/meamcs/archive/2012/03/14/solved-how-to-move-a-hyper-v-virtual-machine-without-exporting-it-first.aspx#pi140346=1

 

This show how to use mlink to point to the new location for the configuration settings however when I type the link that they have provided I get an error as an unrecognized command.  Am I typing something wrong?

 

This is how I am typing it pointing to my new location:

 

C:\ProgramData\Microsoft\Windows\Hyper-V\Virtual Machines >mklink 5CDB0134-C44E-4956-A9FE-D92BC99685A8.xml "U:\EMAIL2K10\Virtual Machines>\5CDB0134-C44E-4956-A9FE-D92BC99685A8.xml"

 

I am sure it is something stupid like an extra space or something missing.

 

Any help would be greatly appreciated. 



BC AdBot (Login to Remove)

 


#2 packetanalyzer

packetanalyzer

  • Members
  • 954 posts
  • OFFLINE
  •  
  • Gender:Not Telling
  • Local time:04:31 AM

Posted 16 October 2015 - 10:53 AM

diesel1218,

 

Are you typing

 >mklink 5CDB0134-C44E-4956-A9FE-D92BC99685A8.xml "U:\EMAIL2K10\Virtual Machines>\5CDB0134-C44E-4956-A9FE-D92BC99685A8.xml"

or are you typing

mklink 5CDB0134-C44E-4956-A9FE-D92BC99685A8.xml "U:\EMAIL2K10\Virtual Machines>\5CDB0134-C44E-4956-A9FE-D92BC99685A8.xml"

The command should not have a ">" as part of the command. The ">" should be part of the prompt and not something you type. Otherwise your command looks correct if you followed all of the directions on the TechNet article you linked to.

 

Have you considered deleting the VM (not the VHD) and recreating the VM which you would connect to the VHD where you moved it?


Edited by packetanalyzer, 16 October 2015 - 10:54 AM.


#3 diesel1218

diesel1218
  • Topic Starter

  • Members
  • 12 posts
  • OFFLINE
  •  
  • Local time:12:31 AM

Posted 16 October 2015 - 11:53 AM

The article shows the ">" in the command.  So yes I have been typing it. 

 

I was considering just deleting it and recreating it but this seems like a lot less hassle till I have been unable to get the command to run. 



#4 packetanalyzer

packetanalyzer

  • Members
  • 954 posts
  • OFFLINE
  •  
  • Gender:Not Telling
  • Local time:04:31 AM

Posted 16 October 2015 - 01:56 PM

diesel1218,

 

Please try the command again without typing ">" in the command. Your command should look like the following line:

mklink 5CDB0134-C44E-4956-A9FE-D92BC99685A8.xml "U:\EMAIL2K10\Virtual Machines>\5CDB0134-C44E-4956-A9FE-D92BC99685A8.xml"

Edited by packetanalyzer, 16 October 2015 - 01:57 PM.





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users