1) Clarify what “system context” means
- Administrator context: TreeSize runs with elevated permissions (you can scan protected folders).
- True system/service context: TreeSize runs as a Windows service under an account like LocalSystem (this is more strict and may require a specific product/service component).
2) Install TreeSize Free normally, then run as administrator
TreeSize Free usually installs like a standard Windows app. After installation, you can run it with elevated permissions to access system locations.
- Download and install TreeSize Free.
- Close TreeSize if it is already open.
- Right-click the TreeSize executable (or the Start Menu entry).
- Select Run as administrator.
- Start a scan and verify it can read the folders you need.
If TreeSize prompts for UAC elevation, accept it. This approach is the simplest way to get “system-level access” in practice for scanning.
3) Use Windows “Task Scheduler” to run TreeSize elevated
If you need repeatable scans, Task Scheduler can launch TreeSize with highest privileges. This still isn’t a true LocalSystem service, but it provides consistent elevated access.
- Open Task Scheduler.
- Choose Create Task (not “Basic Task”).
- On the General tab, check Run with highest privileges.
- Set Security options to run under an account that has admin rights (or configure accordingly).
- Set the trigger and action to start TreeSize.
- Save the task and test it.
4) If you truly need LocalSystem: check whether TreeSize provides a service
Some disk usage tools include a background component or service that can run under LocalSystem. TreeSize Free may not include such a service, but TreeSize’s paid editions or specific components might. If a service exists, you can configure it to run under LocalSystem.
How to verify services
- Open Services (services.msc).
- Look for any TreeSize-related service.
- If present, open its properties and check the Log On account.
- If it is not available in Free, you may need a different edition or component.
5) Common pitfalls when scanning system folders
- Permissions: Even with elevation, some paths may require additional access (e.g., special ACLs).
- Exclusions: Ensure TreeSize isn’t excluding system directories you care about.
- Long scans: System scans can take time; consider scanning specific roots first.
- Indexing/locks: Some files may be locked or inaccessible; TreeSize should report these.
6) Recommended approach
For most users, the best “system context” equivalent is: install TreeSize Free normally, then run it as administrator (manually or via Task Scheduler). Only pursue a true LocalSystem service approach if TreeSize provides a service component in your edition. If you tell me your Windows version and whether you need LocalSystem specifically (service) or just elevated access, I can tailor the exact steps.