+ Post New Thread
Results 1 to 15 of 15
Windows 7 Thread, old program needs to run as admin that to uac workarounds? in Technical; ...
  1. #1
    chazzy2501's Avatar
    Join Date
    Jan 2008
    Location
    South West
    Posts
    1,793
    Thank Post
    214
    Thanked 263 Times in 213 Posts
    Rep Power
    67

    old program needs to run as admin that to uac workarounds?

    I have a music program that the music teacher wants to use. (he just spent £150 on it) The program crashes unless you run as admin.. How do I get this software to work for a standard user? I granted him full perms to the folder no reg keys to talk of but it must need something else?

    I think I heard of a scheduled task / shortcut workaround once?

    I've run it for him and told him never to close the program for now

    uac is damn good but old cruddy badly made software crops up now and again..

  2. #2
    themightymrp's Avatar
    Join Date
    Dec 2009
    Location
    Leeds, West Yorkshire
    Posts
    1,217
    Thank Post
    215
    Thanked 226 Times in 195 Posts
    Rep Power
    73
    Try deploying this registry edit via GPP

    Point it to HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers

    Set the value name to the path of the programs executable and then set the value itself to RUNASADMIN

    Put this registry edit in the Computer Configuration side

    GPP.jpg

  3. #3
    chazzy2501's Avatar
    Join Date
    Jan 2008
    Location
    South West
    Posts
    1,793
    Thank Post
    214
    Thanked 263 Times in 213 Posts
    Rep Power
    67
    would this be the same as "run as admin" in the compatibility settings? if so this wont work as it prompts the standard user for an admin login

  4. #4
    themightymrp's Avatar
    Join Date
    Dec 2009
    Location
    Leeds, West Yorkshire
    Posts
    1,217
    Thank Post
    215
    Thanked 226 Times in 195 Posts
    Rep Power
    73
    Hmmm, yeah I think it is the same as the right-click Run and Admin Could you try running Process Monitor (procmon.exe) and see what it fails on when you run it as him? It might point you to an .INI file or something in the Windows folder that requires more permissions?

    So as it currently stands, is the machine logged in as him, then you have run the program and entered your Admin credentials to get it to open?

    If so, how about creating a local Admin (power user maybe??) account on the machine and giving him the username and password for it? He could then enter that himself to run the software?

  5. #5

    mac_shinobi's Avatar
    Join Date
    Aug 2005
    Posts
    9,781
    Thank Post
    3,285
    Thanked 1,053 Times in 974 Posts
    Rep Power
    365
    If the exe in the directory of where ever said application is installed ( presumably c:\program files ) then right click on exe --> properties -->

    click the unblock button on the general tab ( if it exists ) --> Go to the compatability tab --> change settings for all users button --> tick the check box to run as administrator ) --> apply --> ok

    If for the shortcut that you created for said program which is on the desktop then go to the properties of said shortcut --> Click the advanced button --> run as administrator --> ok --> go to the compatability tab --> change settings for all users --> run as administrator --> apply & ok etc

    Screen grabs attached - although my AD account has been added as a local admin account on the computer I use , not sure if that helps or makes any difference
    Attached Images Attached Images
    Last edited by mac_shinobi; 18th June 2013 at 04:11 PM.

  6. #6
    chazzy2501's Avatar
    Join Date
    Jan 2008
    Location
    South West
    Posts
    1,793
    Thank Post
    214
    Thanked 263 Times in 213 Posts
    Rep Power
    67
    hum, with local admin my standard users may install programs, etc..

  7. #7

    mac_shinobi's Avatar
    Join Date
    Aug 2005
    Posts
    9,781
    Thank Post
    3,285
    Thanked 1,053 Times in 974 Posts
    Rep Power
    365

  8. #8

    mac_shinobi's Avatar
    Join Date
    Aug 2005
    Posts
    9,781
    Thank Post
    3,285
    Thanked 1,053 Times in 974 Posts
    Rep Power
    365
    Bit of googling and found the above link from here :
    Force software to always run as admin without exposing admin password

  9. #9


    Join Date
    Dec 2005
    Location
    In the server room, with the lead pipe.
    Posts
    4,648
    Thank Post
    275
    Thanked 780 Times in 607 Posts
    Rep Power
    224
    There's also the Microsoft Compatibility Toolkit, which lets you build and deploy shims as .msi (I'm working from memory, think it's .msi). We had to deploy a few when we migrated to Windows 7.

    Download Microsoft Application Compatibility Toolkit 5.6 from Official Microsoft Download Center
    Last edited by pete; 18th June 2013 at 05:33 PM. Reason: typo

  10. Thanks to pete from:

    mac_shinobi (18th June 2013)

  11. #10
    ADMaster's Avatar
    Join Date
    May 2012
    Posts
    332
    Thank Post
    5
    Thanked 35 Times in 30 Posts
    Rep Power
    23
    I use CPAU from joeware for this. Encode the program parameters username and password into a job file, then create a bat file to decode the job file. Change the icon of the bat file to that of the program and the user doesn’t notice too much.
    I’ve done this for a few old programs, I can post a copy of my bat files if you like.


    CPAU

  12. #11
    steewy's Avatar
    Join Date
    Jan 2013
    Location
    Guildford
    Posts
    47
    Thank Post
    1
    Thanked 1 Time in 1 Post
    Rep Power
    0
    I would personally use AUTOIT. By scripting the shortcut you can make sure than the application will always run as admin.
    Have a look at AUTOIT, It's pretty simple to use and save my life a few times.

    AutoIt - AutoItScript
    Run as administrator ? - General Help and Support - AutoIt Forums

  13. #12

    Join Date
    Sep 2011
    Posts
    63
    Thank Post
    9
    Thanked 8 Times in 8 Posts
    Rep Power
    15
    heya Chazzey2501,
    on the persons PC have you actually tried to disable UAC and run the software of turn down UAc 1 notch at a time to see if he can run it like that?
    I would recomend trying that sounds like the group policy admin approval rule for UAC or so. not an expert on how that works tho, just an idea ^_^

  14. #13

    Join Date
    Mar 2013
    Posts
    7
    Thank Post
    1
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    We were running a piece of software that needed admin rights to run. What I ended up doing was throwing together a VBScript that used the runas command, and then repacked it into an exe and changed the program shortcut to launch the script instead.

    Here's the script:
    Code:
    Set WshShell=WScript.CreateObject("WScript.Shell")
    strCmd="Path to Program.exe"
    strUser="Domain\AdminUser"
    strPass="AdminPassword"
    set WshShell=CreateObject("WScript.Shell")
    WshShell.Run "runas.exe" & " /u:" & strUser & " " & strCmd
    WScript.Sleep 1000
    WshShell.Sendkeys strPass & "~"
    Just change the underlined items to match what you need and then use IExpress to wrap it in an exe. All the user will see is a command prompt pop up when runas runs.

    One important caveat, however:
    This script doesn't refocus the Command Prompt window before inserting the password. So if a user clicks into a box that accepts text before the password is sent to the command prompt, they're going to get the cleartext password. I never messed around with fixing that part of it, because we made them local admins for different reasons. However, I thought I'd post the script anyways as a starting point.
    Last edited by RageSto; 25th June 2013 at 10:05 PM.

  15. #14
    ass17's Avatar
    Join Date
    Feb 2013
    Posts
    338
    Thank Post
    5
    Thanked 37 Times in 34 Posts
    Rep Power
    27
    Some software need more than run as administrator. We ave used palmersoft runasuser which encrypts the domain credentials into a repackaged EXE. Works a treat.

    Vbscript a is a no no with things like this, as user can read the vbscript code and see the credentials in all its glory...

  16. #15
    MordyT's Avatar
    Join Date
    Sep 2012
    Location
    In a computer
    Posts
    479
    Thank Post
    44
    Thanked 73 Times in 68 Posts
    Rep Power
    20
    We used a piece of software called beyond trust that might help. I never played with it, but does functions like this.

SHARE:
+ Post New Thread

Similar Threads

  1. Run as admin on domain admin account? WHY?!
    By rslulz in forum Windows Server 2008 R2
    Replies: 10
    Last Post: 13th August 2012, 12:34 AM
  2. Replies: 4
    Last Post: 3rd February 2012, 12:45 PM
  3. What's the point of 'Run As Admin'
    By mattx in forum Windows 7
    Replies: 6
    Last Post: 9th September 2011, 09:33 AM
  4. run as admin options?
    By Nozza in forum Windows
    Replies: 3
    Last Post: 15th September 2009, 09:23 AM
  5. Replies: 0
    Last Post: 13th May 2008, 06:46 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •