RE: ASP, Wscript.Shell on a Windows 2003 Server Web Edition

From: Bob Qin [MSFT] (bobqin_at_online.microsoft.com)
Date: 09/09/04


Date: Thu, 09 Sep 2004 12:08:13 GMT

Hi Jan,

Thank you for posting here.

In this group we typically deal with issues related to migrating Windows
NT/2ooo domain to Windows 2000/2003 domain, and so on. As for the question
related to IIS, I would like to suggest that you post your questions to the
following news groups:

microsoft.public.inetserver.iis
microsoft.public.inetserver.asp.general

I believe that you can get informative answers there.

Have a nice day!

Regards,
Bob Qin
Microsoft Online Partner Support

Get Secure! - www.microsoft.com/security

====================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
====================================================
This posting is provided "AS IS" with no warranties, and confers no rights.

--------------------
      From: "=?Utf-8?B?dHN1YnMwNEBob3RtYWlsLmNvbQ==?="
<tsubs04@hotmail.com@discussions.microsoft.com>
      Subject: ASP, Wscript.Shell on a Windows 2003 Server Web Edition
      Date: Wed, 8 Sep 2004 23:51:05 -0700
      Newsgroups: microsoft.public.windows.server.migration
      
      Hi everyone,
      
      We're in the progress of upgrading our intranet environment from IIS
4 NT4
      Servers to Windows 2003 Server and IIS6 (Web Edition), and will
therefore
      migrate the current ASP code to this new environment.
      
      In one of the ASP pages, a scheduled task is set up via Wscript.Shell
and
      while it's working under IIS4 it doesn't work in IIS6. No error
messages,
      exceptions are raised in IIS, ASP or the eventlog. In fact the
      Wscript.Run("AT.EXE 15:24:00 /interactive /NEXT:8 C:\program
      files\stoppressexe\OurExectubable.exe 234"), returns a value
indicating it
      has run successfully. However, no task is every scheduled. When
trying to run
      Wscript.Run("Notepad.exe") in the same ASP page, it runs successfully
though.
      
      Anonymous access is disabled on the site, and the web-application is
running
      under the defaultAppPool, which is running under the Network Service
identity.
      
      I have also tried to run with Scheduled tasks schtasks which replaces
AT on
      Win2k3, but the only way I have been able to run it within the ASP is
to
      create a new account, run the scheduled task under this identity, but
then
      have to add this account and Network Service and IUSR_Machinename to
the
      Administrators group. Clearly, I cannot configure the permissions in
this way
      on a production machine so there is some underlying permissions
issues that
      needs to be detailed which I'm not aware of.
      
      Any ideas, and workarounds available?
      
      Thanks,
      Jan
      



Relevant Pages

  • RE: Windows 2003 Server Web Edition / IIS 6.0 SLOW?
    ... In this group we typically deal with issues related to migrating Windows ... NT/2ooo domain to Windows 2000/2003 domain, ... Microsoft Online Partner Support ... This posting is provided "AS IS" with no warranties, ...
    (microsoft.public.windows.server.migration)
  • RE: html forms under windows server 2003
    ... In this group we typically deal with issues related to migrating Windows ... NT/2ooo domain to Windows 2000/2003 domain, ... Microsoft Online Partner Support ... This posting is provided "AS IS" with no warranties, ...
    (microsoft.public.windows.server.migration)
  • RE: IIS ASP 3.0 Debugging problems
    ... In this group we typically deal with issues related to migrating Windows ... NT/2ooo domain to Windows 2000/2003 domain, ... following news groups: ... please "Reply to Group" via your newsreader so ...
    (microsoft.public.windows.server.migration)
  • RE: 2K to 2003 Standard upgrade problem
    ... In this group we typically deal with issues related to migrating Windows NT ... Thank you for using our news group! ... Get Secure! ... This posting is provided "AS IS" with no warranties, ...
    (microsoft.public.windows.server.migration)
  • RE: IIS 5.0 migration to IIS 6.0
    ... In this group we typically deal with issues related to migrating Windows ... NT/2ooo domain to Windows 2000/2003 domain, ... following news groups: ... When responding to posts, please "Reply to Group" via your newsreader so ...
    (microsoft.public.windows.server.migration)