initialize machine when Add to registry