How do I Redeem Microsoft Code? Once you've passed this additional layer of security, you'll land on the “Security settings” page. Scroll down and look for the section labeled “Recovery code”. Click on Get recovery code (or Replace recovery code if you already have one). Your new recovery code is displayed.