User shell folders not updating

INI file and make the appropriate changes If we had to load the hive: Unload the hive using Reg Un Load Key Each subkey contains the "Profile Image Path", which will point to the base-path of the profile.

user shell folders not updating-85user shell folders not updating-16user shell folders not updating-70user shell folders not updating-75

Microsoft's "Compatible with Windows" software logo requires that an application make use of special folders locations to locate the appropriate folders in which documents and application settings should be stored.Any suggestions greatly appreciated :-) EDIT 2009-03-25 GMT: Looks like I have a possible approach (thanks Martin C): For each subkey of HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\Current Version\Profile List: If it's a "real" user (determined somehow): Remember the subkey name - that's the user's SID Read the Profile Image Path value If the user's Registry hive is not already loaded (i.e.there is no subkey of HKEY_USERS with the appropriate SID): Enable the SE_BACKUP_NAME and SE_RESTORE_NAME privileges Load the hive from Profile Image Path\Nt using Reg Load Key Try to find the user's Local App Data folder using each of the following Registry keys in turn: HKEY_USERS\Software\Microsoft\Windows\Current Version\Explorer\Shell Folders HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\Current Version\Explorer\User Shell Folders HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\Current Version\Explorer\Shell Folders Expand environment variables in the resulting path if necessary (presumably just expanding %USERPROFILE% to the Profile Image Path we got earlier) Use the path to find the user's NOTES.The OS version in which each special folder was introduced is given as well.Items like %USERPROFILE% and %windir% are Windows environment variables.

Leave a Reply