Hey friends,here are some useful tips and tricks about computer......these stuffs are just for learning purpose. So don't try it in wrong way. Have fun........

Wednesday, January 26, 2011

How To copy the data from pen drive/Hard disk drive Secretly hiding from others.....(windows OS)

The contents of an storage drive like USB drive or external hard disk drive can be copied secretly with just a keystroke. Imagine your friend needs some files let's some movies from your computer and you are transferring them to his Pen drive while he's sitting beside you.At that moment an eagerness strike your mind that what's there in the pen drive,but you can not open it or copy it as your friend is present there.But you can surely copy all the stuffs from that Pen drive in front of your friend without his knowledge.For this you have to prepare a couple of files and save it in your computer secretly in some hidden folder.....and when some pen drive is inserted use a predefined keystroke and the files will be copied to your computer......just follow the steps....

1. First open notepad and type the following....

      @rem BATCH FILE
   @echo off
   xcopy "L:" /s /e /h /I /Q /Y
   ATTRIB +H
  :endofprogram

and save it as copy.bat(remember the file extension should be .bat)

2. Here "L:" is the drive letter for the pen drive to be copied. As you are preparing this file before the Pen drive is inserted you have to guess the drive letter.The easiest way is, the drive letter should be the next alphabet of the last alphabets used for hard disk drives and dvd drive. So just open "My computer" and check which one is the last letter assigned to drives.If it is "G:" then,after inserting the pen drive the drive letter should be "H:".So use "H:" in place of "L:" above.

3. Then open Notepad again and type the following..

   var WindowStyle_Hidden = 0
   var objShell = WScript.CreateObject("WScript.Shell")
   var result = objShell.Run("cmd.exe /c C:/pen drive/copy.bat",             WindowStyle_Hidden)

and save it as copy.js(you can use any file name but just don't change the file extension,it should be .js)

 here you should type the complete path name of the previous file(copy.bat) like my file is saved in a folder named 'pen drive' in drive C,then I should write "c:/pen drive".The underlined portion is the path name.change it accordingly.......

4. Just save the two files in the same location and your files will be copied to that location so keep it private.

5. Then place a shortcut of copy.js file on desktop.Right click on that file and send to Desktop. shortcut is placed on desktop.

6. Then on desktop right click on that shortcut file and go to the shortcut tab.Then navigate to the shortcut key prompt and click in the text box next to it and define a shortcut key(you can define a shortcut key by hitting any alphabetical or numerical key. It should be shown as "ctrl + alt + ". So if you press L then the shortcut key should be "ctrl + alt + L")

7. Now you are done.When a pen drive is plugged in just hit the shortcut key from your keyboard and the contents will be copied to your computer. Remember the files are copied to the location where you have saved the "copy.bat" file and they are in hidden form.So check that location and you can find the files.....

all d best....have fun......if any problems occur plz let me know....awaiting your comments...

Tuesday, January 25, 2011

How to install OS(xp/vista) from pendrive?

Windows OS can be installed from pen drive by making it bootable and copying the contents of the installer cd/dvd to the pen drive.But before that the pen drive should be converted just from a flash drive to a partitioned hard disk.It can be done through command prompt no software is needed.Here are the steps.........


1.At first the usb pen drive should be formatted in NTFS mode,in vista & 7 there is option to format pendrive in NTFS mode but in XP you have to follow some simple steps....
To format pendrive in NTFS mode in XP..................
  • Just right click on My computer and click Manage and go to Device Manager tab or directly start--->Run---->type "compmgmt.msc" (without the quotes) then go to the device manager tab.....
  • Double click on Disk drives and then right click on ur pen drive option.(Here my pen drive is showing as T.sonic650 usb device right click on that).
  • Then click on properties.
  • Then another window appears, in that window go to Policies tab.
  • Under that tab choose the option "Optimize for performance" and click OK.
  • Now u r done just go to my computer and right click on your pendrive and click format,u can find the NTFS mode for formatting there. 

2. Then go to start-->>;programs-->>;Accessories-->>;command prompt-->>;right click on that and choose Run as Administrator.

3.Then type the following.......
 Diskpart
 (It will open disk partition session.)

4.Then type list disk (shows the list of storage disks connected to your computer)

5.Now note down the disk no. of your pen drive,let it is DISK 1

6.Then type the following serially... and hit enter after every command...
     
          select DISK 1
    clean
    create partition primary
    select partition 1
    active
    format fs=ntfs
    assign
    exit


     


7.Now insert win vista/7 DVD to your DVD drive. Here i am assuming DVD drive as G and Pen drive as I.(Change it accordingly)

Now follow these instructions...



  1. Type G:CD BOOT
  2. Type this command BOOTSECT.EXE/NT60 I: to update your USB drive with bootmgr code.
  3. Finally copy all the contents from the Windows Vista/7 DVD to your Pen drive. Make sure you don’t cause any errors.
  4. Now set the boot priority to your pen drive from BIOS and you can proceed with the installation as normal.

    Friday, April 30, 2010

    What happens, when you type an address in your browser and press ENTER?

       Have you ever thought about the mechanisms that delivered this page to you? May be you are viewing this blog page in a browser now. So when you typed its URL (uniform resource locator), what happened behind the scenes to bring this page onto your screen? Let’s see what actually happens…………….
       Let's say that you are sitting at your computer, surfing the Web, you type the URL into your browser and press enter. And automatically the page appears on your screen.
       At the most basic level possible, the following diagram shows the steps that brought that page to your screen:
     


    Your browser formed a connection to a Web server, requested a page and received it. 
    Behind the Scene
    If you want to get into a bit more detail on the process of getting a Web page onto your computer screen, here are the basic steps that occurred behind the scenes: 

    • The browser broke the URL into three parts:
      1. The protocol ("http")
      2. The server name ("www.google.com")
      3. The file name ("web-server.htm")
    • The browser communicated with a name server to translate the server name "www.google.com" into an IP Address, which it uses to connect to the server machine.
    • The browser then formed a connection to the server at that IP address on port 80. Following the HTTP protocol, the browser sent a GET request to the server, asking for the file "http://www.google.com/web-server.htm."
    • The server then sent the HTML text for the Web page to the browser.
    • The browser read the HTML tags and formatted the page onto your screen.
     
    The Internet
    The Internet is a gigantic collection of millions of computers, all linked together on a computer network. The network allows all of the computers to communicate with one another. A home computer may be linked to the Internet using a phone-line modem, DSL or cable modem that connects to an Internet service provider (ISP). A computer usually have a network interface card (NIC) that directly connects it to a local area network (LAN). The business can then connect its LAN to an ISP using a high-speed phone line like a T1 line. A T1 line can handle approximately 1.5 million bits per second, while a normal phone line using a modem can typically handle 30,000 to 50,000 bits per second.
    ISPs then connect to larger ISPs, and the largest ISPs maintain fiber-optic "backbones" for an entire nation or region. Backbones around the world are connected through fiber-optic lines, undersea cables or satellite links. In this way, every computer on the Internet is connected to every other computer on the Internet.









    Clients and Servers

    In general, all of the machines on the Internet can be categorized as two types: servers and clients. Those machines that provide services (like Web servers or FTP servers) to other machines are servers. And the machines that are used to connect to those services are clients. When you connect to Yahoo! at www.yahoo.com to read a page, Yahoo! is providing a machine (probably a cluster of very large machines), to service your request. Yahoo! is providing a server. Your machine, on the other hand, is probably providing no services to anyone else on the Internet. Therefore, it is a user machine, also known as a client. It is possible and common for a machine to be both a server and a client, A server machine may provide one or more services on the Internet.
    IP Addresses
    To keep all of these machines straight, each machine on the Internet is assigned a unique address called an IP address. IP stands for Internet protocol, and these addresses are 32-bit numbers, normally expressed as four "octets" in a "dotted decimal number." A typical IP address looks like this:
              216.239.61.104 (for WWW.Google.com)
    The four numbers in an IP address are called octets because they can have values between 0 and 255, which is 28 possibilities per octet.
    Every machine on the Internet has a unique IP address. A server has a static IP address that does not change very often. A home machine that is dialing up through a modem often has an IP address that is assigned by the ISP when the machine dials in..
    If you are working on a Windows machine, you can view a lot of the Internet information for your machine, including your current IP address and hostname.
    Go To Start->Run->Type “ cmd ”->Press ENTER
    Then for Hostname type “hostname” & press ENTER
    For IP address of your machine type  “ ipconfig”
    For IP address of any website type “ nslookup website name”
    Ex : c:\ nslookup www.google.com
    Use the commands without quotes.
    Domain Names
    The name www.google.com actually has three parts:
    1. The host name ("www")
    2. The domain name ("Google")
    3. The top-level domain name ("com")
    Domain names within the ".com" domain are managed by the registrar called VeriSign. VeriSign also manages ".net" domain names. Other registrars (like RegistryPro, NeuLevel and Public Interest Registry) manage the other domains (like .pro, .biz and .org). The host name is created by the company hosting the domain. "www" is a very common host name, but many places now either omit it or replace it with a different host name that indicates a specific area of the site. For example, in encarta.msn.com, the domain name for Microsoft's Encarta encyclopedia, "encarta" is designated as the host name instead of "www." 
    In The End...
     
    when you type a URL into a browser, the following steps occur:
    • The browser breaks the URL into three parts:
      1. The protocol ("http")
      2. The server name ("www.orkut.com")
      3. The file name ("web-server.htm")
    • The browser communicates with a name server to translate the server name, "www.orkut.com," into an IP address, which it uses to connect to that server machine.
    • The browser then forms a connection to the Web server at that IP address on port 80.
    • Following the HTTP protocol, the browser sends a GET request to the server, asking for the file "http://www.orkut.com/web-server.htm." (Note that cookies may be sent from browser to server with the GET request)
    • The server sends the HTML text for the Web page to the browser. (Cookies may also be sent from server to browser in the header for the page.)
    • The browser reads the HTML tags and formats the page onto your screen.


     






    Saturday, March 27, 2010

    Overclocking of Computer

    * What Does Overclocking Do?


    Overclocking a computer's processor or memory causes it to go faster than its factory rated speed. A processor rated at 2.4GHz might be overclocked to 2.5GHz or 2.6GHz, while memory rated at 200MHz might be pushed to 220MHz or higher. The extra speed results in more work being done by the processor and/or memory in a given time period, increasing the overall computing performance of the PC.









    * Does it harm your computer?

    yes,it has negative effect on computer processor and graphics component.But it is very useful;let's you have graphics support of 256mb video card and a game needs 512mb video card.Then you can do this overclocking to your graphics card;and it performs better.But if you have warranty on your component then you should definitely try this because no one can catch this overclocking if your component goes wrong and no warranty will be void.


    * Hardware Considerations for Overclocking

    It's also important to keep an eye on the amount of heat the processor is putting out because of the 'thermal throttling' safety systems built into both AMD Athlon 64 and Intel Pentium 4 processors. If either of these CPU's gets too hot, they will slow themselves down drastically in order to keep from burning out.

    Though some CPU s run hotter than others (Pentium processors tend to displace slightly more heat than their AMD siblings), all modern processors are happiest in the area between 35°C -65°C. If the processor is showing temperatures over 70°C in the BIOS, chances are that heat is going to be a limiting factor in the computer's stability and overclocking potential. Time to consider a new heat sink and/or better case ventilation.





    * Power Supply Requirements :

    Overclocking a computer system also increases the amount of power it draws, and this may lead to system instability if its old 300Watt power supply is not up to the task. If overclocking a modern Pentium 4 or Athlon 64 system, plan on upgrading the power supply to at least 400Watts.


    * Preparing for Overclocking

    In order to get the best out of current hardware, the most recent drivers and BIOS version for the motherboard need to be acquired. System benchmarks should be run pre-overclocking to establish a performance 'baseline'.

    Readers should visit their motherboard manufacturer's website to obtain the most recent set of drivers for their motherboard, as well as the most recent BIOS version.Newer BIOS versions may add overclocking options and stability, so this is always a good first step.

    As it deals with lots of heat & voltage, you need a good heat sink and a over voltage control device which usually comes with your UPS.Some good heatsinks are given here :









    THERMALTAKE SPINQ


    N.B.: If you want to overclock then please read as much more as possible;or contact an expert.Please do it in a safe way.

    Friday, March 26, 2010

    How to create an undeletable folder

    We can actually make folders that cannot be deleted in Windows OS. I found this trick working for both Windows XP as well as Vista. This undeletable folder must be made using Command Prompt.

    It can only be deleted using Command Prompt.

    Steps to implement this hack :

    1.Go to cmd.

    2. Change to the directory that you want.

    3. Assume I change to D:

    4.So,in Command Prompt, type D: and [ENTER].

    5.Type in this command "md \lpt1\\" without quotes and press enter.

    6.The folder will now in your D:

    7.Go and try and delete or rename it,you cannot do anything to it.

    There are still many names that you can use to name the folder :

    -lpt1 until lpt9
    -CON
    -AUX

    To delete the folder :

    1. Go to command prompt

    2. Direct to the specified directory where the folder is created ; if the directory is “D” then type d:

    3. Then type rd\foldername\\ then press [ENTER]

    4. Now check the folder exist or not……..


    N.B.:Use the specific folder name only ;other name does not work...

    How to create a hibernate icon on your desktop

    Here is the procedure to create a hibernate icon on your desktop; just follow the steps:

    1. Right Click on desktop and go to New --> Shortcut
    2. Now you can see a window opened requesting the address for location
    3. Enter the following command in the bar

    rundll32.exe PowrProf.dll, SetSuspendState

    4. Then click on next and finish.
    5. Now you are done ; just rename the icon to “Hibernate”.
    6. That’s it; just double click on it when you are leaving your pc and it will go to hibernate state.

    How to change admin. password in winxp

    This is small but very useful XP hacking tutorial which is emphasized on the method used to change Windows XP administrator password if you don`t have access to admin account.


    Just follow the steps given below.


    1. Start-->Run-->lusrmgr.msc and press Enter or OK.
    2. Than there`s two folders: Users & Groups. You need Users, than in this folder right click on Administrator-->Set New Password !

    So, you are now able to hack in any Windows XP administrator account even when it is password protected.