To remedy that, you can create a new path by following the steps below. If there are issues with the environment variables path on your PC, then Command Prompt might fail to run commands. Update the System Environment Variables Path Once done, restart your PC and see if you can access Command Prompt now. DISM /Online /Cleanup-Image /CheckHealth DISM /Online /Cleanup-Image /ScanHealth DISM /Online /Cleanup-Image /RestoreHealth Launch PowerShell with admin rights again and enter the following commands one by one. DISM can repair system images and files on your Windows like an SFC scan. If the SFC scan can’t find any issues, you can try performing a DISM or Deployment Image Servicing and Management scan instead. If the scan can detect and fix files, you’ll see a message that reads ‘Windows Resource Protection found corrupt files and successfully repaired them’. Step 2: Type the command given below and press Enter. Step 1: Open the Start menu, type in Windows PowerShell, and press Enter. If that’s the case, you can try running an SFC or System File Checker scan your PC to detect and fix such system files. Perform SFC and DISM ScanĬorrupted or missing system files is another reason Command Prompt may not work for you. You can use this shortcut to open Command Prompt. Step 3: Provide a suitable name for the shortcut and hit Finish. Step 2: In the Create Shortcut window, under the location box, type in cmd.exe and hit Next. Step 1: Right-click anywhere on the desktop, go to New, and select Shortcut from the sub-menu. If you’re unable to open the Command Prompt due to your troubles with the Start menu or the Windows Search, then you can try creating a shortcut for it. Thus, you can start by disabling the antivirus program temporarily on your PC to see if that gets Command Prompt to work again. As it turns out, Command Prompt not working can occur if those quarantined files include the files required by the Command Prompt. Sometimes, antivirus programs on your PC can be too cautious and end up quarantining otherwise safe files.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |