Forcing an application to run -- under a Standard User Account
Hi.I havea problem running a certain application in Windows Vista. This application (which does notqualify as a legecy application) must run under a Standard User Account.In Windows XP, I used to run this application under a Standard User Account. It worked perfectly. (Every now and then, it complained about not having enough privileges or being unable to write to certain system areas but I kept asking it to write to alternative locations and everything was fine.) However, in Windows Vista I cannot run this application at all: UAC prompt appears when the application starts, and if I don't consent running it under an administrative account, UAC kills the application.Is there a way torun this application under a Standard User Account in Windows Vista? (I prefer not resort to extreme measures such finding a replacement application, disabling UAC or allowing it unnecessary privileges)Thanks.The greatest moment of everyone's life is the moment of positive thinking.
July 3rd, 2009 8:29pm

Try running the application under the windows xp compatibility mode...you can do this by right clicking on the application and then in the properties select the compatibility mode for the legacy operating systems and then run the application....hopefully this should solve your issue....if not please do post back...Regards, KOWSHAL H.M. a.k.a W@R10CK
Free Windows Admin Tool Kit Click here and download it now
July 6th, 2009 12:07pm

Hi Kowshal. I'm afraid it did not help. There is no difference in which compatibility mode I run the program; the "security shield" icon always appears on the application's icon and every time I try to run it, UAC prompt intervenes and does not allow the application to run unless with administrative privileges. Fleet CommandThe greatest moment of everyone's life is the moment of positive thinking.
July 7th, 2009 8:06pm

If you want to play with this elevation thing, you can create a batch file which copies a file to C:\Windows. Only if you start this batch file as an elevated application will it be able to copy the file to its destination. So far I know eight ways to elevate an application that would run it with Administrator privileges: 1. Run as administrator You can just right click on the tool and select Run as administrator. This is not very convenient, if you have to do this with all administration tools you use daily. 2. CTRL+SHIFT+ENTER Another way is to hit the Windows key, type in the name of the program, and then start it with CTRL+SHIFT+ENTER. 3. Marking the application with Run this program as Administrator You can mark the tools needing Administrator privileges: Open file properties, go to Compatibility, and select the Run this program as Administrator check box. 5. Command Prompt You can also start an applications at an elevated execution level from an elevated command prompt. In this case, the UAC pop-up doesnt even bug you. 6. Start the application from another elevated application You can try this with the Windows Task Manager. Go to C:\Windows\System32 using the Windows Explorer and right click on taskmgr.exe. Select Run as administrator. Since the Task Manager is now running as an elevated application, you can start any other app with Administrator rights with it. Click on File in the Menu and then select New Task (Run) 7. Use Group Policy or the Windows Registry to mark applications This option is useful if you want to mark applications with a requested execution level for the whole Windows Domain. For this you have to create a registry entry under HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers\<path_to_executable> The value of this entry has to be RUNASADMIN. If you want to use Group Policy to mark one or multiple apps this way, you have to create UR OWN ADMX FILE. 8. Manifest file I have read on several sites that it is possible to automatically start an application at an elevated level, if there is a so-called manifest file in the same folder. I tried it with some legacy applications, but it didnt work. I didnt try too long, though. I suppose, this is not a feasible option for sys admins, anyway.try this link for still another way....http://sbs.seandaniel.com/2007/05/how-to-launch-program-always-elevated.htmlhope this should help you...:)if not please do post back... Regards, KOWSHAL H.M. a.k.a W@R10CK
Free Windows Admin Tool Kit Click here and download it now
July 8th, 2009 5:39pm

Hi Kowshal Please do excuse me but I believe you have failed to understand what exactly the problem is. I'm afraid your answer proves completely irrelevent: It is explaining how to run an application with elevated privileges while I'm strongly willing to do exactly the opposite: I'm willing to run my application with standard privileges. The problem is: I cannot run it at all. UAC does not allow me. Fleet CommandThe greatest moment of everyone's life is the moment of positive thinking.
July 9th, 2009 10:17am

Thanks for the update.....I think then the only thing left on my side or any would have to be you reinstalling the program as admin....i.e. uninstall the current app and then before reinstalling right click on the setup file and then run as admin....it will throw a couple of UAC pop-ups and after installing you should have no problem in accessing the program with standard privileges...eventhough you have the problem then you should see if the application is digitally signed...and change the settings of your vista machine to install applications which are not even digitally signed..and that should do...if none of the above work then the only option left is to disable the UAC and compromise the security little bit...Regards, KOWSHAL H.M. a.k.a W@R10CK
Free Windows Admin Tool Kit Click here and download it now
July 9th, 2009 3:17pm

Hi, KowshalAs for re-installing, there is no installation involved: The application is a single executable file. I am looking for a way to run this application undera standard user account. The application must run without administrative privileges.As fordisabling UAC: although it seems like a valid workaround whichI prefer to avoid if at all possible. So, let's see if anybody else has a better idea.Thanks KowshalFleet Command.The greatest moment of everyone's life is the moment of positive thinking.
July 9th, 2009 7:45pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics