|
This article details a few steps you can take to repair your windows firewall and ICS(Internet connection sharing) I had recently stumbled upon a problem with my XP machine, while trying to access advanced properties of a LAN(Local Area Connection) network connection Windows XP reported a problem when I attempted to access Local Area Connection 1->Properties->Advanced
My combined solution, which took some 40 minutes of Google digging, but saved me from reinstalling Windows XP, was to combine several fixes found on various websites(to my shame, I lost the URLs thus I can't cite the original authors. Fix #1: re-register firewall dlls so Windows knows to hook them in: regsvr32 %WINDIR%system32atl.dll
pause
regsvr32 %WINDIR%system32hnetcfg.dll
pause I added a couple of 'pause' commands so you can see what's going on when running the code. This is a mild fix, just in case some firewall registry settings were mangled with. Fix #2:rebuild the WMI(Windows management instrumentation) repositorynet stop winmgmt
pause
cd %SystemDrive%
cd %windir%system32wbem
rd /S /Q repository
regsvr32 /s %systemroot%system32scecli.dll
regsvr32 /s %systemroot%system32userenv.dll
mofcomp cimwin32.mof
mofcomp cimwin32.mfl
mofcomp rsop.mof
mofcomp rsop.mfl
for /f %%s in ('dir /b /s *.dll') do regsvr32 /s %%s
for /f %%s in ('dir /b *.mof') do mofcomp %%s
for /f %%s in ('dir /b *.mfl') do mofcomp %%s
mofcomp exwmi.mof
mofcomp -n:rootcimv2applicationsexchange wbemcons.mof
mofcomp -n:rootcimv2applicationsexchange smtpcons.mof
mofcomp exmgmt.mof
pause This re-registers some required dls as well, then recompiles the needed Firewall/ICS classes into WMI. Fix #3 Reinstall WMI alltogether. This step requires that your Windows XP source CD or installation path is available.rundll32.exe setupapi,InstallHinfSection WBEM 132 %windir%infwbemoc.inf
pause All these fixes are interpreter batch commands To use a fix, create a text document, name it fix_N.cmd, paste the corresponding text into the file, save and double click to run. We also have ready-to go files: Right click, choose 'Save as', save these files on your desktop and double click to run them.
|