xp machine can not map drive to 2003

D

Dahman

my problem is the following

I have a Windows XP SP1 and Windows 2003 machines.
I have an application that is running under local System account on the on
XP
machine. The application maps a drive to Windows 2003 and then tries to run
a batch file. I get ACCESS DENIED error.

If I force the application to run under a user account then the application
will successfully run the batch file.

If the application is running under Local System account and I tell the
application to map a drive using an admin username/password then the
application will succeed in running the batch file in the mapped drive.

So it seems that the problem is during the mapping process where the
application running under Local System account is not setting the
correct access permissions for the objects (files) within the mapped
drive.

Any help would be greatly appreciated

Regards, Dahman
 
D

Daniel Crichton

Dahman wrote on Thu, 11 Aug 2005 14:12:34 GMT:
my problem is the following

I have a Windows XP SP1 and Windows 2003 machines.
I have an application that is running under local System account on the on
XP
machine. The application maps a drive to Windows 2003 and then tries to
run a batch file. I get ACCESS DENIED error.

If I force the application to run under a user account then the
application will successfully run the batch file.

If the application is running under Local System account and I tell the
application to map a drive using an admin username/password then the
application will succeed in running the batch file in the mapped drive.

So it seems that the problem is during the mapping process where the
application running under Local System account is not setting the
correct access permissions for the objects (files) within the mapped
drive.

Any help would be greatly appreciated

Regards, Dahman

In Win 2K, Win XP, and Win 2K3 the Local System account is prevented from
accessing any network resources (when you get it to map a drive using an
admin's credentials, you're actually connecting using those credentials).
You will need to run your application under a user account on the machine
instead that has sufficient permissions to access the network resource in
question.

Dan
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top