You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hardcoding the user's home directory on Windows breaks when the AppData\Roaming directory is moved. This also can cause issues on non-english systems.
You should pull the %APPDATA% environment variable. Anytime this is used in a domain environemnt with AppData\Roaming moved to a network share, it will break any application that uses it to store information there because it will either be denied access or it will end up on the C drive where it will not successfully roam with the profile.
EDIT: Reading from APPDATA is present in a roundabout way. Why is it not working on Windows 10? Does the OS identifier need to be updated?
The text was updated successfully, but these errors were encountered:
fouram
changed the title
This breaks Windows - Don't hard-code paths!
APPDATA not being detected Windows 10
Mar 25, 2022
Hardcoding the user's home directory on Windows breaks when the AppData\Roaming directory is moved. This also can cause issues on non-english systems.
You should pull the %APPDATA% environment variable. Anytime this is used in a domain environemnt with AppData\Roaming moved to a network share, it will break any application that uses it to store information there because it will either be denied access or it will end up on the C drive where it will not successfully roam with the profile.
EDIT: Reading from APPDATA is present in a roundabout way. Why is it not working on Windows 10? Does the OS identifier need to be updated?
The text was updated successfully, but these errors were encountered: