Skip to contentGo to the directory tree
  1. C:
  2. Program Files
FolderRisk: Caution
  • Localized name

Program Files C:\Program Files

Default install folder for 64-bit desktop applications. Localized as "Programmes" in the French File Explorer.

Updated on By AltF4 Formation

What it’s for

C:\Program Files receives desktop (win32) applications by default, 64-bit ones on 64-bit Windows. The %ProgramFiles% variable points to it. Applications should get the path from SHGetKnownFolderPath instead of hard-coding it. The French File Explorer displays it as “Programmes”.

What it contains

  • One subfolder per installed application (Microsoft Office, browsers, vendor tools) and the shared components (Common Files).
  • Built-in Windows components, for example Windows Defender or Windows NT.
  • WindowsApps, hidden and protected, which hosts Microsoft Store apps.
  • Program Files (x86) only exists on 64-bit Windows. It receives 32-bit software, and some 64-bit software installs there too, depending on the vendor.

Risks and best practices

  • Writing here requires administrator rights, so an application that stores user data here is poorly designed.
  • Uninstall an application rather than deleting its folder by hand, so the Registry and services are cleaned up as well.
  • Do not move the folder: registered paths (services, shortcuts, scheduled tasks) would stop working.
  • To audit installed software, cross-check its contents with the list of registered programs.

Useful commands

Fenêtre de terminal
# Variable value and list of subfolders
$env:ProgramFiles
Get-ChildItem $env:ProgramFiles | Select-Object Name
# 32-bit (WOW64) applications for comparison
Get-ChildItem ${env:ProgramFiles(x86)} | Select-Object Name

Folder contents

Report a mistake