Solved

How does OSR2 do this???????

Posted on 1997-05-31
8
155 Views
Last Modified: 2013-12-16
How does Windows 95 OSR2 impliment the running of SCANDISK after a faulty shutdown of Windows 95.  Is there a modification to a .BATch file or what is it that is triggering this action.
0
Comment
Question by:Smedley
  • 3
  • 2
  • 2
  • +1
8 Comments
 
LVL 4

Expert Comment

by:henrie
ID: 1748505
The easiest way to for Win95 to see if a system has crashed is to see for the presence of a swapfile.
You can disable running auto scandisk by adding:
AutoScan=0 under [Options] in your msdos.sys file...

Hope this answers your question,

Henrie.

0
 
LVL 2

Author Comment

by:Smedley
ID: 1748506
Henri I understand what you are suggesting about AutoScan=0 in MSDOS.SYS but I cannot see how that presence or otherwise of a SwapFile can cause ScanDisk to run or not as the computer is restarted.  That setting is going to cause or not cause ScanDisk to run every time.
 
I am not asking about settings for it I am asking what the trigger is that runs ScanDisk after an unsatisfactory ShutDown of Windows 95 OSR2.
 
Previous versions of Windows did not work this way.
 
The non-existance of a SwapFile on my system I have the Swapfile set to a fixed minium and maximum size and the file is always present even if the machine has "crashed"

0
 
LVL 2

Author Comment

by:Smedley
ID: 1748507
For anyone who may be interested I found a pretty good description in the Microsoft Knowledge Base about this behaviour of Windows 95 OSR2, its at:
 
http://www.microsoft.com/kb/articles/q152/4/04.htm
 
Basically it has qnswered the question for me.
0
 
LVL 12

Expert Comment

by:j2
ID: 1748508
It just checks for a "Clean shutdown" flag, if it isnt present, the system was abnormally terminated, and a scadisk is triggered.
0
Do email signature updates give you a headache?

Do you feel like all of your time is spent managing email signatures? Too busy to visit every user’s desk to make updates? Want high-quality HTML signatures on all devices, including on mobiles and Macs? Then, let Exclaimer solve all your email signature problems today!

 
LVL 4

Expert Comment

by:henrie
ID: 1748509
And we didn't read it? Come on j2...


0
 
LVL 4

Expert Comment

by:henrie
ID: 1748510
Smedley, try a message to customer support explaining you answered the question yourself and they will refund your points...

CU,
Henrie.

0
 
LVL 14

Accepted Solution

by:
smeebud earned 100 total points
ID: 1748511
It's hard programed in OSR2's schedule of activities. You can stop it as henrie suggested. However, if you want a programers explaintion.
Go to
0
 
LVL 14

Expert Comment

by:smeebud
ID: 1748512
Opps,
Go to these newsgroups and ask the question:
comp.os.ms-windows.programmer.misc
comp.os.ms-windows.win95.misc

Unless you are a programer, the responces may be evasive.

Good Luck
0

Featured Post

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

Windows Mobile Barcode Scanning These days almost every product has a barcode in some way... amongst there are 1D barcodes en 2D barcodes.. From http://www.barcodeman.com/faq/2d.php I found some handy definitions and insights. 1D barcodes …
Sometimes drives fill up and we don't know why.  If you don't understand the best way to use the tools available, you may end up being stumped as to why your drive says it's not full when you have no space left!  Here's how you can find out...
Windows 8 comes with a dramatically different user interface known as Metro. Notably missing from the new interface is a Start button and Start Menu. Many users do not like it, much preferring the interface of earlier versions — Windows 7, Windows X…
The Task Scheduler is a powerful tool that is built into Windows. It allows you to schedule tasks (actions) on a recurring basis, such as hourly, daily, weekly, monthly, at log on, at startup, on idle, etc. This video Micro Tutorial is a brief intro…

708 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

13 Experts available now in Live!

Get 1:1 Help Now