Archived from groups: microsoft.public.windowsxp.security_admin,microsoft.public.windowsxp.general (More info?)
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.
Archived from groups: microsoft.public.windowsxp.security_admin,microsoft.public.windowsxp.general (More info?)
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.
You are about to answer a thread that has been inactive for more than 6 months. If you still wish to proceed, please ensure that your posting is original and does not duplicate or overlap any prior responses to this thread.