Link to home
Start Free TrialLog in
Avatar of compx_it
compx_it

asked on

Batch Script

Hi,

I'm getting an error message when trying to run bat script:
"The requested operation requires elevation <Run as administrator>
I need to run the script via task scheduler so I can use "run as administrator option"

Any ideas?
Avatar of QuinnDex
QuinnDex

here is a way to elevate .bat permissions

https://sites.google.com/site/eneerge/home/BatchGotAdmin
Avatar of Gerwin Jansen
@compx_it - I can imagine you want the batch file to run in the background as it is a scheduled job - it this the case? If so then the suggestion above from QuinnDex is not working as it is prompting for administrative rights (UAC / GUI).
ASKER CERTIFIED SOLUTION
Avatar of Gerwin Jansen
Gerwin Jansen
Flag of Netherlands image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
alternatively convert the .bat to a .exe this will eliminate the need to run as administrator

http://www.abyssmedia.com/quickbfc/
May I ask why the B-grade?

You can read about grading here:
http://support.experts-exchange.com/customer/portal/articles/481419

Thanks