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

11 May 2014   #410
JerometheGiraff

Windows 10 Pro
 
 

Quote   Quote: Originally Posted by EdPell View Post
Hi Brink ...

First, thanks for the great tutorial.

I just purchased a new PC with Win 7 Home Premium and found the UAC process a bit tedious for programs I run frequently, for example, Search Everything. I followed your tutorial and it's working fine.

However, more often than not, I want to run it from a context menu. Way back in post #'s 10 and 11, I *think* Lebon14 also wanted to do this and you responded with a registry add like this:

[HKEY_CLASSES_ROOT\*\shell\Every Search]
[HKEY_CLASSES_ROOT\*\shell\Every Search\command]
@=\C:\\Users\\Ed\\Desktop\\Every Search.lnk\ \%1\"

but obviously with the program (Notepad++) he was concerned with.

My question - if I stuck those three lines in a text editor such as Notepad and changed the file extension to .reg, is that sufficient to correctly update the registry?

Thanks for your help
EdP
What do you mean by having it run from a context menu ?


My System SpecsSystem Spec
.
11 May 2014   #411
EdPell

win 7 Home Premium
 
 

>What do you mean by having it run from a context menu ? <

When I right-click a drive or folder in Explorer (or, in my case xplorer2), I'd like Search Everything to appear in the pop-up menu and, when selected, search only the drive or folder that was right-clicked.
My System SpecsSystem Spec
13 May 2014   #412
jonnyhotchkiss

Windows 7 Ultimate 64bit
 
 
everything (folder) context menu

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Folder\shell\Search Everything...\command]
@="\"C:\\Program Files\\Everything\\Everything.exe\" -path \"%1\""


save as reg+import, or use as ref to manually create reg string at above location.

To add to drive context-menus, the key needs to be added to HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Drive\shell

(I just tried this and it works: Using advanced registry editor, I was able to copy the key (HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Drive\shell\Search Everything...\command) easily, by
  1. Navigating to "source" key [HKLM\SOFTWARE\Classes\Folder\shell\Search Everything...\command]
  2. Copying (full) key name
  3. right-click key and select "copy to"
  4. PASTE the key name, change "FOLDER" to "DRIVE"
  5. Select ok / Hit Enter to copy the key

Here's the exported [drive] reg.

Good luck!

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Drive\shell\Search Everything...]

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Drive\shell\Search Everything...\command]
@="\"C:\\Program Files\\Everything\\Everything.exe\" -path \"%1\""
My System SpecsSystem Spec
13 May 2014   #413
EdPell

win 7 Home Premium
 
 

jonny ...

Thanks much for taking the time to help.

I suddenly found myself in the middle of an oobleck storm and can't concentrate on much else. As soon as I try it out, I'll report back.

EdP
My System SpecsSystem Spec
.

15 May 2014   #414
Jytra

Windows 8.1 Update 1 x64
 
 

Hey all. Google led me to this site based on some searches, so this is going to sound strange...

A while back, I had set up one of my Win 8.1 PCs to run a TeamSpeak server at start, with admin privileges and all, and it worked just fine for a good long time. However, my curious side managed to convince me to try out SteamOS on that particular machine, and create a dedicated server, but in doing so, I completely forgot to write down what I had done to configure the system, so now I'm in some trouble.

After spending the last few days wrestling with Ubuntu on the new server (just setting up an automated mount for hot-plugged drives was a nightmare), I decided to install Win 8.1 on it to make remote management easier, but I cannot for the life of me figure out how to get the TeamSpeak server to run with admin privileges at startup. I cannot remember what I did to configure it previously, outside of just simply adding a shortcut to the startup folder.

I've attempted this tutorial (from this thread) to set up a shortcut that automatically runs the TeamSpeak server at boot, but for some reason, it either starts and promptly closes itself once a client connects, or simply doesn't start at all. I then attempted a separate tutorial to create a Task Manager entry, but that refused to start up as well. If I add the shortcut without admin rights to the startup folder, then the server rejects all connections, so getting it to start as admin is critical.

I guess my main question is "What am I doing wrong?". Previously, I remembered moving the server folder from the 64-bit program files to the x86 version to solve the issue (e.g. c:\program files (x86)\teamspeak 3 server\), but that no longer seems to work as I remember it.
My System SpecsSystem Spec
16 May 2014   #415
JerometheGiraff

Windows 10 Pro
 
 

Quote   Quote: Originally Posted by EdPell View Post
>What do you mean by having it run from a context menu ? <

When I right-click a drive or folder in Explorer (or, in my case xplorer2), I'd like Search Everything to appear in the pop-up menu and, when selected, search only the drive or folder that was right-clicked.
If you don't mind when you try johnny registry edit, if you can show a screen shot of this in action, quite curious whether it would benefit me !
My System SpecsSystem Spec
18 May 2014   #416
EdPell

win 7 Home Premium
 
 

Jonny ...

Actually, that registry entry doesn't work and didn't work months ago. I found out the problem was the ending double-quote. When removed, it worked perfectly.
"C:\Program Files\Everything\everything.exe" -filename "%1"
to
"C:\Program Files\Everything\everything.exe" -filename "%1

>if you right click on your .lnk file and select open file location, you should get the location of the (everything.exe) target of your shortcut<
Thanks, I didn't know that. But because of the way I work, it takes less time and effort to right-click the deisred drive/folder, click SearchEverything, and just click the UAC YES button.

In your latest post, it appears to me that you're referring to the SearchEverything program itself, not the shortcut to the Task. What I'm trying to do is get the Task shortcut in the context menu.

Not sure if I made myself clear.

EdP
My System SpecsSystem Spec
10 Jun 2014   #417
Win7User2nd

Windows 7 Home 32bit
 
 

I followed the instructions step by step. But when I finish and start up the program, it doesn't work. I am using this for Google Chrome.
My System SpecsSystem Spec
10 Jun 2014   #418
Brink

64-bit Windows 10 Pro
 
 

Hello Win7User2nd,

Google Chrome doesn't require to run elevated to open it.
My System SpecsSystem Spec
10 Jun 2014   #419
Win7User2nd

Windows 7 Home 32bit
 
 

It used to open without the UAC but now the UAC prompts up when I launch Chrome.
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 02:54.
Twitter Facebook Google+ Seven Forums iOS App Seven Forums Android App