A little clarification here:
This issue is entirely down to Windows permissions, security, and user account privileges. It's not really something that can be "fixed" by any program. Whenever a user changes the way that Windows functions, it may also change the way that Windows tries to find the directory paths to already installed programs. It's a passingly common thing for programs to stop functioning or even appear to have disappeared completely after an OS update or re-installation.
Unfortunately, the only way to "fix" this is to:
1.) Prevent it. (Which is the purpose of the OP.
)
2.) Reinstall the game. (This will create new directories for the game under the new Windows structure.)
3.) Manually configure Windows to recognize the old install path. (This would involve not only bypassing Windows security using command prompts, but also editing both files and Registry entries, and this will be different for different programs. For most players...it's probably safer and easier to simply re-install.)
In general, backing up all important data is a very important and often overlooked step before any OS update / change. There's nothing that can be done through CDPR to fix this.