iis服务器的问题,
@echo off
echo 正在执行操作,请稍等......
regsvr32 %windir%/system32/vbscript.dll
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
cscript.exe synciwam.vbs -v
iisreset
%SystemDrive%
cd %SystemRoot%\System32\inetsrv
rundll32 wamreg.dll,CreateIISPackage
regsvr32 asptxn.dll
echo 执行完毕,按任意键关闭且自动打开http://localhost
pause
explorer.exe http://localhost
exit
你把红色部分保存
保存.bat格式,,运行修复一下???希望能帮到你!