Jump to content

Windows Image Capturing


Legolash2o

Recommended Posts

Hey guys, I was wondering if anyone knows what else is safe to delete before capturing an image. So far I have:

 

Files:

  • swapfile.sys
  • pagefile.sys
  • hiberfil.sys
  • Windows\System32\Sysprep\Sysprep_succeeded.tag
  • *.log files

Folders:

  • PerfLogs
  • Windows\Logs\CBS\*
  • Windows\Logs\DISM
  • Windows\Logs\PBR
  • Windows\Panther
  • Windows\Prefetch
  • Windows\System32\Sysprep\Panther
  • Windows\SoftwareDistribution\DataStore
  • Windows\SoftwareDistribution\Download
  • Windows\System32\winevt\Logs\*
  • Windows\Temp\*
  • Windows\WinSXS\Backup
  • Windows\WinSxS\ManifestCache\*

Can anyone think of anymore?

Link to comment
Share on other sites

C:\Windows\WinSXS\Backup AFAIK, is required for Windows Resource Protection (sfc)
 
based on the refreshed Windows 8.1 released ISOs, i use this wimscript.ini exclusion list:


[ExclusionList]\Users\Administrator\Windows\Logs\CBS\*\Windows\Logs\DISM\Windows\Logs\PBR\Windows\Panther\Windows\Prefetch\Windows\System32\Sysprep\Panther\Windows\System32\Sysprep\Sysprep_succeeded.tag\Windows\System32\winevt\Logs\*\Windows\Temp\*\Windows\WinSxS\ManifestCache\*
Link to comment
Share on other sites

So don't delete it?

 

Also when you have an asterisk in locations (e.g. \Windows\Temp\*) does that mean delete everything in the folder, but not the folder itself?

It's your choice

it's only used by sfc.exe if there is a system file corrupted so it replace it

yes :)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...