Where are .NET User Settings stored IF User = SYSTEM?

爷,独闯天下 提交于 2019-12-01 03:26:17

The Local Application Data folder for the SYSTEM account is usually located in

C:\Windows\system32\config\systemprofile\Local Settings\Application Data\

for Windows XP and

C:\Windows\system32\config\systemprofile\AppData\Local\

for later versions.

(I write usually, because

  • Windows does not need to be installed in C:\Windows, and

  • the folder names Local Settings and Application Data are localized in Windows XP, and

  • on 64-bit versions of Windows, the folder for 32-bit applications is located underneath C:\Windows\SysWOW64 instead of System32.)

Since I don't know the answer, I would do the following to figure out:

  1. Install SysInternals Process Monitor (Direct download).
  2. Start Process Monitor, set the filter Path to your application's name.
  3. Start your application.
  4. Watch the locations inside Process Monitor.

This helped me often in the past, maybe it could be something for you, too?

HKEY_USERS\.DEFAULT

is the location where a non-interactive user gets their profile from when nobody is logged in.

The registry key HKEY_CURRENT_USER is associated with the default user, not the current user. To access another user's profile, impersonate the user, then access HKEY_CURRENT_USER.

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!