Ansys Learning Forum › Forums › Installation and Licensing › Ansys Products › Unable to open Ansys Electronics Desktop Student 2023 R2 › Reply To: Unable to open Ansys Electronics Desktop Student 2023 R2
November 15, 2023 at 8:34 pm
randyk
Ansys Employee
Hi Guohao,
This message is the result of your 'my documents' folder location.
For windows we are using the windows call
HRESULT hr = ::SHGetFolderPath(NULL,
                CSIDL_PERSONAL | CSIDL_FLAG_CREATE,
                NULL,
                SHGFP_TYPE_CURRENT,
                buffer);
Â
to get the system path, and if that fails using the same call with SHGFP_TYPE_DEFAULT instead of SHGFP_TYPE_CURRENT.
Â
This should mean the value we are using are stored in the registry under one of the two places.
Â
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders\Personal
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders\Personal
Â
Â
The best way to change the values is to go to:Â
Start -> Your Name (aka open your own personal folder)Â
Right Click "My Documents"Â -> Properties -> Location
ref: ANSYS KB 2039429
ref: ANSYS KB 2039429