Just gonna close the topic after sharing some details in case of Windows environment.
1. Shut down all the application components
2. Take the cold backup of middleware_home fully
3. Take backup of registry.
4. Take Backup of BEAHOME in C:drive
After fresh OS on same machine, do format your OLD DRIVE D/E/F/G , afterwards paste the backup again any in the old (same) path.
Samad Ul Haq