Does this need to be done on-demand or on an interval? You could wrap a service that runs with elevated privelages or schedule a batch file in the task scheduler that runs as admin. If this needs to be done on-demand then it is another issue.
Also please explain what you're trying to do -- maybe it will help us come up with a better approach.
Reputation Points: 1749
Solved Threads: 735
Senior Poster
Offline 3,948 posts
since Feb 2009