Saturday, June 8, 2013

Mounting disks on a wim

Well another little bit changed in windows great is mounting wim files.  A wim (Windows Imaging File Format)  is the type of file that stores an entire hard disk.  Sometimes these need to be edited to insert files that will be copied to the hard disk during install.  Back in the day we used to use a program called imageX.  I don't think Malcolm had anything to do with it.  In 8 we will use the DISM (Deployment Image Servicing and Management) utility.

basic syntax is:
dism /Mount-Image /ImageFile:c:\users\cclose\desktop\image\factory.wim /index:1 /MountDir:c:\users\cclose\desktop\image\Mount
dism /Commit-Image /MountDir:c:\users\cclose\desktop\image\Mount

Here's a link to more information from Microsoft.
http://technet.microsoft.com/en-us/library/hh824814.aspx

MBR issues - Don't do this unless you know what you are doing!!!

Drive letters in WinPe will probably be different from what you see in windows - that is normal.

I would delete the bcd store and run the commands again. Yes you should be pointing them at the reserved system partition .

Otherwise, at cmd prompt, type:

diskpart

lis vol

( Look to see the drive letter for your main windows partition - if it is D then type as below, otherwise replace D with the letter diskpart gives for the main windows partition)

sel vol d

act

exi

bcdboot d:\windows /s d:

bootsect /nt60 all /mbr

restart the pc - you're good.

.Net said .No so this says .Youbetterorelsebuddy

 I was having trouble with .net framework install on new computers.  I'm not sure why it didn't work repeatedly, but found that if y...