I recently ran into a situation where even though the local administrator doing an RPT install was doing everything right, the install would always fail with an error like:
java.io.IOException: Failed to rename file 'C:\ProgramData\IBM\Installation Manager\adapters\native\IBM Installation Manager\com.ibm.sdp.eclipse.ide\backupDirs\0_' to 'C:\ProgramData\IBM\Installation Manager\adapters\native\IBM Installation Manager\com.ibm.sdp.eclipse.ide\backupDirs\0'.
This problem impacted the installation of Installation Manager itself as well.
Upon inspecting the problem VM, we found that only this part of the second path in the error existed:
Further inspection of the VM determined that the rest of the path could not be created via Windows Explorer because Windows thought that path was locked.
While we were able to create the missing directories from cmd (started with Run as administrator), this didn't help because Installation Manager would delete the 0 directory if it existed and then fail to recreate it due to the lock problem.
At this time, we believe the lock problem is happening by design because the VM provider wants to block installations done manually without using the provider's installation packaging process.
So if you're ever doing an installation with Installation Manager and it consistently fails with an error similar to the above, see if you can manually create the missing folders from Windows Explorer -- if you can't, you will need to resolve that first.