PDA

View Full Version : Stop opening in safe-mode



ihsir
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...?

VirtualAce
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.

Thantos
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.

Stoned_Coder
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.

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

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

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

ihsir
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'??

Imperito
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.

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

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

BootKeys=1

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

ihsir
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 ??

Imperito
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

HKEY_LOCAL_MACHINE_/Software/Microsoft/Windows/CurrentVersion/Run/

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.