中国DOS联盟论坛

China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --
Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
Guest | Log in | Register | Members | Search | China DOS Union
中国DOS联盟论坛
The time now is 2026-08-25 18:34
47,812 topics / 349,910 posts / today 0 new / 48,263 members
其它操作系统综合讨论区 » [Help]How does Windows 98 determine if the previous shutdown was an improper shutdown?
Printable Version  3,230 / 17
Floor1 zjktxwd Posted 2003-04-28 00:00
初级用户 Posts 20 Credits 193
May I ask how Windows 98/ME/2000/XP determine whether the previous shutdown was an illegal shutdown when booting, and then perform the self-check?
Floor2 红色狂想 Posted 2003-04-28 00:00
金牌会员 Posts 1,501 Credits 4,289 From 河南省
This is not difficult. There are multiple methods. For example, when the system starts, create a temporary file. When the shutdown program is executed, it will automatically delete it. If it is an illegal shutdown, such as power failure, etc., the system doesn't have time to execute the shutdown program, so this temporary file can't be deleted. When the system restarts again, it will check whether this temporary file exists. If it exists, it proves that the last time was an illegal shutdown, and corresponding processing is needed at present...
Floor3 Dark-Destroy Posted 2003-04-28 00:00
元老会员 Posts 3,551 Credits 8,312
Then it's the same as the approach of MS OFFICE
Floor4 小灵儿 Posted 2003-04-28 00:00
高级用户 Posts 349 Credits 929
I only know that if there was an illegal shutdown on WINDOWS2000 last time, then the startup this time is extremely slow
Floor5 Dark-Destroy Posted 2003-04-28 00:00
元老会员 Posts 3,551 Credits 8,312
I'm not very familiar with WIN2000!
Floor6 langhua Posted 2003-04-28 00:00
银牌会员 Posts 461 Credits 1,225
Practice makes perfect.
If you want to know, you have to practice. If you power off illegally many times, maybe you can find out~~
Hehe~
Floor7 Dark-Destroy Posted 2003-04-29 00:00
元老会员 Posts 3,551 Credits 8,312
Probably!!
Floor8 zjktxwd Posted 2003-04-29 00:00
初级用户 Posts 20 Credits 193
hehe, what the person above said is right, maybe it's like that, just because I don't know so I'm asking?
What exactly is going on?
May I ask the person on the 2nd floor, which file exactly is it?
Floor9 红色狂想 Posted 2003-04-29 00:00
金牌会员 Posts 1,501 Credits 4,289 From 河南省
The people who know which file are very few, only Microsoft knows best, after all, Windows is a huge system. By the way, zjktxwd, what on earth are you asking this for?
Floor10 zjktxwd Posted 2003-04-29 00:00
初级用户 Posts 20 Credits 193
I have a machine here, and the C drive is protected by Lenovo's hard disk protection card (that is, the C drive restores after restart). I think since that's the case, the C drive is the same every time I start the computer. But sometimes the Windows self-check screen appears, which is quite strange.
Floor11 pfox Posted 2003-04-29 00:00
银牌会员 Posts 446 Credits 1,451
I think it might be recorded somewhere on the hard disk. It shouldn't be recorded in that file because I installed multiple operating systems. After an abnormal shutdown of XP once, an error occurred during the process of installing a new XP in another partition, prompting something like a previous abnormal shutdown or hardware problem. After scanning in the original XP and then installing the new system in the new partition, it could be installed normally. So I suspect it's recorded in the hard disk rather than in that file.
Floor12 红色狂想 Posted 2003-04-29 00:00
金牌会员 Posts 1,501 Credits 4,289 From 河南省
If there is a Windows self-test screen, can't you turn it off?
Floor13 Dark-Destroy Posted 2003-04-29 00:00
元老会员 Posts 3,551 Credits 8,312
The technology used by the protection card is hard disk mapping method. Simply put, it is to create a virtual disk
Floor14 playboy2925 Posted 2003-05-04 00:00
银牌会员 Posts 393 Credits 1,275
There is another situation: the first restart after reinstalling the system by formatting with CD boot after an illegal shutdown last time also requires self-check.
Floor15 pfox Posted 2003-05-04 00:00
银牌会员 Posts 446 Credits 1,451
So I think it should be recorded in the boot sector or somewhere on the hard disk, not in a file.
1 2  Next
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023