Hello,
Thank you for providing a detailed information on your issue. I appreciate the step-by-step troubleshooting and the pains you took to resolve your issue. However, there are a few more steps that we can try to diagnose the root cause in order to fix the issue permanently.
When oledb32.dll is for some reason unregistered SQL Server is missing providers after installation.
During installation of SQL server there is no message in the user interface or in the installation log that dll is not registered.When the oledb32.dll provider is not registered it's not possible to connect to SQL Server with eg. visual studio, excel etc. It's also not possible to make a linked server connection via server objects.
As per the issue description you are facing lots of issue with your Windows 7 computer. The issue could be if there is some system file corruption. So I would suggest you to perform Automatic repair before reinstalling the OS. For performing the task I would suggest you to try the steps provided below and see if it helps.
Method 1
When you use the Recovery Environment (Windows RE) to troubleshoot startup issues, first try the Startup Repair option in the System Recovery Options dialog box. If this does not resolve the issue, or if you have to manually troubleshoot additional issues, use the Bootrec.exe tool.
Since you are unable to boot the computer, you may have to create a bootable Windows installation media and then perform an Automatic Repair and if it doesn't help then you may try to restore your computer to the previous date.
Note: When you use System Restore to restore the computer to a previous state, programs and updates that you installed are removed.
If you are using Windows 7 and have the product key then the link provided below might help you to download and create installation media.
Download Windows 7 Disc Images (ISO Files)
Method 2
Try to rebuild BCD using the Bootrec.exe tool.
To run the Bootrec.exe tool, you must start Windows RE. To do this, follow these steps:
- Put the Windows 7 installation disc in the disc drive, and then start the computer.
- Press a key when you are prompted. Select a language, a time, a currency, a keyboard or an input method, and then click next.
- Click Repair your computer.
- Click the operating system that you want to repair, and then click next.
- In the System Recovery Options dialog box, click Command Prompt.
- Type Bootrec.exe, and then press ENTER.
Refer to the following link for more information:
How to use the Bootrec.exe tool in the Windows Recovery Environment to troubleshoot and repair startup issues in Windows
**http://support.microsoft.com/kb/927392**
Hope this would help. If issue still persists post back with current status of your computer and result of the proposed suggestion, we will be happy to assist you.
Regards,