You cannot run this command against a profile that is currently in use, which means it is actively being deployed on a server. Use the show osprofile command to see whether an OS profile is in use.