IIS‎ > ‎

General Commands

IIS Command:

Create and delete ftp sites using the command line

To create:

C:\> iisftp /create c:\support "Help and Support" /i 10.0.0.11

To delete:

C:\> iisftp /delete "Help and Support"

To start and stop FTP

C:\> net stop msftpsvc
C:\> net start msftpsvc

Restart IIS (all services)

C:\> iisreset

IIS Restart Script

iis_restart.bat

@echo off
REM - File: iis_restart.bat
REM - Description: Restarts IIS
REM - Author: kr@compute.info
echo Restarting IIS...
net stop "World Wide Web Publishing Service"
net start "World Wide Web Publishing Service"
net stop "FTP Publishing Service"
net start "FTP Publishing Service"
net stop "Simple Mail Transport Protocol (SMTP)"
net start "Simple Mail Transport Protocol (SMTP)"
echo IIS Restarted!


How handls IIS weird metabase characters:

1. remove weird character metabases and

2. uninstall URL scans and restart IIS.

Comments