PDA

View Full Version : enabling command prompt


Alonso
April 13th 03, 08:47 AM
Easy question. Somehow I disabled the command prompt or my access to it. I
am the administrator of my XP Pro PC. Every time I try to run it, the
command prompt window tells me it has been disabled by the administrator.
How can I enable the command prompt again?

David Levine
April 13th 03, 05:42 PM
How do you access the command prompt?

The Start menu shortcut (under Accessories) points to
C:\Windows\system32\cmd.exe. If you right-click on this shortcut you can
check the security tab to see if your current login has permission to run
this executable.

You can also run it by keying in cmd in the Run menu. You can get another
command prompt by entering command in the run menu, though this command
prompt is the "old-fashioned" command.com which is not as nice as cmd.

--
;-) good luck,

Dave

Alonso
April 13th 03, 09:25 PM
I went to the Accesories Menu, right clicked the command prompt shortcut
and checked the security tab. It is enabled for admistrators (myself), but
when I open it, there is a line that says "the command prompt has been
disabled by your administrator. Press any key to continue...". This also
happens when I type cmd in the run menu. The old command.com works fine, but
how can I make the cmd.exe be enabled or available?
"David Levine" > wrote in message
...
> How do you access the command prompt?
>
> The Start menu shortcut (under Accessories) points to
> C:\Windows\system32\cmd.exe. If you right-click on this shortcut you can
> check the security tab to see if your current login has permission to run
> this executable.
>
> You can also run it by keying in cmd in the Run menu. You can get another
> command prompt by entering command in the run menu, though this command
> prompt is the "old-fashioned" command.com which is not as nice as cmd.
>
> --
> ;-) good luck,
>
> Dave
>
>

David Levine
April 14th 03, 02:45 AM
Check out this page:
http://www.winguides.com/registry/display.php/1143/
Also, there is a group policy setting that applies to the cmd.exe prompt.
Run gpedit.msc and look in User Configuration, Admin. Templates, System,
Prevent access to the command prompt. Here's the "explanation" of that
policy setting:
Prevents users from running the interactive command prompt, Cmd.exe. This
setting also determines whether batch files (.cmd and .bat) can run on the
computer.

If you enable this setting and the user tries to open a command window, the
system displays a message explaining that a setting prevents the action.

Note: Do not prevent the computer from running batch files if the computer
uses logon, logoff, startup, or shutdown batch file scripts, or for users
that use Terminal Services.

Hopefully one of these things will get your command prompt back.


--
;-) good luck,

Dave

Alonso
April 14th 03, 06:53 AM
David !!!!!!!!!!!Thanks a lot !!!!!!!! I knew I had disabled it somewhere
but I didn't remember where. That solved my problem, thanks 1000 times.
"David Levine" > wrote in message
...
> Check out this page:
> http://www.winguides.com/registry/display.php/1143/
> Also, there is a group policy setting that applies to the cmd.exe prompt.
> Run gpedit.msc and look in User Configuration, Admin. Templates, System,
> Prevent access to the command prompt. Here's the "explanation" of that
> policy setting:
> Prevents users from running the interactive command prompt, Cmd.exe. This
> setting also determines whether batch files (.cmd and .bat) can run on the
> computer.
>
> If you enable this setting and the user tries to open a command window,
the
> system displays a message explaining that a setting prevents the action.
>
> Note: Do not prevent the computer from running batch files if the computer
> uses logon, logoff, startup, or shutdown batch file scripts, or for users
> that use Terminal Services.
>
> Hopefully one of these things will get your command prompt back.
>
>
> --
> ;-) good luck,
>
> Dave
>
>

Google