Manage Learn to apply best practices and optimize your operations.

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?
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:


Dig Deeper on Microsoft Hyper-V management

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.