In explorer go to Tools, Folder Options, and under the View Tab check the box for "Restore previous folder windows at logon". I don't think there is any way to preserve a running program or an open documents etc, on a reboot. Sleep or hibernate maybe but on a reboot, good luck with that.