Cleverly solve computer insomnia

  
        

One day, a friend called and said that there was something wrong with her computer, let me help solve it. I only know what happened after the question:

The original friend had to go out because of something, but the time was not long, so I wanted to put the computer into sleep mode (Windows 98), but click "Start → After shutting down the system, I was surprised to find that the item "putting your computer to sleep", which has always been ranked first, is gone!

She never noticed when this item was missing. When she came back and restarted the system, the problem remained! Although she is a teacher who loves to think, she is still puzzling, so I asked for advice.

After listening to her narrative, my first reaction was to ask if she had ever gone wrong in sleep mode and crashed. Because this is mostly caused by Windows disabling this feature in the registry after a crash in sleep mode. If this is the case, the problem is easier to handle, just modify the relevant key values ​​in the registry. But the answer that my friend gave me was: I have never had this before. Worse, this road is nowhere!

I thought of the second possibility: advanced power management support. In general, computers purchased today support advanced power management features. My friend told me that she used this function very well before, and did not delete any files under Windows. The motherboard driver was reinstalled, and the project in CMOS has not been changed. Ugh! It seems that this is also a dead end, or find another way. Thinking about it, since we can't solve the problem from the outside, why not think from the inside from another angle?

Everyone knows that the process of going to sleep is actually the process by which Windows dispatches items in physical memory to virtual memory. Following this line of thinking, I gradually focused my attention on virtual memory. Since the sleep state must use virtual memory, what happens if Windows disables virtual memory? Crash? Black screen? Illegal operation? Can't enter standby? Who knows, anyway, Windows can do anything! It seems that I can only do it myself.

To confirm this result, I open "Start → Settings → Control Panel → System" on my computer, go to the "Virtual Memory" subpage of the "Performance" tab, and "Disable Virtual Memory" In the previous box, a small hook (see Figure 1) was pressed and the "OK" button was pressed. Ignore Windows warnings and restart! After entering the system again - what? My sleep mode is gone! Quickly enable virtual memory, reboot again, sleep mode is back! In order to confirm whether the friend's question is also related to this, I dialed her phone number... The friend replied: I already have 256MB of memory, and what about virtual memory? Of course, I will disable it, and the warning from Windows just means that the system may not be able to restart after being disabled, and the restart function of my computer has been normal. Hey, how can you believe in Windows?

So, no matter how large the physical memory is, the meaning of virtual memory for sleep mode is irreplaceable by physical memory. In contrast, Windows XP manages this much better. Its virtual memory (ie pagefile.sys) is dedicated to data exchange. In standby mode, data remains in physical memory, and sleep mode also has its own dedicated sleep file. (Hiberfil.sys), unlike Windows 98, it's a double heart! So qualified friends will quickly upgrade to Windows XP.

Copyright © Windows knowledge All Rights Reserved