I stop default web site by powershell and it’s stopped. But I find it started after reboot.
If I stop it manually in IIS7 manager, it will be stopped after rebooting machine.
It looks like stopping website by powershell is not so efficient.
anybody has any idea about it?
OS: Windows 2008 R2 SP1
IIS: 7
The current state and the “startup” state are two different controllable entities just as they are in the IIS Manager GUI. Set the startup state to Manual or Disabled like so:
Update: If you only want to affect the startup of one on several sites then try this: