Tom's Hardware > Forum > Windows XP > Windows XP General Discussion > xp machine can not map drive to 2003

xp machine can not map drive to 2003

Forum Windows XP : Windows XP General Discussion - xp machine can not map drive to 2003

Tom's Hardware: Over 1.4 million members in 6 different countries available to answer all your high-tech questions. Sign up now! Its free!
Word :    Username :           
 

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.

Any help would be greatly appreciated

Regards, Dahman

Sponsored Links
Register or log in to remove.

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.

Dan

Reply to Anonymous
Tom's Hardware > Forum > Windows XP > Windows XP General Discussion > xp machine can not map drive to 2003
Go to:

There are 1269 identified and unidentified users. To see the list of identified users, Click here.

Please mind

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.

Add a reply Cancel
Sponsored links
  • Ask the community now
  • Publish
Ad
They won a badge
Join us in greeting them