Use iCacls to set permissions on a directory and all sub-directories

icacls “C:\Program Files\My Folder\” /T /C /grant “Domain Users”:(OI)(CI)M Read more at: http://technet.microsoft.com/en-us/library/cc753525(WS.10).aspx http://ss64.com/nt/icacls.html

Reduce Winsxs folder size after Windows 7 SP1 install

Quick tip on how to reduce your Winsxs folder on your Windows 7 drive after you have installed SP1. Open an elevated Command Prompt and type the following command: DISM /online /Cleanup-Image /SpSuperseded I have seen varying reports on how much this will reduce your WinSXS folder, but I’ve seen reports for as much as [...]

Easily create dummy file to be used for testing or benchmarking

The fsutil is a powerful utility that can be used for many tasks on FAT and NTFS file systems.  Please see the link below for more details on the usage of this utility.  This post will simply provide instructions on how to create a dummy file which you could use, say testing your ASP or [...]

Diruse – Command line tool that displays directory size information

DIRUSE is a great command-line utility for Windows XP.  Running this utility allows you to quickly generate a report of disk/directory size.  This works on your local drives, as well as network drives. Example: diruse /s /M /, /* /D /Q:500 c:\windows This will output all the directories in the C:\Windows folder that are over [...]

Follow

Get every new post delivered to your Inbox.