Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Elevated Program Shortcut without UAC Prompt - Create

24 Sep 2013   #380
elromo

Windows 7 Home Premium 64 bit
 
 

Thank you for your quick response. Unfortunately, I cannot figure out how I choose the elevated shortcut. When I go to "Open with" none of the programs seem to be the one for the shortcut. I typed in what I thought was the path from looking at the "properties" of the shortcut but that didn't work. In addition, the path I typed brought up an icon that says "Manages scheduled tasks". I tried something else but that resulted in a third icon showing in "Recommended Programs". Now it seems I can't delete either one of these "Recommended Programs" that do not work. Any ideas??


My System SpecsSystem Spec
.
24 Sep 2013   #381
Brink

64-bit Windows 10 Pro
 
 

You should be able to click on "Choose default program", then "Browse" to be able to navigate to and select the shortcut like under step 3.

Open With - Change Default Program

Elevated Program Shortcut without UAC Prompt - Create-browse.jpg


My System SpecsSystem Spec
17 Feb 2014   #382
JPatrick

WIN7 Home Premium x64
 
 
Task Scheduler & App Options at startup

Have turned to this Forum many times for solutions, though, this is my first posting.

After reading a posting in the HowToGeek column, I utilized Task Scheduler to automate running SyncToy for doing backups. Today, however, I ran into several issues attempting to automate the Malwarebytes application.

Your script on bypassing the UAC was spot on. However, once the app starts up, it stops at the screen offering "Quick Scan" and "Full Scan" options. I disabled the prompt for updating, but cannot determine how to just get things to run without my interaction. (which defeats the whole purpose of this script). Subbing in other .exe files within the program's folder had no effect.

When a program opens as this one does, asking for user selections before it proceeds, is it simply not possible to automate the process as I did with the SyncToy app?

Thanks.
My System SpecsSystem Spec
17 Feb 2014   #383
Scoop

Windows 7 Home Premium 64 bit
 
 

Quote   Quote: Originally Posted by JPatrick View Post
Have turned to this Forum many times for solutions, though, this is my first posting.

After reading a posting in the HowToGeek column, I utilized Task Scheduler to automate running SyncToy for doing backups. Today, however, I ran into several issues attempting to automate the Malwarebytes application.

Your script on bypassing the UAC was spot on. However, once the app starts up, it stops at the screen offering "Quick Scan" and "Full Scan" options. I disabled the prompt for updating, but cannot determine how to just get things to run without my interaction. (which defeats the whole purpose of this script). Subbing in other .exe files within the program's folder had no effect.

When a program opens as this one does, asking for user selections before it proceeds, is it simply not possible to automate the process as I did with the SyncToy app?

Thanks.
Hi,

I have Malwarebytes as well but I'm only using the Task Scheduler (UAC bypass) to launch the main MBAM console, which starts up in the "Scanner" tab, as you mentioned.

I asked about this at the MBAM forum, whether there are shortcut keys that can be used with a script, once the main console launches.

Unfortunately, MBAM's console is limited without the mouse. I haven't as yet seen a way to switch to the other tabs, as with the <ctrl> tab function in IE, etc.

I thought about writing a script (using Autohotkey) with mouse x/y coordinates, to do some things with MBAM's console but I put that idea on my back burner for now.

MBAM does have several command-line options, like resetting the scanner schedules, but there weren't any commands available that I was interested in using at the time I looked into it.

The list of non-interactive command-mode items that can be done, from CMD or internally in a script, are are listed in the "help" index from the "about" tab, then the "help" button. The index has a section labeled "Command Line Parameters".
My System SpecsSystem Spec
.

17 Feb 2014   #384
JPatrick

WIN7 Home Premium x64
 
 

For now, having the task scheduler launch the application will serve as a reminder to run mbam. (at least until I throw down a buy the full version, to set up ongoing processes).

thanks for the very prompt reply.
My System SpecsSystem Spec
07 Apr 2014   #385
Batch

W7 x86
 
 

I used the info in this Tutorial which worked well, but it soon dawned on me that the applications seemed to be taking a long time to run.

Than the penny dropped - Scheduled Tasks run at priority 7 by default (which is lower than directly run applications typically run at) and the Task Scheduler does not directly provide a way to set priorities. So I Exported each task [that I had added] (as XML), deleted each task, edited the XML to change priority to 6 (which makes all the difference) and then Imported the tasks again. Problem solved.

Might I suggest that the Tutorial could mention the priority issue and its solution.

Whilst on the subject of priorities, they should not be set too high - 4 to 6 should be adequate for most purposes. Setting the priority too high can cause instabilities (esp. priorities 0 & 1) as system critical processes which are vital to the systems smooth operation can can held back.
My System SpecsSystem Spec
08 Apr 2014   #386
JerometheGiraff

Windows 10 Pro
 
 

Batch - How do you know that Scheduled tasks run at a priority 7 ?
My System SpecsSystem Spec
08 Apr 2014   #387
charli1

Windows 7 Ultimate x64
 
 

Hi Brink,
very nice guide, thanks a lot,
one question, will this work also on standard users non admin or power users?
Thanks in advance.
My System SpecsSystem Spec
08 Apr 2014   #388
Brink

64-bit Windows 10 Pro
 
 

Quote   Quote: Originally Posted by charli1 View Post
Hi Brink,
very nice guide, thanks a lot,
one question, will this work also on standard users non admin or power users?
Thanks in advance.
Hello Charli,

I'm afraid this will only work with administrator accounts. However, you could use the method in the tutorial below with all users though.

Elevated Program Shortcut - Create for Standard User
My System SpecsSystem Spec
09 Apr 2014   #389
charli1

Windows 7 Ultimate x64
 
 

Quote   Quote: Originally Posted by Brink View Post
Quote   Quote: Originally Posted by charli1 View Post
Hi Brink,
very nice guide, thanks a lot,
one question, will this work also on standard users non admin or power users?
Thanks in advance.
Hello Charli,

I'm afraid this will only work with administrator accounts. However, you could use the method in the tutorial below with all users though.

Elevated Program Shortcut - Create for Standard User
Thanks mate.
My System SpecsSystem Spec
Reply

 Elevated Program Shortcut without UAC Prompt - Create




Thread Tools




Similar help and support threads
Thread Forum
Elevated Program Shortcut - Create for Standard User
How to Create an Elevated Program Shortcut Any User is able to Run in Vista, Windows 7, and Windows 8 This will show you how to create an elevated program shortcut that allows any user (ex: Standard user) to be able to run a program that runs as administrator without being prompted to enter the...
Tutorials
Elevated Command Prompt Shortcut
How to Create an "Elevated Command Prompt" Shortcut in Windows 7 and Windows 8 This tutorial will show you how to create a shortcut that will open an elevated command prompt with administrator rights in Windows 7 and Windows 8. When you use the elevated command prompt shortcut, you may be...
Tutorials
Task Manager - Create Elevated Shortcut
How to Create an Elevated Task Manager Shortcut in Windows 7 This will show you how to create a elevated Task Manager shortcut that will "run as an administrator" in Windows 7 when opened. It will open as if you clicked Show processes from all users in the default Task Manager. You will...
Tutorials
Setting Priority with "Elevated Shortcut without UAC Prompt Tutorial"
I used the info in Elevated Program Shortcut without UAC Prompt Tutorial and it soon dawned on me that the applications seemed to be taking a long time to run. Than the penny dropped - Scheduled Tasks run at priority 7 by default (which is lower than directly run applications typically run at)...
General Discussion
Creating an Elevated Program Shortcut for Search Everything Program.
I`ve done this successfully for SpeedFan, but I`m having a problem with doing the same for the Search Everything program. I`ve been through the tutorial steps several times now, the task executes successfully,( I checked it with command prompt box) but nothing happens. /c start "SpeedFan"...
Software
Question on "How to Create a Elevated Program Shortcut ..."
The solution (Shawn) in the thread How to Create a Elevated Program Shortcut without a UAC Prompt (https://www.sevenforums.com/tutorials/11949-elevated-program-shortcut-without-uac-prompt-create.html) ends with 24. When you run this new elevated shortcut, you will now no longer have...
System Security


Our Sites

Site Links

About Us

Find 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 23:26.
Twitter Facebook Google+ Seven Forums iOS App Seven Forums Android App