Elevated Program Shortcut without UAC Prompt - Create

Page 42 of 51 FirstFirst ... 324041424344 ... LastLast

  1. Posts : 925
    Windows 10 Pro
       #410

    EdPell said:
    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 Computer


  2. Posts : 26
    win 7 Home Premium
       #411

    >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 Computer


  3. Posts : 260
    Windows 7 Ultimate 64bit
       #412

    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 Computer


  4. Posts : 26
    win 7 Home Premium
       #413

    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 Computer


  5. Posts : 1
    Windows 8.1 Update 1 x64
       #414

    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 Computer


  6. Posts : 925
    Windows 10 Pro
       #415

    EdPell said:
    >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 Computer


  7. Posts : 26
    win 7 Home Premium
       #416

    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 Computer


  8. Posts : 10
    Windows 7 Home 32bit
       #417

    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 Computer


  9. Posts : 71,975
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #418

    Hello Win7User2nd,

    Google Chrome doesn't require to run elevated to open it.
      My Computer


  10. Posts : 10
    Windows 7 Home 32bit
       #419

    It used to open without the UAC but now the UAC prompts up when I launch Chrome.
      My Computer


 
Page 42 of 51 FirstFirst ... 324041424344 ... LastLast

  Related Discussions
Our Sites
Site Links
About 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 03:26.
Find Us