View Full Version : How to disable the Command Prompt???
can anyone tell me how to disabke the command prompt??
thanks, N/A
SyntaXmasteR
01-12-2005, 07:02 PM
There are many ways you can accomplish this...
First a couple questions:
1. Are you trying to disable it on a network or on a local machine
2. Are you trying to disable it from every user
3. What version of windows are you using
~SyntaXmasteR
i want to disable only on my computer nut for all users and can you tell me how to activate tooo and i am using windows xp home edition.
thanks, N/A
SyntaXmasteR
01-12-2005, 11:03 PM
Well XP home edition limits your options...
My best solution would be to delete the cmd shortcut from
C:\Documents and Settings\All Users\Start Menu\Programs\accessories\cmd
and also in each users directory
C:\Documents and Settings\%username%\Start Menu\Programs\accessories\cmd
Next disable RUN in the registry. Unless a user really knows what they are doing, they will have a hard time getting to the command prompt
Hope this helps ya~
Unregistered
01-13-2005, 05:53 PM
Why would u want to disable the command prompt?
Originally posted by SyntaXmasteR
Well XP home edition limits your options...
My best solution would be to delete the cmd shortcut from
C:\Documents and Settings\All Users\Start Menu\Programs\accessories\cmd
and also in each users directory
C:\Documents and Settings\%username%\Start Menu\Programs\accessories\cmd
Next disable RUN in the registry. Unless a user really knows what they are doing, they will have a hard time getting to the command prompt
Hope this helps ya~
well that didnt answer my question
In school you get security for computers and when you log on tyour server space and when you try CP it's not working It Says "the command prompt has benn diabled by your addministrator"
how do you do that at home?????
SyntaXmasteR
01-22-2005, 12:28 PM
Sorry i took for granted that you had a little knowledge about restrictions and computers. Your question was confusing also.
To answer your question: YOU CANT
This is why i explained a method of hiding it another way. The only reason it says that when you log into a computer at school is becuase active directory is restricting the process cmd.exe from running. Click start...run... and type mmc (Microsoft Management Console) This is what is blocking you from getting to the command prompt in school. You cant control that in windows xp home edition.
"The command prompt is disabled"...na... all that means is that the process cmd.exe cannot be running. Can you get to notepad? Well there ya go! Write up a batch script in notepad and run it if you cant do it manually~ If you can do it manually and the c: drive is hidden, open winword.exe (Microsoft Word) and hyperlink c:\ ~ Click it and theres your security hole.
In my eyes there are no such things as restrictions in windows...
Unregistered
01-23-2005, 12:40 AM
"The command prompt is disabled"...na... all that means is that the process cmd.exe cannot be running. Can you get to notepad? Well there ya go! Write up a batch script in notepad and run it if you cant do it manually~ If you can do it manually and the c: drive is hidden, open winword.exe (Microsoft Word) and hyperlink c:\ ~ Click it and theres your security hole.
BUT I DONT KNOW HGOW TO WRITE A BATCH SCRIPT, HOW DO I WRITE???
Unregistered
01-23-2005, 01:09 AM
in notepad write this:
start
save the file as "anything.bat" and execute it. you may try this before or after you have successfully restricted access to cmd.exe.
SyntaXmasteR
01-23-2005, 02:17 AM
If he cant write a batch script i dont think he knows the commands associated w/ writing them. Learn all about it here: http://www.computerhope.com/batch.htm#11
This should start you off just fine~ Once you learn and understand the commands you will see how they tie into your system and controlling it.
Unregistered
01-23-2005, 05:32 PM
Thanks for that.
Unregistered
01-23-2005, 05:34 PM
Originally posted by SyntaXmasteR
If he cant write a batch script i dont think he knows the commands associated w/ writing them. Learn all about it here: http://www.computerhope.com/batch.htm#11
This should start you off just fine~ Once you learn and understand the commands you will see how they tie into your system and controlling it.
What do you mean by EXECUTE it????
SyntaXmasteR
01-23-2005, 05:37 PM
What do you mean by EXECUTE it????
Run the script
Unregistered
01-23-2005, 10:39 PM
Originally posted by SyntaXmasteR
Run the script
like how in notepad??? i dont know how to run that script!!
can u tell me how plz???
SyntaXmasteR
01-23-2005, 11:03 PM
You have to save it as a .bat not a .txt
Now you can run it
Unregistered
01-23-2005, 11:30 PM
Originally posted by SyntaXmasteR
You have to save it as a .bat not a .txt
Now you can run it
you mean after u save it u reopen it and you can run it
SyntaXmasteR
01-23-2005, 11:37 PM
When you create the file in notepad you have to save it as a .bat - Yes you can click and run a .bat file - Just like you can click and run an .exe file
Unregistered
01-23-2005, 11:45 PM
Thank you for the help
satarul
01-24-2005, 01:31 AM
yeah, so you started from hiding your cmd.exe, and ended in learning how to access it from where it's hidden (at school for example). so in fact, is this what you want to find out? ask what you want to know, so people can really help you.
SyntaXmasteR
01-24-2005, 09:24 AM
Yes, please stop the foreplay and get straight to your questions ~ You cant get in trouble for knowlege...
Dont u know they block batch scripts in school..
Powered by vBulletin® Version 4.1.8 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.