%windir%\system32\inetsrv\appcmd set config /section:isapiCgiRestriction /+"[path='C:\Perl\bin\perlis.dll',description='Perl-ISAPI',allowed='True']" %windir%\system32\inetsrv\appcmd set config /section:system.webServer/handlers /+[name='Perl-ISAPI',path='*.cgi',verb='*',modules='IsapiModule',scriptProcessor='C:\Perl\bin\perlis.dll',resourceType='Either']