rem:PTI Begin start batch file. powershell "get-process | where { $_.ProcessName -like 'IISExpress' } | stop-process" netsh http delete iplisten ipaddress=127.0.0.1 netsh http delete iplisten ipaddress=0.0.0.0 netsh http add iplisten ipaddress=0.0.0.0 netsh http add iplisten ipaddress=127.0.0.1 netsh http add urlacl url=http://localhost:3333/ user=everyone rem Open TCP Port 3333 & 3330 & 3331 inbound and outbound netsh advfirewall firewall add rule name="NetBIOS TCP Port 3333" dir=in action=allow protocol=TCP localport=3333 profile=any netsh advfirewall firewall add rule name="NetBIOS TCP Port 3333" dir=out action=allow protocol=TCP localport=3333 profile=any netsh advfirewall firewall add rule name="NetBIOS TCP Port 3330" dir=in action=allow protocol=TCP localport=3330 profile=any netsh advfirewall firewall add rule name="NetBIOS TCP Port 3330" dir=out action=allow protocol=TCP localport=3330 profile=any netsh advfirewall firewall add rule name="NetBIOS TCP Port 3331" dir=in action=allow protocol=TCP localport=3331 profile=any netsh advfirewall firewall add rule name="NetBIOS TCP Port 3331" dir=out action=allow protocol=TCP localport=3331 profile=any netsh advfirewall firewall add rule name="IIS Worker Process" program="C:\Program Files\IIS Express\iisexpress.exe" protocol=tcp enable=yes dir=in action=allow profile=any netsh advfirewall firewall add rule name="IIS Worker Process" program="C:\Program Files\IIS Express\iisexpress.exe" protocol=tcp enable=yes dir=out action=allow profile=any rem Open UDP Port 3333 & 3330 & 3331 inbound and outbound netsh advfirewall firewall add rule name="NetBIOS UDP Port 3333" dir=in action=allow protocol=UDP localport=3333 profile=any netsh advfirewall firewall add rule name="NetBIOS UDP Port 3333" dir=out action=allow protocol=UDP localport=3333 profile=any netsh advfirewall firewall add rule name="NetBIOS UDP Port 3330" dir=in action=allow protocol=UDP localport=3330 profile=any netsh advfirewall firewall add rule name="NetBIOS UDP Port 3330" dir=out action=allow protocol=UDP localport=3330 profile=any netsh advfirewall firewall add rule name="NetBIOS UDP Port 3331" dir=in action=allow protocol=UDP localport=3331 profile=any netsh advfirewall firewall add rule name="NetBIOS UDP Port 3331" dir=out action=allow protocol=UDP localport=3331 profile=any netsh advfirewall firewall add rule name="IIS Worker Process" program="C:\Program Files\IIS Express\iisexpress.exe" protocol=udp enable=yes dir=in action=allow profile=any netsh advfirewall firewall add rule name="IIS Worker Process" program="C:\Program Files\IIS Express\iisexpress.exe" protocol=udp enable=yes dir=out action=allow profile=any Pause rem: PTI End batch file.