Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using VFP to stop Services on a WIN2000 Server
Message
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 7
OS:
Windows 2000 SP4
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
00984515
Message ID:
00984736
Views:
13
What's wrong with running iisreset?
Of course another method is to use some good ole command line stuff like:

net start >stopservices.bat

This will give you a list of all services that are started. You can then get the correct names for the services and issue. Here's an extract of what that file will look like:

These Windows services are started:

Application Layer Gateway Service
Ati HotKey Poller
Automatic Updates
Bluetooth Service
Cisco Systems, Inc. VPN Service
COM+ Event System
COM+ System Application
Computer Browser
cpqdmi
Cryptographic Services
IIS Admin
Infrared Monitor
Insight Local Alerter
Insight Web Agent
IPSEC Services

etc, etc etc.

To stop a service, you can do so from the command prompt using "net stop"
So, to stop iis and restart, you might create a batch file that does the following:

net stop "IIS Admin" /y
net start "IIS Admin"
John Harvey
Shelbynet.com

"I'm addicted to placebos. I could quit, but it wouldn't matter." Stephen Wright
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform