my script run as service. @username return "SYSTEM" my question: how to get to current username or access to his HKCU from my service? MS says in LocalSystem account, 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 any help please ?