Stop opening in safe-mode

This is a discussion on Stop opening in safe-mode within the A Brief History of Cprogramming.com forums, part of the Community Boards category; how can i prevent somebody from opening my computer in safe mode I have win98 and as you all know ...

  1. #1
    I'm Back
    Join Date
    Dec 2001
    Posts
    556

    Question Stop opening in safe-mode

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

  2. #2
    Super Moderator VirtualAce's Avatar
    Join Date
    Aug 2001
    Posts
    9,590
    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.

  3. #3
    & the hat of GPL slaying Thantos's Avatar
    Join Date
    Sep 2001
    Posts
    5,681
    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.

  4. #4
    Skunkmeister Stoned_Coder's Avatar
    Join Date
    Aug 2001
    Posts
    2,572
    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.
    Free the weed!! Class B to class C is not good enough!!
    And the FAQ is here :- http://faq.cprogramming.com/cgi-bin/smartfaq.cgi

  5. #5
    Unregistered
    Guest
    Two words Stone: Case Lock

  6. #6
    Registered User
    Join Date
    Jan 2002
    Location
    Vancouver
    Posts
    2,220
    Originally posted by Unregistered
    Two words Stone: Case Lock
    Yeah but then there's haxors with hack saws...

  7. #7
    I'm Back
    Join Date
    Dec 2001
    Posts
    556
    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'??

  8. #8
    Evil Member
    Join Date
    Jan 2002
    Posts
    638

    Lightbulb Perhaps...

    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.

  9. #9
    Super Moderator VirtualAce's Avatar
    Join Date
    Aug 2001
    Posts
    9,590
    you use the switches command in your config.sys to disable the F5 and F8 keys.

  10. #10
    S­énior Member
    Join Date
    Jan 2002
    Posts
    982
    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.

  11. #11
    I'm Back
    Join Date
    Dec 2001
    Posts
    556
    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 ??

  12. #12
    Evil Member
    Join Date
    Jan 2002
    Posts
    638
    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.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. User mode and Kernel Mode
    By learner01 in forum Linux Programming
    Replies: 9
    Last Post: 08-10-2006, 08:20 PM
  2. User mode and Kernel mode
    By learner01 in forum C++ Programming
    Replies: 7
    Last Post: 08-09-2006, 02:38 PM
  3. problem with open gl engine.
    By gell10 in forum Game Programming
    Replies: 1
    Last Post: 08-21-2003, 04:10 AM
  4. Running in full screen mode!
    By Skute in forum Game Programming
    Replies: 0
    Last Post: 12-10-2001, 02:56 AM
  5. Safe Mode on FreeBsd
    By Unregistered in forum A Brief History of Cprogramming.com
    Replies: 1
    Last Post: 10-25-2001, 09:37 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21