ASP VBScript - Running from a Windows Scheduled Task

Warnings

Concept:

Example ASP page:

Example Batch file:

Steps to Schedule a Windows Task (that runs every 5 min).


Error: If running scheduled task with a User logon ID that you logon to the OS with.


Error window title: SysFader: iexplore.exe - Application Error
Error box:
The instruction at 0x0138ac36 referenced memory at "0x00000000".  The memory could not be "read".

For XP Professional my Fix:
Schedule the task to run under "administrator".

Information in the Event Viewer (Application):

Windows saved user THOMASMA9300\<user_logonid> registry while an application or service was still using the registry during log off. The memory used by the user's registry has not been freed. The registry will be unloaded when it is no longer in use.

This is often caused by services running as a user account, try configuring the services to run in either the LocalService or NetworkService account.

For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.