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 first published in July 2004

Dig deeper on Windows Server Virtualization and Microsoft Hyper-V

Pro+

Features

Enjoy the benefits of Pro+ membership, learn more and join.

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.

0 comments

Oldest 

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to:

SearchServerVirtualization

SearchCloudComputing

SearchExchange

SearchSQLServer

SearchWinIT

SearchEnterpriseDesktop

SearchVirtualDesktop

Close