How to restore tired windows