cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Do not Use "HKCU\...\Shell Folders\AppData"

Do not Use "HKCU\...\Shell Folders\AppData"

Creo Elements Drafting have a problem on Windows7.

Creo Elements Drafting have error message on start up.

  "Could'nt load layout.xml."

  "Could'nt load userdefinedcmds.xml."

  etc.

Creo Elements Drafting get "my_home_directory" path from registory.

This registory key is as follows.

   HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders\AppData

But On Windows7, This registory key can not use.

Please see this  registory key on regedit.exe.

You can look at this message soon.

  !Do not use this registry key

  Use the SHGetFolderPath or SHGetKnownFolderPath function instead

This problem occurs after base userprofile copy to Default userprofile.

Because  the path of AppData in registory of Default userprofile is base user's one,

And a logon user's path of AppData in registory is not right.

Please Change method of getting  "my_home_directory" path.

Best regards.

1 Comment
Community Manager
Status changed to: Archived