Link to home
Start Free TrialLog in
Avatar of mapadu2000
mapadu2000

asked on

Disabling MSDOS Prompt in Windows 95

How can I disable or block the access to the MS-DOS prompt in Windows 95?
Avatar of d003303
d003303

- open the registry
- create the key
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\RestrictRun
- add "command.com" to the default value
Avatar of mapadu2000

ASKER

Making this changes to the Registry not worked.
oops, sorry ! That was a too quick answer. The RestrictRun value contains all applications that are ALLOWED to run. Maybe this can help you any further.

To disable Dos-Prompt in Win95.
1. Hide all  file  "command.com" .  You can use "Files Find"  to find all command.com  in your harddisk  and  rename   or delete its.  (try to rename to command.xxx )
2. Create  file  command.exe  by  delphi.(small  program to show Message Box "You can't run dos." ) . Laster copy your command.exe to  Windows95\command\  directory.
3. However your user may copy file command.com from another computer.
    So you can protected by hide drive A:  (use SUBST program)

Comment :
If there are both command.com , command.exe  . Windows95 will run command.com.  (You can't rename  EXE file to COM file) . To create com file you can you TC2.0 :)  or ASM. If you can't create you own COM file  try this.

  copy  doskey.com  command.com
How I block drive A:?
ASKER CERTIFIED SOLUTION
Avatar of wtamviset
wtamviset

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial