Removing registry resource stub