Internet connectivity problem in Windows 7.

I have tried everything to connect to internet but I was not able to connect.
Even the system restore does not solve the problem also.
I have also manually entered the IP, but the problem was not solved. I also tried to rest win sock catalogue with the command prompt, but demands for administrator login, but I am the admin.
I don’t have any idea about to correct it.
