> I couldn't open Notepad ... an error (0x803f8001) with Microsoft Store's licensing service stopped me

I wonder if it works at all with no online connection to that store.

Reminds me of this MacOS problem: https://news.ycombinator.com/item?id=25074959