Solved

Boot to safe mode

Posted on 2004-08-20
10
234 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
ID: 11857371
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
ID: 11857585
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
ID: 11857767
For Windows 9x/ME It actually is in a file called msdos.sys.

Edit that file.
0
 

Expert Comment

by:dguribe
ID: 11858084
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
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
LVL 5

Expert Comment

by:Dragonmen
ID: 11858481
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
ID: 11859376
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
ID: 11860800
I can't find msdos.sys. Im using xp pro.

whiwex
0
 
LVL 3

Assisted Solution

by:Stimphy
Stimphy earned 250 total points
ID: 11862977
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
VB6 Compile Compatibility Issue 4 87
Please explain: Aspect Oriented Programming 2 83
Base1 Encode/Decode 3 67
Please help| Getting the syntax error in below query. 2 42
This is about my first experience with programming Arduino.
Computer science students often experience many of the same frustrations when going through their engineering courses. This article presents seven tips I found useful when completing a bachelors and masters degree in computing which I believe may he…
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…
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 …

914 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

22 Experts available now in Live!

Get 1:1 Help Now