Elevated Program Shortcut without UAC Prompt - Create

Page 30 of 51 FirstFirst ... 20282930313240 ... LastLast

  1. Posts : 4
    Windows 7 Home Premium 64bits
       #290

    Greg S said:
    Onikuro said:
    Hello. Today I've been having a problem trying to open an application as administrator in a standard user account. Well, finally I achieved it and I really don't know why isn't this solution in your tutorial. I've created a shortcut access using this as adress:

    runas /user/(pcname)\administratoraccount /savecred "Route to the program"

    Obviously, substitute (pcname), administratoraccount and route to the program for the ones you require. Then, when you double click the icon, a wild console appears and you type the password to the administrator account. Thanks to /savecred command, the password is always remembered and the next time you want to open it, the application directly starts. I've checked it and no UAC pops-up, it works perfectly fine in the five or six laptops here in the office.



    PS:Sorry, if there's something wrong with spelling, syntax or grammar. English is not my native language.

    Not working for me. Maybe you could give the exact syntax of an app that you used it for

    I forgot to say that you have to omit the brackets, I only put them because of the smilies. An example:

    runas /user:laptop\admin /savecred "C:\Program Files\CCleaner\CCleaner.exe"


    EDIT:Oops, I screwed it up on the route. After user it is a colon not a slash :S
      My Computer


  2. Posts : 71,980
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #291

    Hello Onikuro, and welcome to Seven Forums.

    Thank you, this is a very nice shortcut that standard users could use to run elevated shortcuts with.

    What do you have your UAC settings set to?

    I have mine set to the "Always notify" level, and I (administrator or standard user) still gets a UAC prompt to click on Yes to run the shortcut after entering the administrator password the first time.
      My Computer


  3. Posts : 4
    Windows 7 Home Premium 64bits
       #292

    I asked the system administrator of the office and he told me that in some of them it is set to the second with the less notifications and others with no notifications at all. In the laptops he used it, some of them gave notifications.

    To be sure because I don't know if I understood properly, when you execute it the second time there aren't notifications, are they?
      My Computer


  4. Posts : 71,980
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #293

    Onikuro,

    After I entered the administrator's password in the command prompt for only the first time running it, I only get a UAC prompt to click on "Yes" to approve that time and each time the shortcut is used.

    That's fine though since a standard use only has to click on Yes in the UAC prompt instead of normally having to enter the administrator's password to run the elevated shortcut.

    I'm going to be creating a separate tutorial for this shortly, and will post back a link to it here when finished. :)
      My Computer


  5. Posts : 4
    Windows 7 Home Premium 64bits
       #294

    Ok, glad I helped
      My Computer


  6. Posts : 824
    Windows 7 Professional 32-bit (6.1, Build 7600)
       #295

    Brink said:
    Onikuro,

    After I entered the administrator's password in the command prompt for only the first time running it, I only get a UAC prompt to click on "Yes" to approve that time and each time the shortcut is used.

    That's fine though since a standard use only has to click on Yes in the UAC prompt instead of normally having to enter the administrator's password to run the elevated shortcut.

    I'm going to be creating a separate tutorial for this shortly, and will post back a link to it here when finished. :)
    Looking forward to this. Still not working for me. It asks for credentials each time.
      My Computer


  7. Posts : 71,980
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #296

    Ok, here's the new tutorial for this with a standard user account. :)

    Elevated Program Shortcut - Create for Standard User
      My Computer


  8. Posts : 1
    windows 7
       #297

    I hope this is the right place to post this....sorry if its not im not much of a computer geek (brain)!!

    For some reason im having trouble with step #8 and #20 -8. Navigate to the .exe file of the program that you want to create this shortcut for, then select it and click on Open.
    #20 Navigate to the .exe file of the program that you have created this shortcut with. I cant find this so called exe file etc....help please!! I think the first time i tried this i did # 7 and 8 fine but always get stuck on #20....UGH. I even used CCleaner.exe like you did so it would be easy to see/remember!!
    All i wanted to do in the first place is be able to use the stupid iTunes again!! For some weird random reason the icon for itunes on my desktop has this blue and yellow shield on it and when i click to open it (it use to open on its own when i plug my ipod touch in!!) but now it asks if i want to allow this program to make changes to my computer so i click yes and it worked (opened) but starting yesterday it won't even open when i click yes anymore!! Why do computers have to be so confuseing and complicated ahhhhhhhh!! (ok i just tried it again b4 i post this msg thing and now the blue and yellow shield thing is gone from the itunes icon but UAC still asks for me to allow the program to make changes to my computer etc) program apple - verified publisher apple inc - file origin hard drive on this computer.

    I have windows 7. and iTunes version 10.5.1.42 (i guess thats what its called)?
    Last edited by Rhi86; 07 Dec 2011 at 13:16. Reason: forgot to add what kind of computer/system? im using
      My Computer


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

    Hello Rhi,

    The EXE file for iTunes would be in the C:\Program Files\iTunes folder.

    The icon on your desktop for iTunes is most likely just a shortcut. You could right click on this shortcut, click on "Properties", click on the "Shortcut" tab, and look in the "Target" field to see the location of the EXE file.

    As for why iTunes is not working properly now, that would be a question that's best to post in a new thread instead to get the best help with it.

    Hope this helps,
    Shawn
      My Computer


  10. Posts : 37
    Windows 7 64 bit
       #299

    Task icon not combining, window not opening when I "Elevated Program"


    Hi,

    I used Shawn's "Elevated Program Shortcut without UAC Prompt - Create" which worked great except 2 things.

    When I click on the icon that I have pinned to the task bar, it opens another icon on the TB and the window for that task is in the background. I have to click on it to see it.

    How do I fix these two issues?

    Thanks

    JJ
      My Computer


 
Page 30 of 51 FirstFirst ... 20282930313240 ... 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 00:33.
Find Us