[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

Running sysprep on a VHD without booting to it?

Posted on 2011-02-15
11
Medium Priority
?
2,037 Views
Last Modified: 2012-05-11
Good afternoon,

I have taken a VHD of a Windows XP laptop, which I am hoping to add to our Hyper-V cluster. However, when creating the VHD, I forgot to sysprep the laptop first. As a result, unsurprisingly the VHD bluescreens and restarts when I try to mount it using the Virtual PC facility on Windows 7 to test it.

My question is this - is it possible to run sysprep on a VHD file which I cannot boot to? I realise that I could just create the VHD again, but I would like to find out if it's possible to run sysprep on the VHD.

Thanks in advance.
0
Comment
Question by:Titonhw
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 3
  • 2
11 Comments
 
LVL 5

Expert Comment

by:anil_kumar137
ID: 34904043
Hi, Sysprep doesn't care about the underlying technology. It will work on physical or virtual hardware.
Please find the link which could help you...

http://www.windowsnetworking.com/articles_tutorials/Creating-Sysprep-Image-Library-Virtual-PC.html
0
 

Author Comment

by:Titonhw
ID: 34914473
Thank you for your response. I think you may be misunderstanding what I am asking.

I cannot boot the virtual machine. When I start the VHD file, the virtual machine blue screens and restarts itself. I need to be able to sysprep the VHD file without starting the VHD file. Is this possible?

0
 
LVL 5

Expert Comment

by:anil_kumar137
ID: 34917096
I am really not sure of that hope it will not work if the machine is not switched on, its almost like like a HDD. Anyhow i will have a search on it.
0
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 
LVL 5

Expert Comment

by:anil_kumar137
ID: 34917251
Forgot to mention Sysprep can only run on the machine which is live, which will make the machine for the imaging.
0
 

Author Comment

by:Titonhw
ID: 34926280
Thank you for your time anyway. I will leave this question open and hope that someone else can shed some light on it.
0
 
LVL 17

Expert Comment

by:James Haywood
ID: 34962141
It shouldn't matter too much if you have sysprepped or not. How did you create the VHD?
0
 

Author Comment

by:Titonhw
ID: 34962522
A roundabout way really. I used the VMWare VCentre Converter tool to create a VMX file from it, and then converted that to a VHD using a tool called VMDKConvert.

I think the image has been created successfully, otherwise presumably it woudn't boot at all. I'm just not sure how to get around this bluescreen.

So sysprepping the laptop before creating the VMX file would make no difference?
0
 
LVL 17

Accepted Solution

by:
James Haywood earned 450 total points
ID: 34962733
Sysprepping an XP machine only removes machine specific information, it the hypervisor that deals with the hardware side. I've done quite a few XP/2003 machines to a vhd file directly and not had a problem.

I think you probably need to create a vhd directly from the laptop using something like disk2vhd
0
 

Author Comment

by:Titonhw
ID: 35067960
Thanks hhaywood000, I'll give that a go instead.
0
 

Author Closing Comment

by:Titonhw
ID: 35322563
I believe that the method I was using to create the VHD was at fault. I didn't get a solution to repairing the VHD that I had created, hence the B grade, but I did use Disk2VHD instead which worked perfectly. Many thanks to those who offered their suggestions.
0

Featured Post

Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

It is only natural that we all want our PCs to be in good working order, improved system performance, so that is exactly how programs are advertised to entice. They say things like:            •      PC crashes? Get registry cleaner to repair it!    …
Introduction Windows 2012 is here - it is upon us, and I hope that like me, you will upgrade your Hyper-V to the new version which has been promised to be a lot more stable, flexible and powerful than its predecessor in Windows 2008 R2.  Setting up…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…

649 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question