Getting "Internal error: Failed to expand shell folder constant "userdocs"" error message while running a setup for installing a game.

I'm getting this error message: "Internal error: Failed to expand shell folder constant "userdocs"" while running a setup for installing the game Command & Conquer: Generals from https://www.magipack.games/2023/06/command-conquer-generals-full-game.html

I haven't got this error before when installing any game from magipack.games or any other site.

I'm using Windows 10 Pro. I had an SSD (being the boot drive) and a HDD for storing files but the HDD got messed up (it stopped working) and I lost some data including the "Downloads" folder (I guess the "Downloads" folder was on the HDD and now whenever I download something it goes in: "C:\Users\

And for some reason I have to choose a Sub-Topic for this forum and I don't see one that matches so I'll just put a random one.

Answer
Answer
See if temporarily restoring Documents to its default location helps.

Right-click on the "F:\Dokumenti" folder, and click Properties.

Click the "Location" tab.

Click "Restore Default"

Click "Apply".

When you're asked for confirmation to move the files to the default location, click "No".

Re-run the following command:

reg query "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders"

Post the output.
______________________________________________________________________________________________________

Ramesh Srinivasan
GMT +5:30

1 person found this reply helpful

·

Was this reply helpful?

Sorry this didn't help.

Great! Thanks for your feedback.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this reply?

Thanks for your feedback.

 
 

Question Info


Last updated April 20, 2025 Views 733 Applies to: