Install the P4 Server Service on a Network Drive (Windows)

By default, the P4 Server Windows service runs under the LocalSystem account. This account has full access to the local machine, but cannot access network resources.

If the P4 Server database and depot files (P4ROOT) are stored on a network drive, the service must run under a real Windows user account instead of LocalSystem. That account must have:

  • Administrator privileges on the local machine

  • Read and write access to the network drive

When a network drive is selected during installation, the P4 Server installer prompts for a valid Windows username and password and configures the service to run under that account.

This is an advanced, non‑default setup.

Most installations should store the P4 Server database and depot files on a local disk.

Performance considerations

Although the P4 Server service can run reliably with its server root on a network drive, this configuration introduces a performance penalty due to increased network traffic and slower file access. This can affect submits, syncs, and other server operations.

Recommendation

Perforce recommends that theP4 Server database, depot files, and P4ROOT reside on a local disk on the machine where the P4 Server service is running. Local storage provides better performance, simpler administration, and more predictable behavior.

Summary

  • The P4 Server Windows service runs as LocalSystem by default.

  • LocalSystem cannot access network drives.

  • A real Windows user account is required when using a network drive.

  • Network drives incur a performance penalty.

  • Local disks are strongly recommended for P4 Server storage.