To which directory LocalService account has access by default ?

Gaurav Chawda 1 Reputation point
2021-04-25T18:38:51.797+00:00

Hi, I am developing a service in Rust, In this service I am reading and writing from/to some files, I have tried various locations but I cannot make it work, is there any directory or folder that LocalService account can access by default without granting permission.

And also another doubt As LocalSystem account is not recommended to use as it is imposing security threat to the system, why it is default log on account while creating service using commands like New-Service or sc.exe create, the default account should be LocalService, Correct me If I'm wrong !

Windows for business | Windows Server | User experience | Other
Windows for business | Windows Client for IT Pros | User experience | Other
{count} votes

1 answer

Sort by: Most helpful
  1. Anonymous
    2021-04-25T22:31:58.14+00:00

    Might want to read on here about service isolation and restricted SIDs
    https://learn.microsoft.com/en-us/previous-versions/windows/it-pro/windows-server-2008-R2-and-2008/hh125927(v=ws.10)

    --please don't forget to Accept as answer if the reply is helpful--

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.