To install a webcam, install the software that comes with the webcam before plugging in the webcam cable into one of the USB ports. For wireless webcams, connect the camera to a power outlet, and connect it to the router with an Ethernet cable. For the wireless webcam to work, it has to be on the same wireless network as your computer.
For a wired webcam, the first step is to install the software in the installation CD that comes with the webcam. However, if your webcam did not come with any software or drivers, you can still plug it in and proceed with the installation process. For such webcams, Windows automatically recognizes that you are trying to install new hardware and guides you through the process. Connect the wired webcam to the computer through a USB cable. Test it to see if it works properly.
For wireless network webcams, put the CD that contains the webcam software into your DVD drive. Connect your webcam to a power outlet and to your router through the Ethernet port. Make sure your computer and your webcam are on the same network. The setup wizard on the installation CD guides you through the installation process, and everything should work fine after you finish installing the software.