Command Prompt disabled by virus

by Rohit Khurana on July 15, 2008



We receive around 60 percent of the problems related to the troubles caused due to virus infection. These days virus spread so easily through the pen drives and other portable drives, it has become very difficult for a normal person to protect his/her computer system.


Most common problems which are generally caused by the virus which spread through USB pen drives are:

  1. Task Manager disabled problem in windows xp
  2. Folder options disabled by Virus / Trojan
  3. Registry editing has been disabled by your administrator

Another most common problem faced due to virus infection is when certain types of virus like rontokbro or brontok, disable command prompt, we have also covered the removal of brontok virus.


There are also cases when the user reported that their computer restart when they try to launch command prompt, or command prompt blinks for a second and nothing happens. 


Let’s see how can you enable your command prompt again when it is disabled by a virus.


There has been two most successful methods with which you can enable your disabled command prompt.


Method 1:

The simplest method to get your command prompt back is to add a registry key , but you should be having registry editing is enabled.   


1. Open Start >> Run and type the following command ( or just copy it )   


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


2. Copy the above command and press Enter.

This will solve your trouble and your command prompt will be enabled.


Note: Method 1 may not work when your system is severely infected by a virus and even the registry editing is disabled due to which you are not able to run the above command from run prompt.


Method 2:

It involves a tool called RRT – Remove Restrictions Tool by sergiwa which can enable the disabled command prompt by virus.


It also helps in removing other restrictions which are also caused due to virus infection listed below.

  • Disable Folder Options
  • Disable Registry Tools
  • Disable Ctrl+Alt+Del
  • Disable Show hidden files & folders come with hidden attribute set to true!
  • Disable Run Command

Other than it also includes fixes for the removing 38 restrictions that are caused by different types of viruses.


Note: Make sure you boot in to Safe Mode to use Remove Restrictions Tool (RRT). Just click on the buttons and it’ll do it’s job.


The limited version is RRT tool is for FREE for personal use only. If you would like to use the application in a business environment you are required to license the application.    


We hope at least one of method given above will help to fix the trouble.

[ Download RRT ]


Technorati Tags: Command-prompt-disabled,,

If you like this article or this article helped you, you can +1 to recommend this article on google plus.

You can follow us on Twitter or join our Facebook Fan Page. If you have a question to ask us, submit your question at Answers By Trouble Fixers.

Looking for something else? Search here :

{ 19 comments… read them below or add one }

Madhur Kapoor July 15, 2008 at 10:57 pm

Luckily i haven’t faced this problem till No. I am bookmarking this post for future if i might face the problem

Gerald July 16, 2008 at 8:26 am

Does the virus/registry entry also prevent using a renamed copy of cmd.exe?

Ajay babu January 20, 2009 at 1:32 am

This is Ajay. I have a problem. PRINTER is sharing in server
side, but printer is not opened in client side. it asks guest password. I can desadle guest user in server side. but not use
PLZ help me

Thanks & regards
Ajay babu

Rara January 20, 2009 at 4:05 am

Method #1 worked for me. I applied a number of other suggestions to no avail. I almost did a reformat, whew! I’m truly thankful for your post. Keep up the good work! Thanks! Hugs. >:D<

salome January 30, 2009 at 12:21 am

my name is jack,, I have a problem with my computer,,,i can’t open my commmand prompt and the task manager,,when i open my command prompt the computer remains shut down… I can’t use my comman prompt… plz help me in this problem!!

thanks and regards

himanshu johari March 28, 2009 at 3:38 am

my pc infected by the virus this virus make a .exe folder in every drive and every folder & command prompt,task manager is disabled by this how i remove this virus.

thank’s & regards

himanshu johari

max August 12, 2009 at 7:29 am

hello man

im facing a problem with command prompt

i try running “cmd” from Run in start but the command prompt doesnt show up

i tried method 1 but the command prompt just pops up and goes within a second…..will be trying RRT, will it work??

jonvsnoise October 6, 2009 at 3:18 am

what if you can’t open your command prompt?..

Black_Agent January 7, 2010 at 5:57 am

my command prompt is not working, it is disabled by virus what will i do, I cant understand it!!…plzz. help me

Black_Agent January 7, 2010 at 6:01 am

where will I find C:\WINDOWS\pc-off.bat??

ahwebaba August 2, 2010 at 6:40 pm

still not working

Amol p March 18, 2011 at 11:27 pm


im facing a problem with command prompt

i try running “regedit” from Run in start but the command prompt doesnt show up

i tried but the command prompt just and goes within a second…..
please solve my Problem

Amol p March 18, 2011 at 11:28 pm


im facing a problem with command prompt

i try running “regedit” from Run in start but the command prompt doesnt show up

i tried but the command prompt just and goes within a second…..
please solve my Problem

moon May 17, 2011 at 10:36 pm

thank you the first method solve my problem and my command prompt now is enabled really iam so happy ;

Latest chauhan June 2, 2011 at 10:11 pm

plz……….. My Dear Friend Send Any Virus Making Tips?
help me……………….

Allen June 23, 2011 at 11:38 am

Hi ‘m Allen,
i can’t open my command prompt….even if i try to do so,it stays open for abt 3 secs and gets terminated automatically…….
please help me with this….

Janki Doshi September 22, 2011 at 9:09 pm

i have a problem..
my command promt does nt work wen i open it ..
it displays that “the command promt is disabled by the administrator and press any continue..”
and run from start menu is also nt working..
so reply fast..

Leave a Comment

Previous post:

Next post:

© TroubleFixers – All about fixing computer troubles2007-2016 . All Rights Reserved.