K
Ketta
I want to make a simple simple asp page. All I want is when the page loads
it does "net stop <service>". The code is below, it is not running as
IUSR_<machine>, I am authenticating as Administrator yet the service does
not stop. The blank page just loads with no errors and the service remains
running, what am I missing? I am completely new to ASP, I just want one
simple page for this purpose.
<HTML>
<TITLE>Test</TITLE>
<BODY>
<%
set wshell = server.createobject("wscript.shell")
wshell.run "net stop testservice"
set wshell = nothing
%>
</BODY>
</HTML>
Thank you
Ketta
it does "net stop <service>". The code is below, it is not running as
IUSR_<machine>, I am authenticating as Administrator yet the service does
not stop. The blank page just loads with no errors and the service remains
running, what am I missing? I am completely new to ASP, I just want one
simple page for this purpose.
<HTML>
<TITLE>Test</TITLE>
<BODY>
<%
set wshell = server.createobject("wscript.shell")
wshell.run "net stop testservice"
set wshell = nothing
%>
</BODY>
</HTML>
Thank you
Ketta