


{"id":317869,"date":"2023-11-15T20:34:07","date_gmt":"2023-11-15T20:34:07","guid":{"rendered":"\/forum\/forums\/reply\/317869\/"},"modified":"2023-11-15T20:34:07","modified_gmt":"2023-11-15T20:34:07","slug":"317869","status":"publish","type":"reply","link":"https:\/\/innovationspace.ansys.com\/forum\/forums\/reply\/317869\/","title":{"rendered":"Reply To: Unable to open Ansys Electronics Desktop Student 2023 R2"},"content":{"rendered":"<p>&lt;p&gt;Hi Guohao,&lt;br&gt;&lt;br&gt;This message is the result of your &#8216;my documents&#8217; folder location.&lt;br&gt;&lt;br&gt;&lt;\/p&gt;&lt;div&gt;For windows we are using the windows call&lt;\/div&gt;&lt;div&gt;HRESULT hr = ::SHGetFolderPath(NULL,&lt;\/div&gt;&lt;div&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; CSIDL_PERSONAL | CSIDL_FLAG_CREATE,&lt;\/div&gt;&lt;div&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; NULL,&lt;\/div&gt;&lt;div&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; SHGFP_TYPE_CURRENT,&lt;\/div&gt;&lt;div&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; buffer);&lt;\/div&gt;&lt;div&gt;&nbsp;&lt;\/div&gt;&lt;div&gt;to get the system path, and if that fails using the same call with SHGFP_TYPE_DEFAULT instead of SHGFP_TYPE_CURRENT.&lt;\/div&gt;&lt;div&gt;&nbsp;&lt;\/div&gt;&lt;div&gt;This should mean the value we are using are stored in the registry under one of the two places.&lt;\/div&gt;&lt;div&gt;&nbsp;&lt;\/div&gt;&lt;div&gt;HKEY_CURRENT_USER\\Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Shell Folders\\Personal&lt;\/div&gt;&lt;div&gt;HKEY_CURRENT_USER\\Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\User Shell Folders\\Personal&lt;\/div&gt;&lt;div&gt;&nbsp;&lt;\/div&gt;&lt;div&gt;&nbsp;&lt;\/div&gt;&lt;div&gt;The best way to change the values&nbsp; is to go to:&nbsp;&lt;\/div&gt;&lt;div&gt;Start -&gt; Your Name&nbsp; (aka open your own personal folder)&nbsp;&lt;\/div&gt;&lt;div&gt;Right Click &#8220;My Documents&#8221;&nbsp; -&gt; Properties -&gt; Location&lt;br&gt;&lt;br&gt;&lt;br&gt;ref: ANSYS KB 2039429&lt;\/div&gt;<\/p>\n","protected":false},"template":"","class_list":["post-317869","reply","type-reply","status-publish","hentry"],"aioseo_notices":[],"acf":[],"_links":{"self":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/replies\/317869","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/replies"}],"about":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/types\/reply"}],"version-history":[{"count":0,"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/replies\/317869\/revisions"}],"wp:attachment":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/media?parent=317869"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}