View Full Version : Stop opening in safe-mode

12-31-2001, 10:55 AM
how can i prevent somebody from opening my computer in safe mode

I have win98 and as you all know by pressing F8 we can open in safemode that way bypassing the initial files - autoexec.bat etc.

What i want is that this option should be disabled and the computer has to run the autoexec.bat.

Can anybody help...?

12-31-2001, 02:19 PM
You use the switches command in your config.sys. I forget the switches for the command so you will probably want to look on MS's website. It's something like

switch /<switch1> /<switch2>

This command can disable several things in Windows 9x but again I don't remember what it can and cannot do.

01-01-2002, 04:24 PM
Go into your bios and turn on the power up/boot password. That way evertime you boot your computer you have to put the password in.

01-15-2002, 02:52 PM
bios passwords are circumventable in seconds on any system. All motherboards have a clear cmos jumper and a battery that powers the cmos. Removal of the battery or making the jumper clears the password or resets factory default password (commonly nothing).
Stopping config.sys from running is simple in windows 98. Short answer is that it is gonna be difficult or impossible to do what you want.If you could stop safe mode completely and then you need it you could be in trouble.

01-15-2002, 03:18 PM
Two words Stone: Case Lock

01-16-2002, 12:43 PM
Originally posted by Unregistered
Two words Stone: Case Lock

Yeah but then there's haxors with hack saws...

01-18-2002, 03:08 AM
well actually want i wanted was just how to get the F5 and F8 keys to be disabled. i wasn't thinking about evil haXxors doing some network mischief.

what is this 'case lock'??

02-01-2002, 05:51 AM
If you are talking about a program that you want loaded, and that someone else might not want to have loaded, you might try inseting it into your registry. If it is an environmental variable, you could make a program to putenv it and load that in your registry.

This is by no means foolproof, but might be somthing to consider.

Just be sure to back up your registry files before you mess with them.

02-01-2002, 04:54 PM
you use the switches command in your config.sys to disable the F5 and F8 keys.

02-01-2002, 05:56 PM
I believe the setting


in MSDOS.SYS will disable the F4 and F8 keys. I'm not entirely sure as I don't have 98 installed anymore.

02-03-2002, 05:52 AM
i used the switches=/n command in config.sys to stop the F5/F8 commands.

i'll see what the bootkeys thing will do.

Imperito :

Inserting into registry... How ??

02-03-2002, 09:59 PM
Careful with this ishir, you could do some bad things to your comp if you charge blindly into your reg.

First, make sure you have write access to reg (if on a network comp)

then, Run... regedit


Add a key, give it a name, and make the field a path to an exec. If you make the exec a system() command you can beat the system.

Then it should run when you turn your comp on.