3

I have a batch file that I want to run with elevated privilege and I have created a link and checked the option run as administrator but it doesn't work? I have Windows 8 and disabled UAC?

1 Answer 1

2

compile your batch file into an .exe with administrative rights

bat-2-exe worked for me when I needed to accomplish this

5
  • Have you tried ' runas '
    – ICE
    Jun 9, 2013 at 22:48
  • 1
    RUNAS [/profile] [/env] [/netonly] /user:user Program
    – ICE
    Jun 9, 2013 at 22:49
  • 1
    stackoverflow.com/questions/6811372/…
    – ICE
    Jun 9, 2013 at 22:55
  • ^^There is an answer in this topic that may be of some use
    – ICE
    Jun 9, 2013 at 22:55
  • I tested elevate program from the link. it works. Thanks
    – Micromega
    Jun 9, 2013 at 23:15

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .