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
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.