Restore from ealier version rman backup, on Windows.
Practicing recovering from a busted upgrade (12.1.0.2 SE2 to 19c SE2).
So, before launching DBUA to upgrade the db, I take an rman offline full backup.
Then, after DBUA has done its thing, I decide I need to restore the database back to 12.1, using that backup.
On *nix it would be simple enough. I'd shut the db down. Modify /etc/oratab and call oraenv to reset ORACLE_HOME and PATH back to the 12.1 home, fire up rman, and do the restore/recover.
But on windows, the database runs under control of the windows service, which now says, in effect, ORACLE_HOME is at the 19c home. So I'm thinking I need to do the following: