Re: calling vbs scripts from a scheduled task doesn't work all the time
From: Michael Harris \(MVP\) ("Michael)
Date: 05/06/04
- Next message: Michael Harris \(MVP\): "Re: hex conversion"
- Previous message: Torgeir Bakken \(MVP\): "Re: WSH 5.5?"
- In reply to: David T.: "Re: calling vbs scripts from a scheduled task doesn't work all the time"
- Next in thread: David T.: "Re: calling vbs scripts from a scheduled task doesn't work all the time"
- Reply: David T.: "Re: calling vbs scripts from a scheduled task doesn't work all the time"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 6 May 2004 16:49:13 -0700
> Ok. So are there any restrictions on calling other scripts or doing
> things (like sending email) that SYSTEM and WMI, or is there a link
> to an MSDN article about this I can have a look at?
The local SYSTEM account can do things that require access only to resources
on the local system that do not depend on a specific user context.
Generally speaking, processes running under SYSTEM cannot access resources
on remote machines.
Within those bounds, you shouldn't have any problems.
A couple of examples of things that are unlikely to work:
- sending email via Outlook (or MAPI based CDO) automation (reason: user
mail profile required)
- accessing files via UNC paths (reason: any UNC reference is treated as
remote, even if it references a share exposed by the machine that is running
the process)
To determine why a specific script fails to work as expected as a
Win32_ScheduledJob (AT based) job, one would have to examine the source code
of the specific script with the SYSTEM account's security context and
network reach in mind...
-- Michael Harris Microsoft.MVP.Scripting Sammamish WA US
- Next message: Michael Harris \(MVP\): "Re: hex conversion"
- Previous message: Torgeir Bakken \(MVP\): "Re: WSH 5.5?"
- In reply to: David T.: "Re: calling vbs scripts from a scheduled task doesn't work all the time"
- Next in thread: David T.: "Re: calling vbs scripts from a scheduled task doesn't work all the time"
- Reply: David T.: "Re: calling vbs scripts from a scheduled task doesn't work all the time"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|