Restart Manager: it was never so easy to recover from an application hang

Restart Manager: it was never so easy to recover from an application hang

Apr 28, 2020 / By : / Category : 老域名购买

One Windows Vista feature that Microsoft heavily touted at Tech Ed 2006 was Windows Vista's Restart Manager technology. Restart Manager allows applications that crash or otherwise hang to be restored to a usable state with any recoverable data intact. In order for software to take full advantage of the technology, it must be written with Restart Manager in mind. Yesterday at Tech Ed 2006, Microsoft product managers Elsie Nallipogu and David Zipkin displayed the power of Restart Manager using Microsoft Office 2007 applications for their examples. Office 2007 has knowledge of Restart Manager, hence making it a prime example for crash recovery. 老域名购买

In one example, Nallipogu forced Word to bomb. Vista, noticing the crash, prompted Nallipogu to either continue waiting or restart Word. Because the application was designed to be used with Restart Manager, it not only restarted without a reboot but also attempted to restore its previous state. This process is different than Word's auto recovery functionality because it's the operating system performing the state restore, not the application itself. If a state restore would happen to fail, Vista goes searching online for documentation about the problem and may install necessary patches to prevent future problems. Microsoft has automated most of the recovery process so that users will only have to click a few OKs in order to get back up and running again.

As I mentioned earlier, developers need to be conscious of Restart Manager. Microsoft has added new Win32 APIs so that an application can detect a hang and perform I/O cancellation. Another feature that developers may find useful is the next generation Windows Error Reporting service, called Windows Feedback Platform. When an application breaks, it can optionally check for a solution to the problem online and document the issue at hand. Developers can then use Microsoft's developer portal to view information about errors and provide solutions to their customers. Customers can also search the same database for solutions posted by developers.

No Comments