Running as the same user but with elevated privledges

Started by jimklein, September 19, 2014, 11:15:54 AM

Previous topic - Next topic

jimklein

Running as the same user but with elevated privledges

1. Does Windows itself support this ?
2. How do I do this in Winbatch ?

I want to install a program while logged on as a standard user but with domain admin privledges.
I've used "runwithlogon" successfully but that would install as a different user and not the current user with admin/elevated privledges.

Is there a Winbatch command that would allow this ?

Thanks,
Jim

td

By definition a standard user account cannot be given administrative privileges because if it were granted those privileges, it would no longer be 'standard.'  So you would have to make a standard user a member of the Administrators group or the equivalent before it could run with administrator privileges.

Generally, a software installation program that requires administrator privileges and also needs to modify standard user account setting can do so while running with full administrator privileges.  There are several ways for installation programs to accomplish this. 
"No one who sees a peregrine falcon fly can ever forget the beauty and thrill of that flight."
  - Dr. Tom Cade