Win USB
Home_link Tutorial_link Download_link Faq_link Kontakt_link german_language_linkenglish_lanuage_link


Tutorial 3 (Release 0.6.111)

Urheberrechtshinweis:
Wir weisen Sie hiermit ausdrücklich daraufhin, dass die folgende Anleitung nur bei Windows XP mit einer gültigen Windows-Lizenz angewendet und betrieben werden darf. Microsoft untersagt bei handelsüblichen Endanwenderversionen (System-Builder-Pakete) die Parallelnutzung auf mehreren PCs. Zudem verhindert der Aktivierungszwang, im Gegensatz zu dem Windows mit Firmen-Lizenz, den Betrieb von XP auf mehreren Rechnern. Dies schließt allerdings nicht aus, dass Sie als Anwender Ihre Windowsversion auf Ihrem USB-Stick nutzen können. Es ist Ihnen auch erlaubt, Ihr WinUSB nach dem Betreiben auf Ihrem PC, auf einem anderen Computer laufen zu lassen. Die Parallelnutzung entsteht lediglich beim gleichzeitigen Betrieb von mehreren Computern mit einer Windowsversion.


Hinweis:
Leider ist das Tutorial zur Zeit nur in englisch. Wir arbeiten momentan an einer deutschen Fassung. Falls Sie mit der englischen Version Verständnisprobleme haben, schauen Sie doch einfach nocheinmal zu einem späteren Zeitpunkt vorbei...
Haben Sie noch keinen USB-Stick? 
Dann nutzen Sie unseren Partner:

Systemvoraussetzung
Windows XP (gültige Lizenz)
USB-Laufwerk (mind. 1GB)
oder
USB-Stick (mind. 1GB)
Release
0.6.529
Unterstützte Systeme
Windows XP SP1
Windows XP SP2
Windows Server 2003

Tutorial 3 (Release 0.6.111)
Author: Dietmar Stölting,
11.01.2006,
Germany


Hinweis: Ein USB-Stick ist nicht unbegrenzt nutzbar. Er besitzt eine Lebensdauer von ungefähr 100.000 Schreibzugriffen. Die Lebensdauer ist allerdings von Hersteller zu Hersteller unterschiedlich. Hochgerechtnet bedeutet dies, dass ein USB-Stick ungefähr 60 Tage bei einer täglichen Benutzung von 8 Stunden hält. Aus diesem Grund empfehlen wir eine USB-Festplatte. Erhältich ist diese Hardware beispielsweise bei unseren Partnern (siehe Banner). Mit einem Klick unterstützen dieses kostenlose Angebot.




Step 1
1.) (Testing the capability of USB-booting on your computer)

  • Set all Bios entries for USB as enabled.

  • Copy the three files ntdetect.com, ntldr and boot.ini to the USB device you want to boot from. The content of the boot.ini should be:

[boot loader]
timeout=30
default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS
[operating systems]
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional1"
multi(0)disk(0)rdisk(0)partition(2)\WINDOWS="Microsoft Windows XP Professional2"


The USB device from which you want to boot can be a USB harddisk (best device for testing) with FAT16, FAT32 or NTFS (compressed) it has to be partitioned and the first partition has to be set active. Using an USB-Stick a minimal capacity of 1GByte is normally required. It is possible to use a 256mb USB-Stick, but this is more problematic and inhibits/ blocks any software update or installation of any other software due to the lack of memory cache.

Never use the USB-Stick without the EWF filter.

Having followed all the instructions, you should now be able to see the bootmenu. This means your computer supports the USB-boot.



ElectronicScout24 -  Der Marktplatz für Elektronik

Step 2
2.) (Installing a new XP Version on your harddisk)

  • Install a new XP (SP1 or SP2) or Windows Server 2003 again on your harddisk.
    (It is possible to copy your working XP to the USB device, but we prefer in this case a new installation.)

The XP installation works best, if your IDE harddisk is complete formatted or new.
Caution: No other harddrive or USB device should be connected! Do not install any other drivers than from your XP CD. This could be done later on.





Step 3
3.) (Copying and customising the new XP installation)

  • When the new XP installation is working, disable the page file. (Whether the page file can stay on your USB device, is not certain until now.)

  • Connect the USB device to your computer with the new installed XP.

  • Copy and past this new XP to your USB device. (By using another XP installation or BartPE.)
    Do not copy recycled data and system volume information.

  • Replace the ntdetect.com on the USB device by the modified version. It is not needed on all computers but it is more safe to do so.

(If you have installed XP SP2, you also have to replace all USB drivers usb*hci.sys, usbhub.sys,
usbstor.sys, usbport.sys and usbd.sys in USB device folder WINDOWS\system32\drivers by the XP SP1 drivers.)



ElectronicScout24 -  Der Marktplatz für Elektronik

Step 4
4.) (Backing up and adapting the Registriy)
  • Create a new folder named "Rettung" in the config folder on the USB XP and copy the Registry hive system into it.

  • Delete the key "mounted devices" in "otto".

  • Delete the key "HKLM\otto\ControlSet001\Control\CriticalDeviceDatabase".

  • Copy the following text, create a new file "otto.reg" an paste the text into the new file:







Step 5
5.) (Installing "otto.reg" and adapting it a second time)

  • Install "otto.reg" via double click.
    For Windows Embedded you need a different otto.reg as CriticalDecviceDatabase which you can copy and paste from here.
    If the general entries (here WD160BB) do not work on your system, you may put the Vid and Pid names and the HardwareID of your special USB device manually to the CritiacalDeviceDatabase) We additionally show you how to do these steps in the extra tutorial.

  • Go to HKLM\otto\ControlSet001\Services and change the following setting:

    usbehci : Change start = 3 to start = 0
    Change Group = Base... to... Group = System Reserved

    usbohci : (if the key is there, if not go to next usbhub)
    Change start = 3 to start = 0
    Change Group = Base... to... Group = System Reserved

    usbhub : Change start = 3 to start = 0
    Change Group = Base... to... Group = System Reserved

    USBSTOR : Change start = 3 to start = 0

    Build a new key Group (REG_SZ) (this key is present for the other usb entries)
    Group = System Reserved

    usbuhci : Change start = 3 to start = 0
    Change Group = Base... to... Group = System Reserved


  • Export "otto" as hive to folder "config" of your USB device.

  • Update "otto" in the registry. It can be done by closing the registry and restarting it again.

  • Copy hive "otto" to folder "Rettung".

  • Delete hive "SYSTEM".

  • Rename "otto" to "SYSTEM".

  • Search on your USB device in the "windows/inf folder for the following files an delete them:
    • usb.pnf
    • usbport.pnf
    • usbstor.pnf

  • Open all three "*.inf" instances of the three files you deleted an set in each of them the LoadOrderGroup to System Reserved ONLY for "usbhub", "usbehci", "usbohci", "usbuhci".

    Set StartType = 0 ONLY for "usbhub", "usbehci", "usbohci", "usbuhci", "usbstor".

  • Generate key "LoadOrderGroup" for "usbstor" and set it as in "System Reserved" mode.

  • Shut the computer down.


    ElectronicScout24 -  Der Marktplatz für Elektronik

    Step 6
    6.) (Booting from the USB device)

    • Disconnect all your other harddrives, except the USB device.
    • Reboot (XP boots from your USB device!)

    • Make a backup directly from your USB device, in case any errors might occure later on.

    If the USB device does not work, you can also try the special feature.

    Dietmar



    Additional:
    A Tutorial for the EWF Filter is avaible from SFiorito.

    For the Hitachi Microdrive Filter, that shows your USB-Stick as non-removable harddisk, search within the forum and you will get all the required information.

    Test your WinUSB, whether it can boot from other computers, but always make a backup of your USB device before!





    Additional
    WinUSB ist ein kostenloses Tutorial, dass von Dietmar Stölting geschieben wurde. Das System und somit auch das Tutorial wird täglich weiterentwickelt. Leider hat der Autor nicht unbegrenzt Zeit, sodass er auf Hilfe von Anderen angewiesen ist. Wenn Sie Hinweise oder Ratschläge zu WinUSB, dann schicken Sie doch einfach eine Email. Vielen Dank für Ihre Unterstützung.

    Wir hoffen, dass das Tutorial hilfreich war. Es wäre nett, wenn Sie uns unterstützen und eine kleine Spende geben könnten. Klicken Sie einfach auf den Paypal-Spenden Button oder gehen Sie auf Kontakt, um die Überweisungsinformationen zu erhalten. Danke!


    Vielen Dank für Ihren Besuch auf www.WinUSB.de



    Noch keinen USB-Stick? Dann nutzen Sie unseren Partner:
    ElectronicScout24 -  Der Marktplatz für Elektronik