Vista Installation von USB


Based on:

Solution for Updating the BIOS on Windows Vista x64 Machines

As I blogged about the other day, one of the biggest frustrations I've had with Vista x6 has been with updating the BIOS on my Ferrari 5000. BIOS providers haven't realized that BIOS upgrades happen on 64-bit machines too, and have apparently been in a a hole for the last 5 years. I tried a whole bunch of things, including downloading 3 separate DOS-based flashers by Phoenix Technologies. When my Windows 98-based USB boot keys didn't work, I knew I'd have to bring out the big guns.

So here, for your reading enjoyment, is the Definitive Guide to creating a Windows Vista Bootable USB Key. You'll need a key with a minimum of 256MB to make this happen.

* Download and install the Windows Automated Installation Kit. * If the key is not already formatted FAT32, then do so. * Copy everything in the „C:\Program Files\Windows AIK\Tools\PETools\x86“ directory (except for the „EFI“ folder, ESPECIALLY if you only have a 256MB key) to the root of the key. This is IMPORTANT. „bootmgr“ must be in the root, and „boot“ muse be a 1st level folder. * Open an Administrative command prompt, navigate to the USB key, and run „bootsect /nt60 X:“, where X is the letter of the USB key. This will initialize the Vista boot loader on the USB key. * Create a folder on the USB key for the 32-bit Windows-based flash utility, and copy all the BIOS files to it. * Make sure there is at least 64MB of free space left on the key. If there is not, redo steps 2-5 on a bigger key. * Reboot your computer to the BIOS settings menu and adjust the settings so you can boot to the USB key. * Reboot again, and select the USB key as your boot device. * After several minutes, you'll be presented with the Aurora background and a command prompt. Drive X is the WinPE environment. Your USB key will be the next in line after your hard drives and DVD, respectively. Navigate to the Windows flashing executable, and run it.

If you have a bigger key, you can add other utilities to it, as long as they are stand-alone apps. I'm still working on an easy tutorial for installing a full-fledged copy of Vista to a microdrive. More on that later.

Anyway, there you have it. Now you have a 32-bit solution for BIOS updates on 64-bit machines. Thanks to for the basic instructions that led me on the right track.



Anschließend sind nur noch wenig Schritte notwendig, um das Vorhaben zu realisieren. So muss die Kommandozeile aufgerufen werden und dann folgende Befehle eingegeben werden, um den USB-Stick korrekt zu formatieren und zu partitionieren: Enorm wichtiger Hinweis, bevor Sie weiterlesen: Die Befehle setzen voraus, dass der angeschlossene USB-Stick als „drive 1“ von Windows erkannt wird! Um sicher zu gehen, geben Sie in der Kommandozeile „diskpart“ ein und anschließend den Befehl „list disk“. Unter „Datentr“ sehen Sie die Ziffer, die dem eingelegten USB-Stick zugewiesen ist! Die Zeile „select disk 1“ muss dann entsprechend angepasst werden! * diskpart * select disk 1 * clean * create partition primary * select partition 1 * active * format fs=fat32 * assign * exit Anschließend muss der Inhalt der kompletten Windows-Vista-DVD nur noch auf den USB-Stick kopiert werden, was der Befehl Xcopy (DVD-ROM-Laufwerksbuchstabe):\*.* /s/e/f (USB-Stick-Laufwerksbuchstabe):\ erledigt. Jetzt muss der Rechner nur noch das Booten von USB-Laufwerk zu lassen, so dass bei eingelegtem USB-Stick die Installationsroutine von Windows Vista startet. Die Installation des Betriebssystems sollte nun innerhalb von wenigen Minuten erfolgen.



Format the USB flash memory drive to FAT32 file system

Run CMD.EXE and type the following command. Note: This set of commands assumes that the USB flash drive is addressed as “disk 1″. Double check that by doing a list of the disks (type “list disk”) before cleaning it).

* diskpart * select disk 1 * clean * create partition primary * select partition 1 * active * format fs=fat32 * assign * exit

2. Copy Windows Vista’s DVD ROM content to the Flash Drive

Type in command to start copying all the content from the Windows Vista DVD to your newly formatted high speed flash drive.

* xcopy d:\*.* /s/e/f e:\

3. Setup your computer BIOS to boot from USB Drive

4. Install Windows Vista from flash memory drive

After finish the above step. you can try to view how fast the installation of windows vista can be completed. Let us know how you feel if whether installing windows vista on flash memory drive compare the installation window vista on DVD media.

WAIK Stuff

* Mount: „c:\programme\Windows AIK\Tools\x86\imagex.exe“ /mountrw d:\vistape\winpe.wim 1 d:\vistape\mount * Unmount: „c:\programme\Windows AIK\Tools\x86\imagex.exe“ /unmount d:\vistape\mount /commit * CreateCD: copy d:\vistape\winpe.wim d:\vistape\iso\sources\boot.wim /y „C:\Programme\Windows AIK\Tools\PETools\oscdimg.exe“ -n -bd:\vistape\ d:\vistape\ISO d:\vistape\vistape_x86.iso * Add Driver (when mounted): peimg /inf=DRIVE:\Temp\Driver\FOLDER\*.inf /image=DRIVE:\Temp\Mount

Custom Windows CD


WAIK - Custom Windows PE ISO

Hallo zusammen,

Mit dem WAIK ist es möglich ein custom Windows PE ISO zu erstellen. Ich habe hier untenstehend mal eine kurze Doku der benötigten Befehle aufgelistet…

Create PE Environment cd „C:\Program Files\Windows AIK\Tools\PETools“ call copype.cmd x86 c:\Install\pe

Mount WIM cd „C:\Program Files\Windows AIK\Tools\x86“ imagex /mountrw c:\Install\pe\winpe.wim 1 c:\Install\pe\mount

Adding Packages cd „C:\Program Files\Windows AIK\Tools\PETools“ peimg.exe /install=WinPE-HTA-Package c:\Install\pe\mount\Windows peimg.exe /install=WinPE-Scripting-Package c:\Install\pe\mount\Windows peimg.exe /install=WinPE-XML-Package c:\Install\pe\mount\Windows

Adding ImageX copy „C:\Program Files\Windows AIK\Tools\x86\imagex.exe“ c:\Install\pe\iso\ xcopy „C:\Program Files\Windows AIK\Tools\x86\Servicing“ c:\Install\pe\iso\Servicing /s

Adding Drivers peimg.exe /inf=C:\Install\Drivers\vmmouse\vmmouse.inf c:\Install\pe\mount\Windows peimg.exe /inf=C:\Install\Drivers\scsi\smscsi.inf c:\Install\pe\mount\Windows peimg.exe /inf=C:\Install\Drivers\video\vmx_svga.inf c:\Install\pe\mount\Windows peimg.exe /inf=C:\Install\Drivers\vmxnet\vmware-nic.inf c:\Install\pe\mount\Windows peimg.exe /inf=C:\Install\Drivers\vmxnet\vmxnet.inf c:\Install\pe\mount\Windows

Prepare the Image peimg /prep c:\Install\pe\mount\Windows

Commit Changes imagex /unmount c:\Install\pe\mount /commit

Replace Boot.wim copy c:\Install\pe\winpe.wim c:\Install\pe\ISO\sources\boot.wim

Create ISO File oscdimg.exe -n -bC:\Install\pe\ c:\Install\pe\ISO c:\Install\pe\winpe_x86.iso

Windows7 WAIK


Adding drivers to WDS Images with Windows 7 AIK

by cj on Oct.11, 2009, under Howto


I have been doing a lot of work lately on deployments of Windows 7 (Yes, companies are jumping on board already since they sat on their hands during the Vista years). Some of the new features of Windows Deployment Services in Server 2008 R2 are really nice, especially the driver package management. However, it is somewhat limited in flexibility as the drivers can only be applied to deployed images based on a few very inflexible filters. If there are some drivers that you want to apply directly to an image, you have to resort to the command line. In my case, I was actually creating a WDS boot CD (which is not as easy as Microsoft’s directions) using the directions here: .

The problem comes in with the Windows 7 Automate Installation Kit because some of the commands I was familiar with have been done away with. This is not to say is is less feature packed, instead the peimg command has been rolled in with a few others under dism. Here is how you can use dism even more powerfully than peimg.

Screen shot 2009-10-10 at 10.38.28 AM

As you can see, DISM has a number of options when it comes to making changes to images either in offline file-structure format or mounted (online) .wim files. The option we want to focus on here is the /Add-driver switch. The nice thing about DISM is that at any point in making a command, you can put a /? switch after what you have and it will tell you what further options you have at this point and even gives some examples.

You will notice that doing a /add-driver /driver:c:\whatever /recurse will search a given directory for drivers and add all of them, recursing through any sub directories. This is useful for a situation where you have a driver installer that you unzipped instead of installing and you want to add all of the different drivers for different architectures or OS versions to an image. The resulting DISM command then looks like this:

dism /image:f:\winpe /add-driver /driver:f:\drivers\LAN /recurse

That’s all there is to it! Then you just follow how to commit the changes to the image you were working on.

Screen shot 2009-10-10 at 10.53.01 AM :2008, 7, AIK, automated installation kit, WDS, windows, windows deployment services

(16279 views) vista_install_from_usb.txt · Zuletzt geändert: 2009/10/19 10:46 von terminar