From what I gather this means a total reinstall of the operating system.
You might want to do the following before installing Sonar
1) Make sure you have downloaded and installed all Windows updates - especially the Vdist c++ 2015 update
2) Make sure you have installed the latest version of all hardware drivers by actually going to the manufacturers web sites rather than relying on Microsoft.
3) Download and install the latest ILOK licence manager if required.
4) Download the latest Melodyne from
http://www.celemony.com (which currently is 4.0.4)
5) While you're at it , download the latest XLN installer and Addictive drums if required
Then download and install the latest build of Sonar that you're entitled to
And as mentioned , do all of the above while logged on as an administrator - including the installation of Sonar and reactivation of plugins that require it.