overwrite user permissions on local folders or assume admin role on client machien programmatically

  • Thread starter Thread starter Bill Nguyen
  • Start date Start date
B

Bill Nguyen

I tried to rename a local folder (C:\Program Files\Microsoft Mappoint\Data)
in my VB.NEt app but running into permission problem. I even granted full
rights to ASPNET user to the folder in question but it's still not working.
If I do it manually (my login has administrator rights to the local/client
machine), I had no problem. Is there any way to assume the local admin role
programmatically to do this?
Thanks
Bill
 
Hi,

Have you tried impersonation?

http://www.dotnet247.com/247reference/msgs/28/144136.aspx

Ken
--------------
I tried to rename a local folder (C:\Program Files\Microsoft Mappoint\Data)
in my VB.NEt app but running into permission problem. I even granted full
rights to ASPNET user to the folder in question but it's still not working.
If I do it manually (my login has administrator rights to the local/client
machine), I had no problem. Is there any way to assume the local admin role
programmatically to do this?
Thanks
Bill
 

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

Back
Top