How to Restart Finder from the Terminal

Some times it is necessary to force finder to restart. You can do this from the GUI using the ‘Force Quit’ menu item, however sometimes it can be quicker to use the Mac terminal:

sudo killall Finder

You may...

Read More

Playing WAV Files from Witness ContactStore

These days most computers struggle to play WAV files recorded by the Witness Contactsotore. Probably the easiest way to make these files play is to use ffmpeg to convert them as follows:

 ffmpeg -acodec g726 -i original_file.wav -f wav...
Read More

Removing Hidden Network Adapters from Windows

Windows device manager does not always allow you to see old adapters once the hardware has been removed. You can enable it to do so but when you are dealing with large numbers of virtual machines you need another approach....

Read More

Quickly find FSMO Roles

 Use netdom to find where the current FSMO roles are assigned in Active Directory:

 netdom query fsmo

This will return something like:

 Schema master  DC01.local Domain naming master  DC02.local PDC 
      Read More

Finding the Functional Levels of Active Directory

There a quite a few ways of finding the Fuctional levels of Active Directory. Dsquery is a good option as it usually is distributed with windows.  This will give you the Domain Functional Level:

 dsquery * "DC=DOMAIN, DC=LOCAL" -scope...
Read More

Removing/Uninstalling Xcode

 Just run the following from a terminal:

sudo /Developer/Library/uninstall-devtools --mode=all

This is quite old, these days you should just be able to delete the Xcode app.

Read More

Resuming Partial Downloads

 You can use curl to do this:

curl -L -o partial_download -C - http://path_to/partial_download

This does require resume support on the server side

Read More