473,480 Members | 1,998 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Open InetMgr and IISRESET by VBS

Hey guys and misters

I was wondering if there was a way to write a VB script (file .vbs, WSH
scripting) to do such a thing.

I am trying to open inetmgr by code, open services.msc by code, and call
iisreset by code.

Any help would be awsome. thanks in advance.
--
http://www.alhambra-eidos.es/web2005/index.html
www.kiquenet.net
http://www.setbb.com/putainformatica...opic.php?p=843
www.trabajobasura.com/solusoft

Oct 25 '07 #1
4 3615
On Oct 25, 11:52 am, Alhambra Eidos Kiquenet
<AlhambraEidosKique...@discussions.microsoft.comwr ote:
Hey guys and misters

I was wondering if there was a way to write a VB script (file .vbs, WSH
scripting) to do such a thing.
a .bat file should help

inetmgr
iisreset
etc.

or if you want to have a vbs

SET o = WScript.CreateObject("Wscript.Shell")
o.run "iisreset"
Oct 25 '07 #2
"Alhambra Eidos Kiquenet" <Al*******************@discussions.microsoft.com >
wrote in message news:AA**********************************@microsof t.com...
Hey guys and misters

I was wondering if there was a way to write a VB script (file .vbs, WSH
scripting) to do such a thing.

I am trying to open inetmgr by code, open services.msc by code, and call
iisreset by code.

Any help would be awsome. thanks in advance.
Why not just use the IISReset console app?

c:\>iisreset

Use /? switch to see what command line options it has
--
Anthony Jones - MVP ASP/ASP.NET
Oct 25 '07 #3
Hi,
I have an vbs script, I don't want use bat or command line.

thanks.
Why not just use the IISReset console app?

c:\>iisreset

Use /? switch to see what command line options it has
--
Anthony Jones - MVP ASP/ASP.NET
Oct 25 '07 #4
On Oct 25, 12:18 pm, Alhambra Eidos Kiquenet
<AlhambraEidosKique...@discussions.microsoft.comwr ote:
Hi,
I have an vbs script, I don't want use bat or command line.

thanks.
Why not just use the IISReset console app?
c:\>iisreset
Use /? switch to see what command line options it has
--
Anthony Jones - MVP ASP/ASP.NET- Hide quoted text -

- Show quoted text -
then use what I suggested to you with the Wscript.Shell Object

Oct 25 '07 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
7903
by: Lee | last post by:
Hello all, I am trying to perform a reboot on my server from an asp page. I have a link on my page that, when clicked on, redirects to a .stm page that displays a message about the server...
1
4892
by: skilla | last post by:
Hi people, I've got WinXP Pro SP2 English on my laptop and since installing SP2 got the IISRESET "No such interface supported" error. The whole story: I was writing a fairly simple ASP app...
1
1924
by: Daniel | last post by:
loading web application project suddonly takes 5 mintues and says "Contacting server to open Web project.." wile it takes 5 minutes to load. how to fix? i tried reregistering asp.net and iisreset....
0
1751
by: CM | last post by:
Hi there: I have a web project which can be open and run without problem. I didn't open the web application for a period and during which I didn't modified any IIS items, but now I cannot open any...
4
3228
by: CM | last post by:
Hi there: I have a web project which can be open and run without problem. I didn't open the web application for a period and during which I didn't modified any IIS items, but now I cannot open any...
8
1682
by: Kenneth P | last post by:
Hi, I've had a hd crash (with proper data backup) and I wonder what way would be the best way to set up an old project with all code from a backup hd in a new vs.net2003 environment? TIA ...
1
4306
by: Daren | last post by:
Hi, I have a site with page-level caching set at 10 minutes. However, when I update it, I want to be able to empty the cache immediately, so changes are seen right away. At present I manually...
3
2024
by: opus18 | last post by:
just as the subject states, our dotnet application just seems to hang if IISRESET is executed. If have to reboot the entire server to get things working again. If I browse to any other standard...
2
2018
by: =?Utf-8?B?cm9kY2hhcg==?= | last post by:
hey all, on win2003server when i do an iisreset it will shut down but won't start back up automatically i have to go into inetmgr to start manually. any ideas why it's not auto? thanks,...
0
7041
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
6908
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7081
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
6737
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
6921
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5336
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
2995
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
1300
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
563
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.