1

I can run cmd as admin by right click and then clicking "run as administrator". But then windows gives me a pop message asking if "do you want following program to make changes to your computer"...

How can I avoid the popup message and then clicking yes? I have one more program "oracle vm virtualbox" that I want to run without getting the pop up message.

How to do the same?

1 Answers1

1

Use the old Task scheduler trick, which I use since Vista.

Go to Task scheduler Library and make a right click and click "New Folder" and type in "myTasks" to create a new folder.

Go to the folder and create a new task, select the checkbox "Run with highest priviligies". Give it a name like autoElevatePROGRAMNAME, go to the tab "Actions" and select the program you want to execute.

Now create a shortcut on the desktop with this content:

C:\Windows\System32\schtasks.exe /RUN /TN "myTasks\autoElevatePROGRAMNAME"

Now always start the programs with this link.

If this is too complicated, use the Tool UACPass which does all steps for you.

enter image description here

magicandre1981
  • 98,168
  • 30
  • 181
  • 248