Main Topics
Browse All TopicsI may just be spacing here, but I seem to recall a way that there was to prevent applications from being run from the command line. Here's the situation. I blocked access to the C: drive and to certain applications on the C: drive using group policy. I knew that blocking certain applications in group policy would not work from the command prompt, which is why I prevented access to the C: drive. When you go to start > Run then type c:\, it comes up properly and blocks the drive from coming up. But when you run cmd.exe, then change drives, the drive is fully accessible.
I really thought there was a way to stop that....and I'm either wrong or I just cannot remember how to do it. Can anyone offer a quick fix to this? It seems stupid to block access to everything EXCEPT if you go into the command prompt.
FYI...I don't want to block access to the command prompt simply because the students need access to TCP/IP diagnostic tools for their networking classes.
Thanks in advance!
James
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
The above may not block access to command.com, but this will:
http://www.experts-exchang
--> http://www.windowsnetworki
This solution uses file hash, so that even renaming command.com or running it from a floppy won't work.
Thanks for the suggestions folks, but notice the part of my question where I WANT them to have access to the command prompt, but NOT to the applications. They need access to the command prompt for their classes.
In any event, I figured it out. It was the software policy portion of group policy. I created a path statement and a hash statement to be disallowed for the applications I do not want students to use. They can now no longer execute the program from the command prompt.
James
Business Accounts
Answer for Membership
by: callrsPosted on 2006-06-26 at 18:07:32ID: 16989092
# 302 "Disable CMD", here: http://www.kellys-korner-x p.com/xp_t weaks.htm