Disabling the Comand Prompt

  • Thread starter Thread starter Tony
  • Start date Start date
T

Tony

I need to disable the command Prompt in a windows 2000
domain. Can someone please provide some pointers? Thanks.
 
I need to disable the command Prompt in a windows 2000
domain. Can someone please provide some pointers? Thanks.

I must ask why you _need_ to do this?
Another question, do you use login scripts, or scripts within group
policy?

Clay Calvert
(e-mail address removed)
Replace "W" with "L"
 
del %windir%\system32\cmd.exe

Okay, let's not really do that... This can be done via a policy. I don't
know anything about policies, really, I just know that that is how it is
disabled for ordinary on the Terminal Services servers where I work. You
may try asking in a group that is more likely to help with group policy
questions.

Ray at home
 
Open the "Group Policy" editor (gpedit.msc)
Click + User Configuration
+ Administrative Templates
System
Double-click "Disable the command prompt"
Click Enabled
Click OK

Austin M. Horst
 
Major said:
Ray at said:
Ndi said:
del %windir%\system32\cmd.exe

Can't, file is in use :)

Oh yeah. That was dumb. :]

so then delete it from the dll cache, then delete it from the system32 dir
;-)

And then it is restored from the %windir%\servicepackfiles\i386 folder
if it exists ;-)

(or the i36 folder from the OS "CD" if it is available from the
harddisk/network)
 
Okay, then extract the hard drive from the computer and give the user a
typewriter.

Ray at work

Torgeir Bakken (MVP) said:
Major said:
Ray at said:
Ndi wrote:
del %windir%\system32\cmd.exe

Can't, file is in use :)

Oh yeah. That was dumb. :]

so then delete it from the dll cache, then delete it from the system32 dir
;-)

And then it is restored from the %windir%\servicepackfiles\i386 folder
if it exists ;-)

(or the i36 folder from the OS "CD" if it is available from the
harddisk/network)


--
torgeir
Microsoft MVP Scripting and WMI, Porsgrunn Norway
Administration scripting examples and an ONLINE version of the 1328 page
Scripting Guide: http://www.microsoft.com/technet/scriptcenter
 
Ray at said:
Torgeir said:
Major said:
Ray at <%=sLocation%> wrote:
Ndi wrote:
del %windir%\system32\cmd.exe

Can't, file is in use :)

Oh yeah. That was dumb. :]

so then delete it from the dll cache, then delete it from the system32
dir ;-)

And then it is restored from the %windir%\servicepackfiles\i386 folder
if it exists ;-)

(or the i36 folder from the OS "CD" if it is available from the
harddisk/network)

Okay, then extract the hard drive from the computer and give the user a
typewriter.

<LOL> All to avoid that ugly command prompt <VBEG>
 
Back
Top