Jesin's Blog

Welcome to the Portal of Technology

  • Facebook
  • GitHub
  • RSS
  • Twitter
  • Home
  • Categories
    • Domains
    • Linux
    • Networking
    • PHP
    • Virtualization
    • Web Design
    • Web Servers
    • Windows
  • WordPress Plugins
    • Custom Error Pages
    • HTTP Digest Authentication
    • Mailgun Email Validator
  • Toolbox
    • DNS Lookup Tool
    • htdigest Generator Tool Online
    • htpasswd Generator Tool Online
    • HTTP Headers Lookup Tool
    • MD5 Encryption Tool
    • Open Port Check Tool
    • SHA-1 Encryption Tool
    • URL Encoding/Decoding Tool
  • About Me
  • Contact Me
  • Sitemap
Home ›
Windows ›
Create a bootable Windows Vista/7 Installation Pen Drive

Create a bootable Windows Vista/7 Installation Pen Drive

November 15, 2010 Windows Jesin A Leave a Comment

windows category thumbnail

Maintaining optical installation discs (CD/DVD) is very difficult. They get scratched or your drive lens might become too old and dusty to read a CD/DVD. Taking a backup of your windows Vista/7 installation files on a CD or DVD might give you disk write errors or sometimes if everything goes perfectly one fine day when you try to install from that disc you might get an error stating some xyz.dll file is missing. But now you can create a windows Vista or 7 installation USB drive, boot from it directly and install your OS. With USB drive prices falling sharply it isn’t uncommon to see 4GB drive as the starting point. An added advantage is that installing from a USB drive is much faster than doing it from a DVD and you can also if you have lots of space in the drive additional files like drivers and essentials can be added.

Requirements

  1. A USB pen drive with atleast 4GigaBytes of space.
  2. A motherboard which can boot via DVD. Most models released after 2004 has this feature.
  3. DiskPart command line utility. If your using windows XP/Vista/7 diskpart is included in it, users running Windows 2000 download here
  4. Administrative permissions. Even though this requirement might sound silly for home users, you can’t run diskpart on your workplace computer if you don’t have administrative access

How to create a bootable Windows Vista/7 USB Drive

  1. Insert your pen drive and backup any data it has because we’re going to format it at one step.
  2. Open Start menu -> All Programs -> Accessories -> Right-Click command prompt and select “Run As Administrator” Running the command prompt with administrator privileges is absolutely necessary, if your running Windows XP just opening the command prompt is enough.
  3. Type diskpart to open the command line disk partitioning utility.
  4. Type list disk to get a list of physical disks (NOT partitions) identify your pen drive and note the disk number you’ll be using it throughout the process. In tutorial it is disk 1.
  5. Type select disk 1 you see a message saying it is selected.
  6. Now we need to create a partition primary because only a primary partition is bootable. So type first type clean after it completes type create partition primary
  7. Now we need to select the partition, mark it active and format it to NTFS so issue the following commands one by one
    select partition 1
    active
    format quick fs=ntfs
  8. After formatting completes type assign then exit one by one.
  9. Now insert your Windows Vista or 7 installation DVD and enter its drive letter in the command prompt. In my case it is G: type the following commands one after another
    G:
    cd boot
    bootsect.exe /nt60 H:

    H is the drive letter of the pen drive replace it with your drive letter.
  10. The pen drive is bootable now its time to copy all the files from the DVD to the pen drive, to do this from the command prompt type xcopy /e G:\ H:\

Now keeping your USB drive inserted restart your computer, continuously press [F8] as soon as the computer shutdown process is over you’ll be presented with a boot device selection menu, select your USB drive and it will start booting.

An error you might encounter. Could not map drive partitions to the associated volume device objects: Access is denied. This happens if you are NOT running the command prompt with administrative privileges.

Related posts:

windows category thumbnailHow to install Windows XP after Windows Vista/7 windows category thumbnailDisable Low Disk Space Warning in Windows windows category thumbnailWindows devmgr_show_nonpresent_devices windows category thumbnailDig command on Windows OS windows category thumbnailAdd Command Prompt on Right Click

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Get a wealth of information delivered to your inbox. Subscribe and never miss a single article.

  • Tutorials and howtos
  • Code, scripts and commands
  • Online Tools

* No spam, unsubscribe anytime

Hire Me

  • SSL installation and hardening (A+ on Qualys SSL test)
  • Apache & Nginx configuration
  • Email deliverability improvement (10/10 on Mail Tester & MailGenius)
  • WordPress customization, optimization and migration
  • and much more…

    Tools

    • DNS Lookup Tool
    • htdigest Generator Tool Online
    • htpasswd Generator Tool Online
    • HTTP Headers Lookup Tool
    • MD5 Encryption Tool
    • Open Port Check Tool
    • SHA-1 Encryption Tool
    • URL Encoding/Decoding Tool

    Nav

    • Home
    • About Me
    • Contact Me
    • Privacy Policy
    • Sitemap
    Vultr SSD VPS

    Creative Commons License
    Jesin's Blog by Jesin A is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.
    Based on a work at websistent.com.