Extracting Password Hashes from Active Directory

Extracting hashes from Active Directory

To extract hashes from Active Directory you must first obtain a copy of the underlying Active Directory database; ntds.dit

For more information on the Data Store Architecture please refer to this Microsoft Technet article


You must be logged on to a domain controller.

Extracting the Database

To extract . . . → Read More: Extracting Password Hashes from Active Directory

iis disable debug

In IIS to disable debug do the following.

Modify the Web.config File Open the Web.config file in a text editor such as Notepad.exe. Web.config file is typically located in the application directory.

Modify the compilation element and set debug=”false”

<compilation debug=”false” />

Save the Web.config file. The ASP.NET application automatically restarts.

Modify the Machine.config file . . . → Read More: iis disable debug

Using lzop on Windows

I wanted a fast way to backup an AppDynamics MySQL database directory on windows. The answer was lzop.

Tools GoW 0.8.0 (GNU on Windows) lzop for Windows Setup Set your Enviornment PATH

After installing GoW and extracting lzop.exe set your environment PATH to include the directory where you extracted lzop.exe

Stop AppDynamics Controller and Database . . . → Read More: Using lzop on Windows

Active Directory Password Expiration Date

To find out the password expiration date for an Active Directory user you must first determine your domain’s password expiration policy and then when the password was last set.

Find your Domain Password Expiration Policy import-module activedirectory Get-ADDefaultDomainPasswordPolicy

Property MaxPasswordAge will tell you the default password expiration policy

Determine Date User Password Was Last Set . . . → Read More: Active Directory Password Expiration Date

iis 7.5 The format of the specified network name is invalid – IIS Error 0x800704BE

Problem IIS 7.5 is holding on to an IP and you cannot get it to listen to the right IP.

You might see this error message:

The format of the specified network name is invalid – IIS Error 0x800704BE Solution

You will need to remove and add the listening ip via netsh (see below)

Determine . . . → Read More: iis 7.5 The format of the specified network name is invalid – IIS Error 0x800704BE

backup perfmon counters

How to backup your perfmon counters

The easiest way to backup your perfmon counters is to use the lodctr tool


Registers new Performance counter names and Explain text for a service or device driver, and saves and restores counter settings and Explain text.

Syntax lodctr [\\ComputerName] FileName [/s:FileName] [/r:FileName] Example lodctr /s:”perf backup1.txt” . . . → Read More: backup perfmon counters

Howto Convert a ESXv5 to ESXv4 VM

Howto Convert a ESXv5 to ESXv4 VM

This details the steps needed to convert a machine from ESXv5 to ESXv4

Convert OVA to VMX On ESXv5 Machine, Export the VMWare ESX5 Machine to OVF (File -> Export -> Export OVF Template) Download ovftool

Convert ova to vmx (ignoring manifest errors)

ovftool sourefile.ova destfile.vmx (make sure . . . → Read More: Howto Convert a ESXv5 to ESXv4 VM

remove magnify.exe

Problem You hate magnify.exe yet you are unable to delete magnify.exe Solution Take ownership of magnify.exe Move it to a new filename Celebrate i_hate_magnify.bat takeown /f “%windir%\system32\Magnify.exe” && icacls “%windir%\system32\Magnify.exe” /grant administrators:F echo “Took ownership of Magnify.exe!” move “%windir%\system32\Magnify.exe” “%windir%\system32\Magnify.exe.ihateyou” pause

SOLVED – callee rc: co_e_server_exec_failure (0x80080005)


callee rc: co_e_server_exec_failure (0x80080005)

When starting Virtualbox 4.2.10 on Windows 7 I was encountering this error

Failed to create the VirtualBox COM object. The application will now terminate. Callee RC: CO_E_SERVER_EXEC_FAILURE (0x80080005) Cause

The problem is the %HOME%/.VirtualBox directory


To resolve the issue I followed these steps

Killed any VirtualBox .exe files that . . . → Read More: SOLVED – callee rc: co_e_server_exec_failure (0x80080005)

bat file as administrator

I wanted to be able to run a bat file as administrator in order to have an easy shortcut to edit my windows hosts file. Here’s what I found

Shortcut to edit windows hosts file as Admin Creating the batch file

Paste this in a new notepad file and save it somewhere as hosts.bat

takeown . . . → Read More: bat file as administrator