Hello Tyler Holland, welcome to Microsoft Q&A forum.
The error message clearly says “the app must be installed to the system drive”, but I don’t see you mention explicitly checking that. Have you confirmed that the install location for new apps is set to the C: drive and tried installing there? Even if Windows itself is installed on C:, this setting can point to another drive, and the Store uses this setting for app installs.
If not, please do this first: Go to Settings > System > Storage > Advanced storage settings > Where new content is saved, and under “New apps will save to”, make sure it is set to C: (your system drive). After that, retry installing the app from Microsoft Store.
If you have already done that and the error persists, the PowerShell message indicates that the Microsoft Store components are compromised. The only supported way to restore the Store in this situation is to reset or reinstall Windows.
- Download the latest Windows 11 ISO from Microsoft’s official site.
- Run
setup.exefrom the ISO. - Choose Keep personal files and apps.
- Complete the installation. This will restore Microsoft Store and other system components without wiping your data.
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.