Search This Blog

How To Run Exe File Or Bat File As Adminstrator : Windows 8 & Above

Often we come across some applications which require administrator rights to perform some specific tasks. For that we need to close the application, then open it by right clicking on it and then selecting Run As Administrator, but that's really annoying if task has to be done on daily basis. In this post we will learn how can we make a file to run permanently as administrator.

What To Do For .exe Files

Now suppose we have .exe file which runs an application. Now one way to run it as administrator is by right clicking it and click on Run As Administrator context menu.

Other way is to permanently open it up as Administrator. For this, just right click the exe file and click properties context menu. Now properties window will appear. In that select the compatibility tab, and down below there's a checkbox for Run As Administrator, select it and click on apply. Refer below image

Now your exe will always open as administrator.

What To Do For .bat Files

This method can be used for exe files as well, just in case the above method doesn't work for you. Now for this method, you need to create a shortcut of your .bat or any other file. If you know how to make a shortcut then it's well and good, but if you don't then just right click the file>Sento To>Desktop (create shortcut)

Now when your shortcut is ready. You need to right click it and open properties.

Now click on Advanced button, you will see a window with option for Run As Administrator. Select that option, click OK then click Apply.

Now you are all set. Your shortcut will now always open in Administrator mode.

Do let us know if you face any problem. Comments section is just down below.

Comments

Post a Comment

Popular posts from this blog

Great android apps require great design. For great design you need to master layouts. Layout is one of the basic building block of Android User Interface. Lets jump right in and try designing layout for our app - Just Maths.

Just Maths has 3 screens - Main Menu Screen, Game Screen and Score Screen. Each of the screen is designed using Relative Layout and Linear Layout. There are other layouts as well like Frame Layout, Table Layout and Grid Layout. But you can design anything using only Relative Layout and Linear Layout. These layouts are nothing but View Groups.

Want to build Android Apps really fast?
With Android Studio and a blend of Java and XML, you will be up and running and coding Great Android Apps in no time.
Let's get started. We will be creating a very simple app named Just Maths that will ask user a Maths question. User either presses (✔) or (X) to answer the question. This is going to be a project based learning wherein you will have something concrete in the end.

Here's is a quick way of implementing Auto-Complete in your webpage. Auto-Complete dropdowns are some textbox type looking elements on webpage. When you type on these textboxes you will be prompted with value options just like in dropdowns. The good part of using this method is you need not to using any jQuery for this. The bad part is this will only work in modern browsers which support HTML5.