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?
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
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
ASKER
How I block drive A:?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
- create the key
HKEY_CURRENT_USER\Software
- add "command.com" to the default value