Link to home
Start Free TrialLog in
Avatar of JAaron Anderson
JAaron AndersonFlag for United States of America

asked on

HowTo script reboot of SMTP service on Windows 2003 IIS 6

I have rebootiis.exe and it works find for word wide publishing service but I need a .vbs script or exe file also to have on desktop to just double-click to restart SMTP also...

does anyone know a working solution for Windows Server 2003 IIS6 ?

thanks bunches !
Avatar of JAaron Anderson
JAaron Anderson
Flag of United States of America image

ASKER

Batch file to restart IIS

@echo off
REM - File: iisrestart.bat
REM - Description: Restart's IIS SMTP
REM - Author: Pete Freitag
REM - ADD REM comments if you don't want to restart any
REM - of Services
REM - echo Restarting IIS SMTP...
REM - echo ======================================================
net stop "Simple Mail Transport Protocol (SMTP)"
net start "Simple Mail Transport Protocol (SMTP)"
REM - echo ======================================================
REM - echo IIS Restarted



I need to capitalize on using Smtpsvc       Microsoft SMTP Service  somehow
ASKER CERTIFIED SOLUTION
Avatar of JAaron Anderson
JAaron Anderson
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
dumb oversight