Command line recycling of aspnet.

  • Thread starter Thread starter DP
  • Start date Start date
D

DP

Hello. I'm looking for some way of automatically
restarting asp.net (aspnet_wp.exe) from a command line or
simple program.

Thank you!
 
search groups.google.com for ".vbs kill application" or ".vbs terminate process"

you can make a vbs script that will do it with just a click then
 
DP said:
Hello. I'm looking for some way of automatically
restarting asp.net (aspnet_wp.exe) from a command line or
simple program.


You can do
NET STOP servicename
NET START servicename

So, to stop and start IIS use,
NET STOP "World Wide Web Publishing Service"
NET START "World Wide Web Publishing Service"

-- Alan
 
Back
Top