If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Rate Thread | Display Modes |
#1
|
|||
|
|||
Running as Administrator from Startup shortcu?
Up until now one of my programs has always run on booting up. Its
shortcut is in my Startup folder. I have now re-configured the shortcut to 'Run as Administrator', for all users. It works correctly when d-clicked manually. But it no longer starts on startup. Is that to be expected? (Perhaps because the UAC warning is triggered and obviously cannot be answered?) Can I work around it? It's no big deal to start it manually, but... Terry, East Grinstead, UK |
Ads |
#2
|
|||
|
|||
Running as Administrator from Startup shortcu?
Terry Pinnell wrote:
Up until now one of my programs has always run on booting up. Its shortcut is in my Startup folder. I have now re-configured the shortcut to 'Run as Administrator', for all users. It works correctly when d-clicked manually. But it no longer starts on startup. Is that to be expected? (Perhaps because the UAC warning is triggered and obviously cannot be answered?) Can I work around it? It's no big deal to start it manually, but... Terry, East Grinstead, UK There's a recipe here. http://www.thewindowsclub.com/autost...indows-10-make "Creating an Program Shortcut, opening its Properties, opening the Compatibility tab, checking Run this program as an administrator and placing this shortcut in the Windows Startup folder does not work. What you will have to do, is make use of the Windows Task Scheduler to create an elevated Shortcut to run Programs bypassing the UAC Prompt. " HTH, Paul |
#3
|
|||
|
|||
Running as Administrator from Startup shortcu?
Paul wrote:
Terry Pinnell wrote: Up until now one of my programs has always run on booting up. Its shortcut is in my Startup folder. I have now re-configured the shortcut to 'Run as Administrator', for all users. It works correctly when d-clicked manually. But it no longer starts on startup. Is that to be expected? (Perhaps because the UAC warning is triggered and obviously cannot be answered?) Can I work around it? It's no big deal to start it manually, but... Terry, East Grinstead, UK There's a recipe here. http://www.thewindowsclub.com/autost...indows-10-make "Creating an Program Shortcut, opening its Properties, opening the Compatibility tab, checking Run this program as an administrator and placing this shortcut in the Windows Startup folder does not work. What you will have to do, is make use of the Windows Task Scheduler to create an elevated Shortcut to run Programs bypassing the UAC Prompt. " HTH, Paul Thanks, found it shortly after posting - should have looked harder! Not quite succeeded in getting it working (it's a chore re-booting to test) so may be back. Terry, East Grinstead, UK |
#4
|
|||
|
|||
Running as Administrator from Startup shortcu?
On 2017-07-27 06:16, Terry Pinnell wrote:
Paul wrote: Terry Pinnell wrote: Up until now one of my programs has always run on booting up. Its shortcut is in my Startup folder. I have now re-configured the shortcut to 'Run as Administrator', for all users. It works correctly when d-clicked manually. But it no longer starts on startup. Is that to be expected? (Perhaps because the UAC warning is triggered and obviously cannot be answered?) Can I work around it? It's no big deal to start it manually, but... Terry, East Grinstead, UK There's a recipe here. http://www.thewindowsclub.com/autost...indows-10-make "Creating an Program Shortcut, opening its Properties, opening the Compatibility tab, checking Run this program as an administrator and placing this shortcut in the Windows Startup folder does not work. This is really really really annoying isn't it? If we check "Run as Admin" there should be NO UAC prompt, it should just elevate itself. UAC is such a freaking stupid thing. You see less viruses now that UAC exists? I don't... What you will have to do, is make use of the Windows Task Scheduler to create an elevated Shortcut to run Programs bypassing the UAC Prompt. Yeah, but task scheduler REQUIRES that you specify a USER under which to run the task, DUH! If you specify Administrator then the program's UI doesn't appear on your desktop (or in your system tray) because it runs under another user. BUILTIN\USERS kinda works, but I've had instances where it did not. What you have to do is use SCHTASKS to create the task with user=INTERACTIVE (the Task Scheduler console will not let you select this principal) like so: Schtasks /Create /RU INTERACTIVE /IT /TN MyTaskName /SC ONCE /TR MyExecutable /ST 00:00 Then edit the task to your liking... Thanks, found it shortly after posting - should have looked harder! Not quite succeeded in getting it working (it's a chore re-booting to test) so may be back. Terry, East Grinstead, UK -- ! _\|/_ Sylvain / ! (o o) Memberavid-Suzuki-Fdn/EFF/Red+Cross/SPCA/Planetary-Society oO-( )-Oo "What's that?" -Arthur, "Something blue." -Ford |
Thread Tools | |
Display Modes | Rate This Thread |
|
|