Perhaps you have another application running that's reserving the camera. Such applications may include Skype, instant messaging clients such as Google Talk, and corporate communicators such as Microsoft Lync.
Close all open applications that may be reserving the camera (using Task Manager to end the applications is an effective way). If that doesn't help, try rebooting the computer.
Some laptop manufacturer software also may disable webcam by default. Make sure that webcam is enabled by default in those software.
For example Lenovo has Communications settings as follows:
If you use Chrome-browser you need to allow RecRight to use Webcam from the dialog below the addressbar: