Windows cannot access the specific device, path or file

I had corrupted my registry I think. I made a new account in Windows. Shut down the Microsoft account in my original MS Store log in then logged into the new Windows account. Then went into MS Store and logged in, using the original Store account again. It reset everything.