Machine name detection