My IIS was working perfectly on Windows 7 fine but I after I ran some manual command stopping http service, I began to get this error
Cannot start service W3SVC on computer
When I restared the PC, ISS started perfectly fine. The problem was gone. Note that logging the user outdid not fix the problem, restart was required.