Ask the Expert

Can I give a client temporary local admin rights?

Hi, I am trying to copy a file at logon to one of the users' Program Files folders. The problem is that they only have read access to this folder, so the file copy is not completing due to Access Denied. Is there a way I can copy the file temporarily using a separate domain account or even through the script temporarily given them local admin rights?

    Requires Free Membership to View

This is a common problem -- how to run actions in the context of an administrative user without allowing that user full administrative permissions. I've written about a number of different approaches to this before, which you can read about here:

 

This was first published in July 2004

Join the conversationComment

Share
Comments

    Results

    Contribute to the conversation

    All fields are required. Comments will appear at the bottom of the article.