
UNC Path and the local System Account
I have the following situation:
OS = NT4, SP6
Machine = SRV
Share = Share
When I run a client side script from the scheduler on SRV that contain:
FSO.GetFolder("\\SRV\Share")
I get a runtime error, something like folder doesn't exists, even if the
share is on the same machine.
SAME script, SAME Machine under a user account, it runs properly.
I think this indicates that the Local System Account doesn't have access to
Network resources,
even if the resource IS LOCAL !
Then I tried the following.
On SRV I started a CMD from the scheduler. When the new shell pop up, I
started the script
manually as I did under the normal user account:
FSO.GetFolder("\\SRV\Share") give no access.
FSO.GetFolder("drive:\path") works correctly.
To double check that the System account has no net access, I run a simple
command (in the new CMD shell):
NET USE * \\SRV\Share
and IT WORKED !!!!!!!!!!!!!!!!!!!!!!!!!!!
So something is defintely wrong.
Can someone explain me what's wrong ?
I'll appreciate any help.
Andy Mantegazzi