Click here to Skip to main content
15,064,665 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi any body.
I wrote a application that brows my company network and explore for Some information on hard drives.
for some computer it give me error and I can't access them.
When I execute my program I see in task manager that my user name is set for it's owner.However there is some system service that runs under system owner .Now is it possible to execute a program and assign system to it's owner and then browse network?Does these process have enough permission to browse and explore network computer ?
for example system , local service process.

However i have a local user on all company computer I'm not sure If Can I use it for my application process owner and how to do it?
Thanks for any help.
Posted
Updated 19-Jul-11 19:17pm
v3

1 solution

You cannot use the Local System account for your application. Lcaol System only has permissions to that system, nothing else. If your app is looking at each system to collect data, it'll have to run under and account that has permissions to get to that data on every machine. System and Local System will not do that for you.

If your machines are not in a domain environment, but are configured in Workgroup, you're going to find this very difficult to do and maintain since each machine maintains its own database of user accounts and does not trust the accounts of another machine.
   
Comments
Dalek Dave 4-Dec-10 10:47am
   
Good answer.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900