@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



