Reverting to the previous version of a solution
You can revert the current version of a solution to the previous version by running the solutionManager revert command. This command sets the previous version as the active solution version.
About this task
In a production environment with multiple servers, you can set the value of the solutionAutoStart property to false so that you can install a solution on each server before activating the solution by running the solutionManager activate command. If you deploy a solution with the AutoStart setting turned off, the solution is added to the server but the solution is not active. While the solution is inactive, if you discover a problem with the solution and decide not to activate it, run the solutionManager revert command to set the previous solution version as the active version.
If the solutionAutoStart property is not set, or if it is set to true, then the revert has no effect. As soon as you deploy a solution, it starts and becomes the active version. When you shut down and restart a server, the version of the solution that is active at the time of the shutdown is the active solution version when the server restarts.