command prompt automatically closes after open

Status
Not open for further replies.
Solution
How are you opening it?

There is a possibilty that you have the following Registry setting configured:

HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows\System!DisableCMD
If you see the value 'DisableCMD' in the above location then simply delete it.

If you are not comfortable with editing the Registry then you will find this setting by going to:
Start > RUN
Type gpedit.msc and press OK

Navigate to: User Configuration > Administrative Templates > System
Look for the option 'Prevent access to the command prompt'
Double click it and choose 'Not Configured'

AGTDenton

Distinguished
Dec 16, 2008
87
0
18,660
How are you opening it?

There is a possibilty that you have the following Registry setting configured:

HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows\System!DisableCMD
If you see the value 'DisableCMD' in the above location then simply delete it.

If you are not comfortable with editing the Registry then you will find this setting by going to:
Start > RUN
Type gpedit.msc and press OK

Navigate to: User Configuration > Administrative Templates > System
Look for the option 'Prevent access to the command prompt'
Double click it and choose 'Not Configured'
 
Solution
Status
Not open for further replies.