Recover un-saved notepad document after Windows Update reboot

As pointed out by ChrisF, your data is lost because of the reboot. Sorry.

To prevent such problems in the future, I'd recommend disabling the automatic reboot. Microsoft claims this is "by design", but do provide a way to disable it, by editing the registry:

HKEY_LOCAL_MACHINE \Software\Policies \Microsoft\Windows \WindowsUpdate\AU

Change the "NoAutoRebootWithLoggedOnUsers" DWord value to the required number.

0 = False (Allow auto-reboot) 1 = True (Disallow auto-reboot)

http://support.microsoft.com/kb/555444/en-us

Of course you should still reboot as soon as possible to avoid problems (with unpatched security holes, and with problems because of outstanding changes), but you can now do so at your leisure.

Note:

This should only be an issue for Windows XP SP1 and below; apparently in XP SP2 and later versions, Windows will no longer reboot on its own. It will still pop up reminders prompting you to restart, but it will only restart if you click the button in the popup.


In versions of Windows prior to Windows 10 Notepad didn't auto-save its open file so unfortunately you would have lost your work in situations like this.