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

后端 未结 3 1732
臣服心动
臣服心动 2021-01-11 15:38

I\'ve been working with an updated to update one of my apps and using Properties.Settings.Default.Upgrade() and discovered that after my updater restarts my app

3条回答
  •  感情败类
    2021-01-11 16:19

    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.

提交回复
热议问题