Clean up Windows\WinSxS or Side By Side in Windows Vista, 7, or 2008.

I recently had a System State restore go HORRIBLY wrong with Symantec Backup Exec. It failed because the system volume (C drive) ran out of space. When I went digging, I found that my 60G system partition had 45G of data in the C:\Windows\WinSxS folder. I’d done battle with this folder in the past and lost. The machine in question was Server 2008 (not R2). I had already run COMPCLN to clean the machine up after installing SP1. I couldn’t run DISM because the machine wasn’t R2. It was the original version. Then I found WinSXSLite… a batch file written by Christian Bering Boegh. HOLY CRAP! This thing is awesome!
Continue reading

Restore files from locally cached “offline files” in windows

Offline files can be awesome or a nightmare. I have one client that uses the heck out of them to ensure that “my documents” is regularly being synchronized to a server for backups. But what happens if something happens to a laptop and you need to pull data off a hard drive because the files haven’t synchronized? Easy!

Download csccmd.exe from

Use a computer with the same service pack as the original. This is important.

Copy the %SYSTEMROOT%\CSC directory contents from the old hard drive to the same location on the working computer. Or you can work directly from the drive if you’re simply restoring data.

Open a command prompt and:

Type csccmd /enable
Create a directory, for example D:\Recover
Type: csccmd /extract /target:D:\Recover /recurse
The files will be extracted from their compressed offline files format back to their original format!

sendmail AUTH=client, available mechanisms do not fulfill requirements

This will be REALLY quick.

You’ve been through all of the instructions for how to do SMTP auth. You’ve added your access.db, added the rules, verified sendmail is compiled with sasl2 support, verified sasl2 is installed. And your log files still show “available mechanisms do not fulfill requirements”

If you’re using a package manager, check to see if there is something like cyrus-sasl2-plain in the package list. That package is available for CentOS. sasl2 was installed, but I needed to install the -plain package. Once I did this, everything worked great. In the comments, Ben said that RHEL64 needed the package cyrus-sasl-plain. Thanks, Ben!

Chocolate Chip Cookies


2C All Purpose Flour
1/2t Baking Soda
1/2t Salt
3/4C Unsalted Butter, melted
1C Brown Sugar, packed
1/4C White Sugar
1/4C honey
1T Vanilla Extract
1 Egg
1 Egg Yolk
2C (120z) Semi-Sweet Chocolate Chips

  1. Preheat oven to 325F
  2. Grease cookie sheets or use parchment/silpat. I use parchment paper.
  3. Melt the butter if you haven’t, already.
  4. Sift the flour, salt, baking soda together in one bowl.
  5. Mix the sugars, honey, butter in a mixer and mix it up a bit.
  6. Add the egg, yolk, and vanilla. Mix until creamy.
  7. Add the dry ingredients. Mix just until blended or you’ll end up with chocolate chip bricks.
  8. Fold in the chocolate chips. Again… just until the chocolate is in the dough.
  9. Stick the dough in the fridge for 30 minutes.
  10. Spoon out onto a cookie sheet. I use a scooper that’s about 1/6C. Don’t ask. I don’t know. 1/4C should work, too.
  11. Bake for 15-17 minutes. In my oven, I leave them for 18 minutes.
  12. Remove from oven and let sit on the cookie sheet for at least another 10 minutes. If you try to move them before then, they’ll fall apart.

Sorry. I don’t have any pictures. They get eaten before I can find my camera.