Tuesday, April 26, 2011

Install windows 7 by making pendrive bootable using USB/DVD Download Tool From Microsoft

With the launch of Windows 7, Microsoft has released a small utility that allows you install Windows 7 from a USB flashThe Windows 7 USB/DVD Download Tool allows you to create a copy of your Windows 7 ISO file on a USB flash drive or a DVD. To create a bootable DVD or USB flash drive, download the ISO file and then run the Windows 7 USB/DVD Download tool. Once this is done, you can install Windows 7 directly from the USB flash drive or DVD.

Installing windows7 / windows vista with a pendrive using command line

You need to have a pendrive of size 4gb or more for this . Now you can make pendrive bootable with either a dvd  of the windows OS or .iso file (image file) of the same . If you are using a dvd then insert the dvd into your dvd drive and if you are using a .iso file then mount it into a virtual drive (eg. Virtual Clone Drive) that you use . Insert your pendrive into your computer  . Then you have to follow a list of commands on your command line (administrator mode ) . To open command line in administrator mode Click on Start Menu -> Search cmd -> then right click on cmd and click on Run as Administrator -> a command line console will open in administrator mode . Now you have to execute the following commands (commands to be executed are given in blue ) :-
  1. DISKPART 
  2. LIST DISK  
  3. List of disks mounted will be displayed on the screen . Select the pendrive you have to make bootable among the disks displayed , using command SELECT DISK 1 (say my pendrive is disk 1) .
  4. CLEAN
  5. CREATE PARTITION PRIMARY
  6. SELECT PARTITION 1
  7. ACTIVE
  8. FORMAT FS=NTFS  (This may take few minutes)
  9. ASSIGN
  10. EXIT
  11. Through command prompt traverse to "boot" folder into your dvd or .iso file (in my case its F: drive ) F: and press enter.Then write CD boot and press enter .
  12. Considering your pendrive is H: .Now you have to execute the final command bootsect.exe /NT60 H: 
  13. Now you have to copy all the contents of dvd or .iso file into your pendrive . For that right click on your dvd drive or virtual drive and click "open" .
  14. Now select all the contents and copy it to your pendrive .
  15. Now your pendrive is bootable .
 A screen shot of the above commands is given below(my dvd drive is F: and pendrive is H:):-
USB boot screenshot

To find another easier way to make your pendrive bootable click here .

Wednesday, April 13, 2011

Sharing internet on LAN through ezproxy (Windows OS)

It has been my concern since long that how can I share the internet of my college to my hostel room , as my hostel and college is connected through LAN connection . After long search I found a software for internet sharing which is ezproxy . Click here to download it .
Now for internet sharing do as follows :-
  1.  There will be two computers on LAN , one which has internet connection (say A , it will be a type of server) and the other in which we want internet (say B , it will be the client) . Install ezproxy setup on A  ( Hope installing doesn't need any explanation ).
  2. Now on machine A you will find four icons in ezproxy as follows:
  3. Click on "Run ezProxy (App Mode) "
  4. Now click on ezProxy Manager . A new window will open . In that window , go to File -> Login . The default password to Login is 1234 .
  5. As you login into it you sequence of windows as follows :
  6. You can test by pinging to the machine B by inserting the IP address of B here and clicking Ping . It is just for checking the LAN connection . Click on Next>>
     Click on Next>>
    By default listen port is 8000 . You can change it to any other if you want . Click on Next>>
     Click on Next>>
     Click on Next>>
     Click on Finish .
  7. Now port no 8000 (or whatvever if you had changed)  has been forwarded for internet . 
  8. Now to use this internet on client machine i.e. B  you first open your browser and open proxy settings in it . 
  9. In Proxy Server IP address put the IP address of machine A and port no. 8000 (or whatever port that you have forwarded from A , by default it was 8000 ) .
Now you are done with the settings . You can start using internet on machine B . 

Enjoy !!!