Skip to contentGo to the directory tree
  1. C:\
FolderRisk: Caution

C:\ C:\

The root of the system volume (C:\, %SystemDrive%): Windows, Program Files, Users, plus hidden items such as ProgramData, pagefile.sys or Recovery.

Updated on By AltF4 Formation

What it’s for

C:\ is the root of the volume Windows is installed on. The %SystemDrive% variable points to it, and many default paths hang off it: %SystemDrive%\Users for profiles, %SystemDrive%\Program Files for applications, %windir% for Windows.

What it contains

  • Visible folders: Windows, Program Files, Program Files (x86) on a 64-bit system, Users.
  • Hidden items: ProgramData, $Recycle.Bin, System Volume Information, Recovery, hiberfil.sys, pagefile.sys, swapfile.sys.
  • Depending on the machine’s history: PerfLogs, Windows.old, $WINDOWS.~BT, $Windows.~WS, inetpub (IIS role).
  • On this site, the “cache” tag marks an item hidden by default in File Explorer.

Risks and best practices

  • System folders in the root must not be moved or renamed: Windows and the maintenance tools look for them at their exact location.
  • To see hidden items, tick “Hidden items” in File Explorer or add -Force to Get-ChildItem.
  • Keep application data on a separate volume. A full system volume blocks updates and can keep Windows from starting, so watch free space.

Useful commands

Fenêtre de terminal
# Root contents, including hidden items
Get-ChildItem -Force C:\ | Select-Object Mode, Name
# Free space on the volume
Get-Volume -DriveLetter C

Folder contents

Folders 19

Report a mistake