If it work in sand box, that, your conclusion is correct, something is not working properly with Deskscapes. And if cleanboot don't help. It most probably something wrong with Windows itself. What you can try to check with these two steps below.
Please try the following:
-For Win8/10/11 Users: Open the Start Screen, and type 'cmd'. Right-click on the search result and select 'Run as administrator' from below.
-Type: sfc /scannow
-Wait for the scan to complete (this can take several minutes)
Some help on how this looks should you need it:
https://support.microsoft.com/en-us/help/929833/use-the-system-file-checker-tool-to-repair-missing-or-corrupted-system
If the SFC finds errors, but cannot fix them, please also run the following command in the same command prompt window:
dism.exe /online /Cleanup-Image /RestoreHealth
Some help on how this looks should you need it:
https://www.windowscentral.com/how-use-dism-command-line-utility-repair-windows-10-image
The above command should assist with replacing any damaged or problematic system files. Please note, however, since it may require restoring certain files, this process can take some time and you will need to be patient until it has completed.
Please let me know whether this resolves your problem or if you have any additional questions.
Try that and report back.
Thank you,
Basj,
Stardock Community Assistant