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

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