復(fù)制代碼 代碼如下:
1、把IIS卸載。
2、把 %windir%/system32/inetsrv 刪除。
3、把%windir%/iisX.log刪除,X 是IIS版本。
4、把 /inetpub/ 目錄刪除。
(以上操作可以在安全模式中進行。)
5、重裝IIS。
復(fù)制代碼 代碼如下:
@echo off
echo 正在執(zhí)行操作,請稍等......
msdtc -resetlog
net start msdtc
net user IUSR_%COMPUTERNAME% 111
net user IWAM_%COMPUTERNAME% 111
%SystemDrive%
cd %SystemDrive%/Inetpub/AdminScripts
cscript.exe adsutil.vbs set w3svc/wamuserpass 111
cscript.exe adsutil.vbs set w3svc/anonymoususerpass 111
rem cscript.exe synciwam.vbs -v
iisreset
%SystemDrive%
cd %SystemRoot%/System32/inetsrv
rundll32 wamreg.dll,CreateIISPackage
regsvr32 asptxn.dll
echo 執(zhí)行完畢,按任意鍵關(guān)閉且自動打開
pause
explorer.exe
exit
新聞熱點
疑難解答
圖片精選