![]() |
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
![]() |
|
![]() |
|
Internet Explorer is corrupted… how do I fix it?
|
LinkBack | Thread Tools | Display Modes |
|
|
#1 (permalink) |
|
Administrator
Posts: 18,762
Join Date: Jan 2006
Rep Power: 10
IM:
|
Very rarely do we ever get our systems beat up so badly that we have to perform surgery on them... sometimes, you feel like you need to reinstall the whole system, or sometimes you wish you didn’t have to – and could just repair it, as is, where it sits. Well, before you do anything rash, try this handy step by step article and script to re-register your Internet Explorer and hopefully ‘clean’ it of problems. Let’s see what two quick tips can do to spare you from possible disaster. Introduction This article we will cover how to quickly repair your Internet explorer if you are having serious problems such as, explorer.exe (the system shell) won’t load, or if your Internet Explorer Web browser is completely corrupted. Both of these systems on your Windows Server or Desktop system will surely create headaches. Using the regsvr32 and sfc /scannow commands we will see how we can quickly repair our systems when disaster strikes. This is a real life actual experience I encountered this past month while working on a Windows Server 2003 Active Directory repair. On one of the servers after we (working with Microsoft) applied tested hotfixes, explorer.exe wouldn’t load when rebooted. A script was deployed and within two fixes, the whole system came back to life when it looked as if an in place upgrade or fresh install would have been the next options of the evening. Always remember to reapply hotfixes and service packs after repairing system files against any source disk. First, we tried the quicker easier way. We attempted quick surgery – we attempted to repair the actual files that the shell and Internet Explorer uses. (Remember – using scripts for the first time should always be done on a test system to ensure success) Using regsvr32 The regsvr32 command-line tool registers *.dll files as command components in the registry. If you don’t know, a dynamic link library (*.dll) is a collection of smaller programs, which can be called upon when needed by an executable program, such as explorer.exe. The *.exe extension specifies an executable program, so if the *.dll files are corrupted; they will most likely not work properly and cause you problems. You can quickly re-register them with this command quickly and safely. First – you need to ensure that you need to repair Internet Explorer. You will know if, you have major problems with opening it (closes on its own), or you may have spyware that has corrupted it so badly that nothing can save it anymore. Second – we need to make a batch file and get it on the server. This is easily done with a USB, CD-ROM or floppy drive. The batch file is made by opening up a word or text document and creating the actual script as seen here: rem Script used to manually reregister Internet Explorer and Shell related *.dllsOnce you complete the file, it simply needs to be saved with a new extension, as you can see here - *.bat. (for batch file). You can name it whatever you want, as long as you remember to type at either a command prompt in safe mode, or if you can get the system to load without the shell and by doing a If you run this and reboot and you still do not have a shell… you need to run more surgery but this time – no anesthesia. Using sfc /scannow Now we will attempt to use the System File Checker tool to help to repair the system. If this fails, an in-place upgrade or a reinstall may be needed - as possible solutions to help you get the system back up and running. In this example we will discuss using Windows XP which is something you could try this on at home if you wanted to follow along. The system file checker can be used to restore original system files to a corrupted system from the source disk. With the release of Windows Millennium Edition, Microsoft made a serious effort to stop instability of their software and crashes caused by making their operating systems protect themselves from problems caused by 3rd party software which would overwrite important system files. Windows File Protection is always enabled and when enabled, (you can disable it) – it will definitely help you to keep only digitally signed drivers and software in place so that system crashes are more and more infrequent – if you remember (or still use) Window NT and 9x, you know exactly what I am talking about. Windows Service Packs, Hotfix distributions, base operating system upgrades and updates are all digitally signed. The System File Checker is also a command line tool run as an executable programs from the command prompt (sfc.exe). The most frequently used switch with this tool is the /scannow option. Using the tool is simple. Run sfc /scannow from the command prompt. You will see the following dialog box: This command once executed will start the Windows File Protection service so that it can scan your systems ‘protected’ files and verify them against the source to ensure that they haven’t been corrupted. The tool will replace these files immediately upon finding them. You may get asked for the source disk, so make sure you have that with you. This would be the disk that contains your operating system, whether it is Windows XP, Windows 2000, and/or Windows Server 2003 and so on. Summary In this article we covered the a real world catastrophe and looked at how we could use In this article we covered how to quickly repair your Internet explorer if you are having serious problems such as, explorer.exe (the system shell) will not load, or if your Internet Explorer Web browser is completely corrupted. Using the regsvr32 and sfc /scannow commands will help us get out of a pinch. Links and Reference Material To learn more about using resvr32 http://www.microsoft.com/resources/d.../regsvr32.mspx Explanation of Regsvr32 Usage and Error Messages http://support.microsoft.com/kb/249873/EN-US/ Load Library Failed While Registering DLL File http://support.microsoft.com/default...b;en-us;309288 Description of Windows XP and Windows Server 2003 System File Checker (sfc.exe) http://support.microsoft.com/default...b;EN-US;310747 |
|
|
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|