Solved

Boot to safe mode

Posted on 2004-08-20
10
233 Views
Last Modified: 2010-04-17
Is there a way to force a boot to safe mode without having to hit the f8 key.  I am writing macro and need to boot tosafe mode. Do you know what commands I need.

Thanks
Whiwex
0
Comment
Question by:whiwex
10 Comments
 
LVL 12

Accepted Solution

by:
Gary Dewrell earned 250 total points
Comment Utility
Hi whiwex,
You did not mention what os you wanted to do this in but check this out and see if it will help.
http://www.winguides.com/registry/display.php/213/

God Bless
0
 

Author Comment

by:whiwex
Comment Utility
I'm using XP but I need to do it for 98 and ME also.

Where in the registry should this be added?

Thanks
WHiwex
0
 
LVL 12

Expert Comment

by:Gary Dewrell
Comment Utility
For Windows 9x/ME It actually is in a file called msdos.sys.

Edit that file.
0
 

Expert Comment

by:dguribe
Comment Utility
Hello

hope you are not designing a virus!!
i check here and there is interesting information
http://www.winguides.com/registry/display.php/213/

0
Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

 
LVL 5

Expert Comment

by:Dragonmen
Comment Utility
Try this:
Win98/ME:
Edit the autoexec.bat so that it's first line have this: C:\WINDOWS\ WIN /D: M
Win2000/XP:
Add a new value of 'BootSafe=' to MSDOS.SYS.
Set the value to '1' to always boot in Safe mode or '0' to run normally

Don't forget to delete these lines when finished, and don't forget that msdos.sys is hidden+readonly.

I hope this helps
0
 

Author Comment

by:whiwex
Comment Utility
dguribe

I'm not designing a virus. I'm writing a macro that will run several anti spyware removal programs. When one program is  finished I want to reboot and run the next program. It's best to run these programs in safe mode.

Thanks
whiwex
0
 

Author Comment

by:whiwex
Comment Utility
I can't find msdos.sys. Im using xp pro.

whiwex
0
 
LVL 3

Assisted Solution

by:Stimphy
Stimphy earned 250 total points
Comment Utility
0

Featured Post

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Fix45 challenge 15 83
object oriented javascript web form 8 71
nestparen challenge 4 55
Eclipse Neon start with Admin account only 6 44
Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
This is about my first experience with programming Arduino.
An introduction to basic programming syntax in Java by creating a simple program. Viewers can follow the tutorial as they create their first class in Java. Definitions and explanations about each element are given to help prepare viewers for future …
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now