Jump to content

Recommended Posts

Posted

Hello everybody,

Today I will show you how to install Windows 7 on a PC without a CD/DVD/USB, directly onto the HDD, even without the installation wizard/setup ! [Fastest Method]

Yesterday my new hard drive for my laptop arrived, and instead of cloning my existing disk, I decided to do a clean install of Windows 10. But I didnt have much time, cuz after installing windows 10, I had to copy my existing downloads, pictures, videos, install programs, etc. & I thought there must be some other way to easily install windows 10 without that installation wizard/setup. After some research, I made my own method, & installed it succesfully, faster than their setup wizard! Now I am gonna show you how to accomplish that. [This guide will work for Windows 8/8.1 also] Lets Begin! :)  

Pre-Requisites

  • Seperate Hard Drive with atleast 20GB space, with only 2 primary partitions [where you have to install Win8/8.1] [An empty/new hard drive is highly recommended]
  • Working PC/laptop with Windows XP or above installed, with Internet access 

Procedure:

  1. Firstly, download Windows 7 ISO & extract it to C:\win7 using some archive manager like 7zip/winrar, or Copy the Windows 7 CD contents to C:\win7.
  2. Now connect that separate hard drive to your PC (If you have extra hdd cage, then connect to it, else buy a SATA to USB hard disk enclosure like this one)
  3. Open a command prompt as administrator (Go to start menu > search cmd > Rightclick on the first search result & Run as administrator)
  4. Type: diskpart
  5. Now type: list disk
  6. It will show the disks connected to your PC. According to the size shown, you should be able to know which is your disk. 
  7. Type: select disk X  [Replace X with the disk number which you saw in the previous guide, in my case it was disk 1]
  8. Type the following one by one: 
    create partition primary size=350
    format fs=ntfs unit=4096 label="System Reserved" quick
    active
    assign letter=P
    create partition primary size="Any size convenient for you, in MB"
    format fs=ntfs label="Windows 7" quick
    assign letter=Q
    exit
  9. Your partitions have been configured! Now, if you are in Windows 7 (or below), download DISM from here, open the file, when It will ask for extraction folder, change the location to: C:\dism

  10. Now in Windows Explorer, browse to c:\win7\sources (sources folder inside the folder where you copied/extracted setup files) & check whether you have install.esd or install.wim. Now you have to know the index number of the edition which want to install. Type the following without quotes: 

    cd c:\dism
    ## [DO NOT TYPE THIS] Skip the first line if you are running Windows 8/above.
    dism /get-wiminfo /wimfile:C:\win7\sources\install.wim
    ## This should output the index numbers of different windows 7 editions.
    ## Note down the index number of the edition which you require.
  11. Now, this is the most important step. All the windows files are gonna get copied to the partition. If you are in Windows 7 or below, Open command prompt as administrator & type the following: 

    cd c:\dism
    Dism /apply-image /imagefile:C:\win8\sources\install.esd /index:1 /ApplyDir:Q:\
    ## [DO NOT TYPE THIS] You can replace /index:1 with the index number which we
    ## found out earlier.
    ## Also, if you have an insall.wim instead of install.exe in your \sources folder,
    ## Then replace install.esd with install.wim (in 2nd command).
  12. Now you have successfully extracted all the files for windows! :) Now, all you have to do is prepare the boot files in the System Reserved partition, so that Windows can be booted from the drive succesfully.

  13. Now you are gonna prepare the System Reserved partition for booting into Windows 7. Type the following in Administrator CMD Window:

    bcdboot Q:\Windows /l en-us /s P: /f ALL
    ## [DO NOT TYPE THIS] You can replace en-us with your locale,
    ## For eg. en-in, en-gb, en-ru etc.
  14. Everything is done! You are now ready to go! Now boot into the drive. If you did everything correctly & succesfully, then Windows will boot to the welcome screen. Done! Enjoy the manually installed Windows! :);) B) 

 

Hope this guide was helpful & easy to you. If you have doubt about something or you got any errors, or if windows doesnt boot after performing all the steps correctly, then feel free to post below.

 

Cheers & Regards,

niT3_RiDeR_Pr0 :)

Posted
4 hours ago, bphlpt said:

Thanks,  niT3_RiDeR_Pr0, but I'm a little confused.  In your first paragraph, before "Let's begin", you mention Win10 several times.  Did you mean to say Win7?

Cheers and Regards

Nope, the story which I told is about windows 10, but the guide works for Windows 7 & 8.1 as well (I did this method for installing win10 on my laptop, actually).

Cheers & Regards :)

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...