Solved

netsh.exe

Posted on 2015-02-22
23
108 Views
Last Modified: 2015-03-11
I am getting an error message for netsh.exe (bad image)  How do I fix this?  I am attaching a picture of the error.

Thank you
netsh.bmp
0
Comment
Question by:jbstacyg
  • 8
  • 8
  • 6
  • +1
23 Comments
 
LVL 90

Expert Comment

by:John Hurst
Comment Utility
netsh is a standard built-in command to Windows and cannot be uninstalled or installed.

Assuming Windows 7 or above, run System File Checker.

Open cmd.exe with Run as Administrator and run SFC /SCANNOW. Allow to complete, close out and restart. Test and please let us know.
0
 
LVL 18

Expert Comment

by:Peter Hutchison
Comment Utility
Instead of scanning the entire system, you can just scan the one file and let it auto repair it:
SFC /SCANFILE=C:\Windows\System32\Netsh.exe
0
 
LVL 90

Expert Comment

by:John Hurst
Comment Utility
If you are running SFC, and while I do understand the above post, it is ALWAYS worthwhile to run a complete scan. You never know what you might find.
0
 

Author Comment

by:jbstacyg
Comment Utility
Ran the above and received the attached message.  It is still giving me the error message.
errornetsh.JPG
0
 
LVL 90

Expert Comment

by:John Hurst
Comment Utility
You can get a small number of errors from SFC without a big problem. However, you are saying, that either way above, you cannot run netsh.

So when SFC fails to resolve, the next logical step is a Windows 7 Repair Install (assuming this is Windows 7). You need a working a recovery partition or the Windows 7 DVD. Here is a Seven Forums tutorial to assist you with this.

http://www.sevenforums.com/tutorials/3413-repair-install.html
0
 

Author Comment

by:jbstacyg
Comment Utility
I have windows 8.1
0
 
LVL 90

Expert Comment

by:John Hurst
Comment Utility
Thank you for clarifying.

First, do you have Windows 8.1 Home or Windows 8.1 Pro. I think netsh should work with either, but please clarify.

Next, try DISM (which is more advanced than SFC).

DISM.exe /Online /Cleanup-Image /Scanhealth (takes 15 - 20 minutes).
DISM.exe /Online /Cleanup-Image /Restorehealth (takes 15 - 20 minutes).
Restart the computer and test.
0
 

Author Comment

by:jbstacyg
Comment Utility
when i typed the command, it said it could not find the file dism.exe
0
 
LVL 4

Expert Comment

by:szichen
Comment Utility
Did you recently install something? OR has any MS updates run/installed?? If so, uninstall the updates or programs and try again.
Run a virus scan to be safe.
0
 

Author Comment

by:jbstacyg
Comment Utility
only malware bytes & ccleaner
0
 
LVL 4

Expert Comment

by:szichen
Comment Utility
do you know when netsh last worked?
0
Why do Marketing keep bothering you?

Is your marketing department constantly asking for new email signature updates? Are they requesting a different design for every department? Do they need yet another banner added? Don’t let it get you down! There is an easy way to manage all of these requests...

 
LVL 4

Expert Comment

by:szichen
Comment Utility
have you updated & run malwarebyes?
0
 
LVL 90

Expert Comment

by:John Hurst
Comment Utility
It sounds like your machine is badly screwed up. Netsh and DISM should work and that they don't indicates the need for further repair.

You may now need to try Windows 8 Refresh. This is done from PC Settings. Refresh will keep your data and some settings, but will make you reinstall software that you installed after you set up Windows 8.
0
 

Author Comment

by:jbstacyg
Comment Utility
You need a disk for that correct?  I do not have one
0
 
LVL 90

Expert Comment

by:John Hurst
Comment Utility
No. Windows 8.1 (or 8) should do Refresh from within Windows. I have done and not needed a DVD. You probably do need a working recovery partition.
0
 

Author Comment

by:jbstacyg
Comment Utility
and of course, I got a message saying there was a problem refreshing your pc.  There waas an option to check for solutions but nothing came up
0
 
LVL 4

Expert Comment

by:szichen
Comment Utility
Run a malware scan in SafeMode using MalwareBytes.
Are you sure you didn't install corrupt versions of MalwareBytes and CCleaner?
0
 

Author Comment

by:jbstacyg
Comment Utility
I just installed them a few hours ago.  This problem existed before I installed ccleaner and malware.  I installed them to see if that would fix the problem.
0
 
LVL 4

Expert Comment

by:szichen
Comment Utility
Can you get into SafeMode? (Hold down <Shift> and click "Restart". Once inside, see if it runs without issues.
If it runs, then run MalwareBytes in SafeMode.
0
 
LVL 90

Accepted Solution

by:
John Hurst earned 500 total points
Comment Utility
If you cannot run basic commands, not run DISM and not Refresh, then now, to avoid further black holes, you should back up your system and do a fresh install of Windows 8.1
0
 
LVL 4

Expert Comment

by:szichen
Comment Utility
I agree with John Hurst.
0
 

Author Closing Comment

by:jbstacyg
Comment Utility
Thank you for all of your feedback
0
 
LVL 90

Expert Comment

by:John Hurst
Comment Utility
@jbstacyg  - You are very welcome and I was happy to help.
0

Featured Post

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

If you Lost your Administrator password for Windows XP, Vista, or 7 this CD will help you reset the password to blank so you can log in. Once in you should change that blank password to something!! Download the ISO on this page http://www.spl…
The use of stolen credentials is a hot commodity this year allowing threat actors to move laterally within the network in order to avoid breach detection.
This Micro Tutorial will give you a basic overview of Windows DVD Burner through its features and interface. This will be demonstrated using Windows 7 operating system.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now