9

Windows 7 allows you to configure services to use the LocalService user account, rather than the default LocalSystem user account.

If the services run as LocalSystem, and try to create a file in the user's home directory, then it gets created here: C:\Windows\System32\config\systemprofile

However, when it is run as LocalService, I cannot find where the home directory is, if it has one at all.

Martin Pain
  • 351
  • 2
  • 6
  • 2
    Why has this question been closed? It demonstrates a minimal understanding of the problem and it is relevant to professional system administration, so both close reasons listed do not apply. – Heinzi Jul 10 '17 at 09:43

1 Answers1

12

Ok, I've found it here:

C:\Windows\ServiceProfiles\LocalService

along with one for NetworkService

Martin Pain
  • 351
  • 2
  • 6