Skip to main content

Create an administrator application shortcut



Create an administrator application shortcut

If you do require an administrative level working, you normally have to right click on ‘your shortcut’ and then select ‘Run as Administrator’. However, there is an easy way to modify the shortcut so that you no longer have to right click on it and select Run As all the time.
  1. Right click on your shortcut and select Properties [1].  Ex, winamp or cmd shortcut or any application you want.
  2. Select the shortcut tab and hit Advanced [2].
  3. Check the Run As Administrator box and hit OK [3].
  4. Hit OK once more to close the properties window.
You now have an administrative level shortcut without the right click.
[1]

[2]

[3]


                                            

Note: Once you start your application as Administrator you will benefit from administrative privileges ex, if you start your cmd as administrator the cmd will start in the Windows System32 [4] but if you start it normally I mean without Run As Administrator choice, you will start cmd using User Profile [5].  

[4]
[5]



Read more:

Comments

Popular posts from this blog

An attempt was made to insert a node where it is not permitted

Do you face this Error while you are writing code to generate xml file from java? Exception in thread "main" org.w3c.dom.DOMException : HIERARCHY_REQUEST_ERR: An attempt was made to insert a node where it is not permitted.        at com.sun.org.apache.xerces.internal.dom.CoreDocumentImpl.insertBefore(Unknown Source)        at com.sun.org.apache.xerces.internal.dom.NodeImpl.appendChild(Unknown Source)        at generatexml.WriteXMLFile.main( WriteXMLFile.java:30 ) Well the answer is: Don't insert the node where it isn't permitted. Change your generated directory file path from 'C' to other directory ex, D or to any directory you have. Make sure the ‘appendChild’ is referring to the right element. Don’t appending twice, only make it once. Ex, //Writetoxml.java   Element rootElement = doc . createElement ( " Company " );   doc . appendChild ( ro...

Error Class names are only accepted if annotation processing is explicitly requested

Do you get the following error? Class names, 'Hello', are only accepted if annotation processing is explicitly requested 1 error In case you got this error, then you forget to add .java to the file name when you compile it So when you want to compile a file using cmd console window write the filename.java extension Example: Javac Hello.java If you write it in this way the error will go away. So don’t forget to include suffix with your file name during compilation.
Cli.java won't compile in jahmm Problem: When you compile Cli.class in terminal or Eclipse, you may get the following error: Cli.java:27: package be.ac.ulg.montefiore.run.jahmm.io does not exist import be.ac.ulg.montefiore.run.jahmm.io.FileFormatException; ^ Cli.java:54: cannot find symbol symbol : class AbnormalTerminationException 9 more errors Solution: You must to pass parameters to your class. The class takes 5 parameters which are: Parameter 1: should be one of the following: create:  creates a new HMM description file, print:  prints a HMM learn-kmeans:   applies the k-Means algorithm learn-bw:  applies the Baum-Welch algorithm generate:    generates an observation sequence given a HMM distance-kl:    computes the distance between two HMMs Parameter 2: -opdf. It takes one of the following: -r: argument describes that HMM will take 4 integers. For example, -r 4 means that HMM takes ...