It’s been a while since my last post, I was on a very long vacation 🙂
People often ask me how they can reduce the size of their Windows 7 Image.
In this post I will cover some steps you can perform to cleanup a Windows 7 Image prior to running Sysprep.
I’m assuming that you already have a computer installed with Windows 7 with latest updates and any other software you must have on the Image. Remember, each software installed on the Image increases the size of the Image.
Restart the computer to ensure that everything is running smoothly, and then cleanup up the following items prior to capturing the machine:
- Clear the Internet Explorer (and or any other browser) browsing information.
- Clear out the Problem Reports and Solutions information:
- Open Control Panel, under System and Security, click Review your computer’s status.
- Click Maintenance, under Check for solutions to problem reports, click View reliability history.
- Click View all problem reports.
- At the bottom of the Review problem reports page, click Clear all problem reports.
- Clear System Restore Data
- Right click My Computer, and then clicking Properties.
- In the left pane, click System protection.
- Under Protection Settings, click Configure.
- Under Disk Space Usage, click Delete.
- Click Continue, and then click OK.
- To clear out the downloaded Windows Updates, perform the following:
- Start by stopping the Windows Update Service – ‘net stop wuauserv’.
- Delete the contents of the following two folders (empty the Recycle Bin when done):
- Start the Windows Update Service – ‘net start wuauserv’
- Delete additional unwanted files and folders if they exist:
- C:\Windows\Security\Database\secedit.sdb (if the machine has been joined to a domain).
- Empty Recycle Bin
- Remove unwanted files using the Disk Cleanup tool:
- Open Disk Cleanup by clicking the Start, in the search box, type Disk Cleanup, click Disk Cleanup.
- Select all except ‘Setup Log Files’ and click the OK button.
- Go to ‘More Options’ tab and cleanup all System Restore and Shadow Copies.
Now you can run Sysprep 🙂