It is perhaps the anti virus or firewall that is causing the error. Try shutting down the antivirus and restart, see if the error occurs. In some antivirus programs, you can exclude the program that is causing the error. This depends on which anti virus you are using. You can contact the anti virus tech support for more detailed instructions on how to exclude netsh. exe from being blocked at startup.