By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,269 Members | 1,507 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,269 IT Pros & Developers. It's quick & easy.

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

P: n/a
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
Nov 21 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Hi,

Have you tried impersonation?

http://www.dotnet247.com/247referenc...28/144136.aspx

Ken
--------------
"Bill Nguyen" <bi*****************@jaco.com> wrote in message
news:e7**************@TK2MSFTNGP10.phx.gbl...
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

Nov 21 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.