How to always run batch file as administrator?


  1. Posts : 11
    Win 7 Pro x64
       #1

    How to always run batch file as administrator?


    I've made a batch file, but i don't know how to make it to always run as administartor. In .bat's file properties the option "always run as administartor" is grayed out. I have to right click it and then choose "run as administartor" from context menu. But i don't want to do it every time because it's annoying, is there any way to make run as admin if option is grayed out in properties?
      My Computer


  2. Posts : 16,149
    7 X64
       #2

    Make a shortcut to the .bat - set the shortcut to run as admin.
      My Computers


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 18:05.
Find Us