ArtsAutosBooksBusinessEducationEntertainmentFamilyFashionFoodGamesGenderHealthHolidaysHomeHubPagesPersonal FinancePetsPoliticsReligionSportsTechnologyTravel
  • »
  • Technology»
  • Internet & the Web

Command Prompt Disabled by Virus : How to Fix or Enable Virus Affected Command Prompt?

Updated on July 4, 2011

All types of modern virus are very harmful and dangerous for your computer. Most of the viruses are spreading through pen drives and networks. All the viruses are strong enough to change the registry value of your Windows operating system. It's the common problem that the viruses disabled the command prompt. The main reason to disable command prompt is because if it can disable command prompt then you can't execute several commands to kill or clean them. So, many viruses always try to disable the command prompt. If it could disable command prompt, you can't open command prompt. Sometimes, the viruses only disable all the commands to execute when you give the commands. For this case, you can easily open the command prompt. But you can't give any command to there. This page contains the information related to enable command prompt.

Fix or Enable Virus Affected Command Prompt

You can easily fix or enable your virus affected command prompt. To enable virus affected command prompt do the following steps:

Step 1: Click on Start menu and then select Run by clicking it.

Step 2: Type the following command or copy the following bold line command in the Run text box:

REG add HKCU\Software\Policies\Microsoft\Windows\System /v DisableCMD /t REG_DWORD /d 0 /f

Step 3: After copying or entering the following bold line command, hit Enter key of your keyboard.

After following the above three steps, check your command prompt. I think its working now. You can easily enable your command prompt by following the above steps. If you don't yet solve the problem, tell your problems in the comment section, and I will try to give some type of solutions at my best.

© Written by rancidTaste

If you are enjoyed this post, please consider to give a thumbs up and leave a comment. You may Subscribe to rancidTaste's RSS feed to get new pages which will be delivered to your feed reader. You can also read more hubs by rancidTaste.


    0 of 8192 characters used
    Post Comment

    • profile image

      uzina de calculatoare 4 years ago

      This is for Windows 7 ( not testet on winXP ):

      Type "regedit" in your START \ search \

      In your registry windows find : "HKEY_USERS\S-1-5-21-1730878657-1531357687-3940112314-1000\Software\Policies\Microsoft\Windows\System" ; open "DisableCMD" and change the hexadecimal value from "1" to "0" ( zero ).

      Hope this works for you too.

    • profile image

      A1 6 years ago

      still my command prompt not working.After copy /paste of the above command it is displayed that REG is not recognised as the internal/external command,operable program or batch file.

    • profile image

      PREETI 7 years ago


    • profile image

      amar 7 years ago

      hi dear i got since few days some problem with my pc it´s a xp pro .hum the problem is when i initiate my pc allworkgoood untill the moment where all the page open like messenger skype and all of that the pc block i can´t open any other page even document etc.i think personnality it´s a virus that´s why.please i need help so soon possible

      thank you

    • profile image

      masdjab 7 years ago

      here is an easier way:

      download the url below, extract it. then right click enable_cmd.inf and click Install. here is the link:

    • profile image

      THANK U 7 years ago

      thank u very much. its working now after given the above command.

    • profile image

      aruna 7 years ago

      after giving that command which is ur given also the command prompt is not working.i don't why???please tell about that.

    • profile image

      Steve 7 years ago

      it didn't enable it and i need it to work >.

    • profile image

      Mayank Jain 7 years ago

      My command Prompt still not working, i have tried above method but it couldn't enable my command prompt.what should i do?

    • profile image

      sq 7 years ago

      excellent itz wprking

    • profile image

      hasham yousaf 7 years ago

      Does not open the command prompt.

      Then can't acess the derive with double click.

    • profile image

      Nitin 8 years ago

      my command prompt is not working i use all above three steps u have given,so please tell me complete solution,my task manager also removed,task manager is not shown when i press alt+ctrl+del so please give me solution for this.

    • profile image

      jencen 8 years ago

      this procedure still doesnt enable my command prompt