Skip to content

Instantly share code, notes, and snippets.

@connself
Created January 17, 2021 10:31
Show Gist options
  • Save connself/e4d539073e504d35bab3f1d2d7fa169f to your computer and use it in GitHub Desktop.
Save connself/e4d539073e504d35bab3f1d2d7fa169f to your computer and use it in GitHub Desktop.
Framework注册IIS
@echo off
title .NET Framework Register IIS
color 5f
echo.---------- .NET Framework v2 Register IIS
echo.
%windir%\Microsoft.NET\Framework\v2.0.50727\aspnet_regiis.exe -i
%windir%\Microsoft.NET\Framework64\v2.0.50727\aspnet_regiis.exe -i
echo.
echo.---------- .NET Framework v4 Register IIS
echo.
%windir%\Microsoft.NET\Framework\v4.0.30319\aspnet_regiis.exe -i
%windir%\Microsoft.NET\Framework64\v4.0.30319\aspnet_regiis.exe -i
echo.
pause
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment