Windows 7 Thread, old program needs to run as admin that to uac workarounds? in Technical; ...
18th June 2013, 03:17 PM #1
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..
18th June 2013, 03:24 PM #2
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
18th June 2013, 03:50 PM #3
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
18th June 2013, 03:57 PM #4
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?
18th June 2013, 04:07 PM #5
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
Last edited by mac_shinobi; 18th June 2013 at 04:11 PM.
18th June 2013, 04:31 PM #6
hum, with local admin my standard users may install programs, etc..
18th June 2013, 04:41 PM #7
18th June 2013, 04:42 PM #8
18th June 2013, 04:45 PM #9
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.
Thanks to pete from:
mac_shinobi (18th June 2013)
18th June 2013, 11:25 PM #10
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.
24th June 2013, 12:57 PM #11
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
24th June 2013, 01:29 PM #12
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 ^_^
25th June 2013, 10:03 PM #13
- Rep Power
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:
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.
strCmd="Path to Program.exe"
WshShell.Run "runas.exe" & " /u:" & strUser & " " & strCmd
WshShell.Sendkeys strPass & "~"
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.
25th June 2013, 11:28 PM #14
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...
26th June 2013, 03:50 AM #15
We used a piece of software called beyond trust that might help. I never played with it, but does functions like this.
By rslulz in forum Windows Server 2008 R2
Last Post: 13th August 2012, 12:34 AM
By reggiep in forum Windows
Last Post: 3rd February 2012, 12:45 PM
By mattx in forum Windows 7
Last Post: 9th September 2011, 09:33 AM
By Nozza in forum Windows
Last Post: 15th September 2009, 09:23 AM
By m2d2 in forum MIS Systems
Last Post: 13th May 2008, 06:46 PM
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Tags for this Thread