Page 1 of 1

batch file in standard user to be run in administrator mode

Posted: 23 Jul 2013 10:18
by looksthatmatter
i want to run a bat file from standard user in administrator mode without prompting for password???is it possible???
if yes than how??

Re: batch file in standard user to be run in administrator m

Posted: 23 Jul 2013 12:40
by npocmaka_
If you have the administrator [username/]password or your user has administrator privileges it is possible...

Re: batch file in standard user to be run in administrator m

Posted: 24 Jul 2013 08:52
by looksthatmatter
i have the script that runs from administrator and does the work...but i want to run batch file from standard user ( may be registry can be edited or something) and it gets the administrator privileges

Re: batch file in standard user to be run in administrator m

Posted: 24 Jul 2013 09:13
by foxidrive
There are no ways to bypass UAC for a limited account - AFAIK.

Re: batch file in standard user to be run in administrator m

Posted: 24 Jul 2013 13:55
by npocmaka_
foxidrive wrote:There are no ways to bypass UAC for a limited account - AFAIK.


You can schedule a task with schtasks with admin account that is triggered on event .
And you can create an event log in application area without administrator permissions.
But still creating an event with admin permissions will pop-up the UAC.