Skip to contentGo to the directory tree
  1. C:
  2. Windows
  3. Panther
  4. UnattendGC
FolderRisk: Caution

UnattendGC C:\Windows\Panther\UnattendGC

Folder of logs (setupact.log, setuperr.log) from the online configuration phase of a Windows installation or deployment.

Updated on By AltF4 Formation

What it’s for

UnattendGC keeps the setup logs written after the restart that follows file copy, during online system configuration: the specialize and oobe passes in an automated deployment. The logs of the previous phase are in C:\Windows\Panther.

What it contains

  • A setupact.log and a setuperr.log specific to this phase, separate from those in C:\Windows\Panther.
  • Traces of the answer file (unattend.xml) being applied when there is one: settings applied, scripts run (for example SetupComplete.cmd), errors.

Risks and best practices

  • Deleting the folder has no effect on how Windows runs, but you lose the trace of the initial configuration. Keep it until the deployment is validated.
  • The logs may reveal account names, domains and deployment commands. If the answer file was poorly protected, passwords may show up in them, so check before sharing.

Useful commands

Fenêtre de terminal
# Folder contents
Get-ChildItem "$env:windir\Panther\UnattendGC" -Force -ErrorAction SilentlyContinue
# Errors from the online configuration phase
Get-Content "$env:windir\Panther\UnattendGC\setuperr.log" -ErrorAction SilentlyContinue
# Latest actions
Get-Content "$env:windir\Panther\UnattendGC\setupact.log" -Tail 50 -ErrorAction SilentlyContinue

Report a mistake