Your IUSR account would need elevated permissions to start and stop
services, which is typically ill-advised. Give your IUSR account admin
rights on your server, see if that works. If it does, your code is fine.
At that point, I would remove the IUSR account from that group and either
create a new "iusr" account just for this page, use authentication instead
of anonymous access for that page, or use a group policy to give the IUSR
rights to start and stop services without the need for being an
administrator.
Ray at work
"Nathan Henderson" <na*****@mtanna ncc.nsw.edu.au> wrote in message
news:uT******** ******@TK2MSFTN GP11.phx.gbl...
I am trying to stop and start the ftp service from an asp page using the
iuser account.
my code is simple: shell.run "net start msftpsvc",0,tru e.
ASP page returns no errors but nothing happens. code works in .vbs but not
from the webserver (IIS6).
Can someone tell me how to do this? I would also like to edit the registry
if i can.
Thanx