Q

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:

 

This was last published in July 2004

Dig Deeper on Windows Server Virtualization and Microsoft Hyper-V

PRO+

Content

Find more PRO+ content and other member only offers, here.

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.

By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Please create a username to comment.

-ADS BY GOOGLE

SearchServerVirtualization

SearchCloudComputing

SearchExchange

SearchSQLServer

SearchWinIT

SearchEnterpriseDesktop

SearchVirtualDesktop

Close