Data update

This commit is contained in:
Ingy döt Net 2026-04-30 12:34:36 -04:00
parent 4bb20c9b71
commit cbaf4c4b64
12390 changed files with 318560 additions and 27248 deletions

View file

@ -0,0 +1,14 @@
@echo off
setlocal enableextensions
::net session would not work if the Server service is not started
reg query HKEY_USERS\S-1-5-19\Environment /v TEMP >nul 2>nul || (
>&2 echo Please run this script in an elevated prompt.
exit /b 1
)
dism /online /enable-feature /featurename:IIS-WebServerRole /all
:: https://learn.microsoft.com/en-us/iis/configuration/system.applicationhost/sites/site/bindings/
%windir%\system32\inetsrv\appcmd set site /site.name:"Default Web Site" /+bindings.[protocol='http',bindingInformation='*:8080:']
pushd %SystemDrive%\inetpub\wwwroot
:: ren iisstart.htm iisstart.htm.old %= rename the original iisstart.htm to avoid overwriting it =%
echo ^<html^>^<body^>Goodbye, World!^</body^>^</html^> >iisstart.htm
:: there's no need to popd as setlocal is enabled

View file

@ -0,0 +1 @@
dism /online /disable-feature /featurename:IIS-WebServerRole