Friday, 30 April 2010

The location of the User Profile for Network Service on Windows Server 2008 & 7

This kind of thing should be easy to find, but I couldn't hunt it down on google. So to save someone else some pain, here it is - the location of the %USERPROFILE% / home directory for the NT AUTHORITY\NetworkService user:

(drum roll...)

%systemroot%\ServiceProfiles\NetworkService

which usually translates as:

c:\Windows\ServiceProfiles\NetworkService

The user profiles for other "well known" service accounts (such as LocalService) are siblings of this directory.

I hope that saves someone some time...