Click here to Skip to main content
12,816,775 members (33,960 online)
Click here to Skip to main content
Add your own
alternative version

Tagged as


6 bookmarked
Posted 8 Oct 2012

Install Windows 8 from a Rusty 256 MB USB Stick

, 8 Oct 2012 CPOL
Rate this:
Please Sign up or sign in to vote.
Install Windows 8 from a rusty 256 MB USB stick

This is the fourth time I installed Windows 8. This time, I installed it on my personal notebook instead of a VHD, because Windows 8 is finally ready to market. So I started with downloading the enterprise edition from my MSDN subscription. Unfortunately, my USB drive died so I had no storage large enough to put the image on and boot from. So I started thinking to install it over the network. Luckily, I still had my rusty 10 year old 256MB USB drive which perfectly fits a Windows PE image. So I also downloaded the Windows 8 ADK to make a Windows PE boot image.

First, install the Windows 8 ADK. Then open a command prompt and, key in the following commands to create an image.

mkdir c:\winpe_amd64
call copype.cmd amd64 c:\winpe_amd64
Makewinpemedia /ufd c:\winpe_amd64 F:

The first command makes a directory on your c:\ drive and can be removed afterwards. The second command creates all the necessary files for a 64 installation. The third command copies the files to your usb drive (in my case F:) and makes it bootable. If you need a 32 bit installation, replace amd64 with x86.

Then, create a share on a PC in your network and extract the contents of the Windows 8 iso to the network share. Make sure you configure the security to allow everyone to access it. Also make sure your firewall responds to ping commands, this comes in handy when trying to connect to the share. I created a share called Win8.

Now it is time to boot from the Windows PE image, which in my case is on a small rusty USB drive.

Make sure your PC is connected to the network with a cable because your wireless is not supported natively on a bare Windows PE image. If you really have to do it over wireless, then you’ve to add wireless drivers to your image. You can probably find how to do it in the Windows ADK documentation.

So when booted, you get a command prompt. First thing you have to do is set up a network connection with your shared folder. First, we try to ping our computer that contains the share. Then, we set up a connection to the share.

net use z: \\\Win8

The first commands checks if our computer is available on the network (Will only work if you enable ping in your firewall). The second command connects your share to the z:\ drive.


With the first command, you navigate to the new created z: drive. When you key in the command dir, you’ll see your folder listed. You should see the file setup.exe. Now just execute it…


Your Windows 8 installation will start. Within a few minutes, you’ve installed Windows 8 and you are ready to go. There is only one thing left to do. Activate your product key. When you are having trouble to do so, you can use the following command on the command line. I got them from Gill Cleeren.

slmgr -ipk xxxxx-xxxxx-xxxxx-xxxxx-xxxxx

Just replace the xxxx with your own key.

When having trouble to find your command line in Windows 8, just hit the key combination Windows+F select applications and type in command. (Windows+F) is the way to search through the different kinds of contents on your Windows 8 machine.

If you want to install it on Vhd or a virtual machine, you can probably use one of my previous posts to do so:

Have fun using Windows 8.


This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


About the Author

Software Developer Atos
Netherlands Netherlands
I am a .NET Software Developer at Atos International. Architecture, CQRS, DDD, C#, ASP.NET, MVC3, HTML5, Jquery, WP7, WPF, ncqrs, Node.js

You may also be interested in...

Comments and Discussions

-- There are no messages in this forum --
Permalink | Advertise | Privacy | Terms of Use | Mobile
Web02 | 2.8.170308.1 | Last Updated 8 Oct 2012
Article Copyright 2012 by marcofranssen
Everything else Copyright © CodeProject, 1999-2017
Layout: fixed | fluid