ERROR_BAD_COMMAND is often accompanied by error code 0x80070016 and usually occurs when users attempt a backup, install a new app, or update existing apps. This error affects all Windows versions. There are various elements triggering this issue:
Damaged or corrupted files and folders. Missing EXE, DLL, or SYS files. Deleted registry values. Malware infection. Outdated or incompatible software versions, etc.
How can I fix the device does not recognize the command error?
1. Use Ashampoo WIn Optimizer
Ashampoo WIn Optimizer offers a suite of tools to check and clean enough space on the drive. It optimizes your Windows computer completely. You can use it to perform maintenance operations, including cleanups, tweaks, backups, or removing unnecessary registry entries. Let’s take a look at some of the technical features:
Cleaning the system. System diagnosis. Tracking system failure signs. Boot support. ADS Scanner. Privacy control.
⇒ Check out Ashampoo’s full review
2. Install Visual C++ 2015 Redistributable Packages
Many users confirmed that they fixed this error code by installing or reinstalling Visual C++ 2015 Redistributable Packages. The role of this tool is to install run-time components that are required to run C++ applications built using Visual Studio 2015. As a result, app compatibility is enhanced, allowing users to smoothly install and deploy apps. ⇒ Get Visual C ++2015 Redistributable Packages
3. Run a full system scan
Malware may cause various issues on your computer, including errors. Performing a full system scan in order to detect any malware running on your computer is a good way to start. You can use Windows’ built-in antivirus, Windows Defender, or third-party antivirus solutions.
4. Repair your registry
Go to Start > type cmd > right-click Command Prompt > select Run as Administrator
Now type the sfc /scannow command
Wait for the scanning process to complete and then restart your computer. All corrupted files will be replaced on reboot. The simplest way to repair your registry is to use a dedicated tool, such as CCleaner. Don’t forget to first backup your registry in case anything goes wrong. If you haven’t installed any registry cleaner on your computer, check out our article on the best registry cleaners to use on PC. You can also use Microsoft’s System File Checker to check for system file corruption. However, this utility is only available on Windows 10.
5. Update your OS
Make sure that you’re running the latest Windows OS updates on your machine. As a quick reminder, Microsoft constantly rolls out Windows updates in order to improve the system’s stability and fix various issues. To access the Windows Update section, you can simply type update in the search box. This method works on all Windows versions. Then go to Windows Update, check for updates and install the available updates.
6. Run the Windows Troubleshooter
If you run an older Windows version, you can download the Microsoft Easy Fix tool to troubleshoot various software and hardware issues. The tool is compatible with
Windows 10 Version 1607 Windows 8.1, Windows 8 Windows 7 Enterprise Windows 7 Home Basic Windows 7 Professional Windows 7 Ultimate
Go to the official Microsoft Easy Fix tool webpage, and scroll down to select the troubleshooter that best suits your needs, depending on the tool affected by The device does not recognize the command error. When you select the respective tool, your PC will start downloading the troubleshooting software.
Once the tool has been downloaded, double-click it to launch it. Then follow the on-screen instructions to fix your problem.
7. Check your disk for errors
Start Command Prompt as administrator and type the chkdsk C: /f command followed by Enter. Replace C with the letter of your hard drive partition. As a quick reminder, if you do not use the /f parameter, chkdsk displays a message that the file needs to be fixed, but it does not fix any errors. The chkdsk D: /f command detects and repairs logical issues affecting your drive. To repair physical issues, run the /r parameter as well. SPONSORED
On Windows 10, go to hard drives > right-click the drive that you want to check > select Properties > Tool. Under the Error checking section, click Check.
8. Clean your temporary files and folders
- Select Clean up system files. The simplest and quickest manner to delete your temporary files and folders is to use Disk Cleanup. As you use your computer or browse the Internet, your PC accumulates various unnecessary files. These so-called junk files may affect your computer triggering various error codes, including the ERROR_BAD_COMMAND error code. Clean your temporary files and then retry the action that first triggered this error.
9. Remove recently installed software
If the ERROR_BAD_COMMAND error code occurred after you installed new software on your computer, try uninstalling it. Go to Start > type Control Panel > select the program(s) recently added > click Uninstall. Then restart your computer, and see if the issue has been solved.
10. Boot into Safe Mode
11. Clean boot your computer
A clean boot starts Windows by using a minimal set of drivers and startup programs to eliminate software conflicts that may occur when you install a program or an update or when you simply launch a program.
12. Check the permissions on the drive
- Select Users one more time > go to Edit. 5. Under basic permissions, check Full control > OK.
In this manner, you’ve changed the permissions to allow full control for all users. This should solve the problem. However, keep in mind that if you restart your computer or switch users, these settings will revert to default.
13. Reset the Windows Update components
If the ERROR_BAD_COMMAND error code occurs when you try to update your OS or a particular app, reset the Windows Update components. Follow the steps listed below and then check if the issue persists.
- Go to Start > launch Command Prompt as Administrator
- Type the following commands and hit Enter after each one: net stop bits net stop wuauserv net stop appidsvc net stop cryptsvc
- Type the following command to delete the qmgr*.dat files, and press Enter: Del “%ALLUSERSPROFILE%Application DataMicrosoftNetworkDownloaderqmgr*.dat”
- Type the cd /d %windir%system32 command to repair the corrupted repository.
- Reregister the BITS files and the Windows Update files by typing the following commands in Command Prompt. Hit Enter after you type each command. regsvr32.exe atl.dll regsvr32.exe urlmon.dll regsvr32.exe mshtml.dll regsvr32.exe shdocvw.dll regsvr32.exe browseui.dll regsvr32.exe jscript.dll regsvr32.exe vbscript.dll regsvr32.exe scrrun.dll regsvr32.exe msxml.dll regsvr32.exe msxml3.dll regsvr32.exe msxml6.dll regsvr32.exe actxprxy.dll regsvr32.exe softpub.dll regsvr32.exe wintrust.dll regsvr32.exe dssenh.dll regsvr32.exe rsaenh.dll regsvr32.exe gpkcsp.dll regsvr32.exe sccbase.dll regsvr32.exe slbcsp.dll regsvr32.exe cryptdlg.dll regsvr32.exe oleaut32.dll regsvr32.exe ole32.dll regsvr32.exe shell32.dll regsvr32.exe initpki.dll regsvr32.exe wuapi.dll regsvr32.exe wuaueng.dll regsvr32.exe wuaueng1.dll regsvr32.exe wucltui.dll regsvr32.exe wups.dll regsvr32.exe wups2.dll regsvr32.exe wuweb.dll regsvr32.exe qmgr.dll regsvr32.exe qmgrprxy.dll regsvr32.exe wucltux.dll regsvr32.exe muweb.dll regsvr32.exe wuwebv.dll
- Reset Winsock by typing this command: netsh winsock reset
- Restart the BITS service, the Windows Update service, and the Cryptographic service. Type the following commands and hit Enter after you type each command: net start bits net start wuauserv net start appidsvc net start cryptsvc
- Go to Windows Update and install the latest updates. 9. Restart your computer and make sure that the latest updates have been installed. We hope that the solutions listed above helped you fix The device does not recognize the command error. If you’ve come across other workarounds to fix this problem, you can help the Windows community by listing the troubleshooting steps in the comments below.
SPONSORED
Name *
Email *
Commenting as . Not you?
Save information for future comments
Comment
Δ