removes myregistry