Added AD snap-in check