Archive for April, 2007

Require Ctrl+Alt+Del on Windows Vista

I’ve been wondering how to do this in Vista. The registry key is:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon
Set DisableCAD to 0

Thanks to John at for this one.

Read more

Finding large files with Powershell

I find that my free space is one of those things I don’t check regularly enough. This morning I logged on only to find my system was really struggling. I didn’t take long to realise I only had 600MB of disk space left. Dratt!!

I immediately wondered what was the quickest way to find out where all my space went, Powershell maybe? My first thought was something like this:

get-ChildItem –path C:\ –recurse | where-Object {$_.Length -gt 50000000} | sort-Object –property length –Descending |select-Object –first 10 | format-Table Name, Length –auto

This seemed to work ok but took ages:
Days              : 0
Hours             : 0
Minutes           : 1
Seconds           : 55
Milliseconds      : 828
Ticks             : 1158286885
TotalDays         : 0.00134060982060185
TotalHours        : 0.0321746356944444
TotalMinutes      : 1.93047814166667
TotalSeconds      : 115.8286885
TotalMilliseconds : 115828.6885

Anyone know a better way??

Read more