are you running an elevated CMD prompt? Think that is a generic access error.

In the search box, type the letters "cmd". It should pop up the command prompt executable that you can right-click and run as Admin.

Hope it's something so simple as something broke your scripting capabilities. Or something as simple as your protocol stack (can reset with the netsh command from elevated cmd also).

Have you scanned your system for malware yet? It could simply be a hi-jacker causing issues.