Josh's Blog

View on GitHub
21 September 2009

Removing folders without having to format

by joshg253

Win7 on a new drive

want to delete everything but a few folders on the old drive that was used for Vista

In each folder (Program Files, Program Files (x86), Windows, etc.):

takeown /f “Folder Name” /r

cacls * /t /g USERNAME:F