Solved

Automatically restarting Win95 in safe mode

Posted on 1998-09-26
4
236 Views
Last Modified: 2010-04-30
I want to restart windows( I have that code) and then let Windows95 restart into SAFE MODE, so that none of the start-up programs load.  I want to do this only with code.
0
Comment
Question by:bomax
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
4 Comments
 
LVL 3

Accepted Solution

by:
a111a111a111 earned 100 total points
ID: 1436789

Here are the valid boot options (for the preview version) which you can add/remove from the MSDOS.SYS text file. ***Don't forget to make a backup copy of
the file before modifying it.
Observe notes annotated by (X)

[options](1)    Default Action                              Non-default action


=================================


BootSafe        =1 Safe Mode startup available


So make it in the shell and let it run,.
0
 
LVL 3

Expert Comment

by:a111a111a111
ID: 1436790
For more information about Boot see:
http://engine.ieee.org/magazines/95help/win4000e.htm


If you need any more help let me know.

shayplace@hotmail.com
0
 
LVL 3

Expert Comment

by:a111a111a111
ID: 1436791
One more source of info: http://www.winmag.com/library/1995/0795/07HOWTO.htm

Now, Maybe I am in the wrong direction and it can be done by API or by modification of the Registry...

But you can have 2 files one is original MSDOS.SYS and the second is MSDOS.SAF.
By swapping the files and the names, you can have windows restart in safe mode upon command from VB.

0
 

Author Comment

by:bomax
ID: 1436792
thanx
0

Featured Post

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

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

Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…

751 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