batch file in standard user to be run in administrator mode

Discussion forum for all Windows batch related topics.

Moderator: DosItHelp

Post Reply
Message
Author
looksthatmatter
Posts: 10
Joined: 18 Jul 2013 10:38

batch file in standard user to be run in administrator mode

#1 Post by looksthatmatter » 23 Jul 2013 10:18

i want to run a bat file from standard user in administrator mode without prompting for password???is it possible???
if yes than how??

npocmaka_
Posts: 512
Joined: 24 Jun 2013 17:10
Location: Bulgaria
Contact:

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

#2 Post by npocmaka_ » 23 Jul 2013 12:40

If you have the administrator [username/]password or your user has administrator privileges it is possible...

looksthatmatter
Posts: 10
Joined: 18 Jul 2013 10:38

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

#3 Post by looksthatmatter » 24 Jul 2013 08:52

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

foxidrive
Expert
Posts: 6031
Joined: 10 Feb 2012 02:20

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

#4 Post by foxidrive » 24 Jul 2013 09:13

There are no ways to bypass UAC for a limited account - AFAIK.

npocmaka_
Posts: 512
Joined: 24 Jun 2013 17:10
Location: Bulgaria
Contact:

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

#5 Post by npocmaka_ » 24 Jul 2013 13:55

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.

Post Reply