Solved

How do I deal with an application that needs Administrator permissions to run, in a non-administrator account?

Posted on 2008-10-23
7
567 Views
Last Modified: 2013-12-04
My application seems to need Administrator permissions to run.  When I try to run it on a non-Administrator login, I get the following error:
>>>>>  Start of error <<<<<<<<<
---------------------------
Director Player 6.0
---------------------------
Unable to copy the driver file C:\WINDOWS\dirdib.drv to your Windows directory.
Your disk may be full.
>>>>>  End of error <<<<<<<<<

Is there any way to create a bat file that would somehow launch the application with "Run as Administrator" permissions?

Thanks.
0
Comment
Question by:Dwight Baer
  • 3
  • 3
7 Comments
 
LVL 5

Assisted Solution

by:MattRichardson
MattRichardson earned 20 total points
ID: 22787728
If you haven't already tried it.
Right click the icon and select "Run As"
And put in the administrator credentials

Hope this helps
0
 
LVL 18

Assisted Solution

by:sk_raja_raja
sk_raja_raja earned 480 total points
ID: 22787775
1.Try turning off UAC (user account control)
2.did you try right click on the short cut and choose "run as administrator"?  Look like the player is trying to upgrade something to windows/system32 directory
3.Right Click on the App exe and choose PROPERTIES.
Click on the "Compatibility" tab> And select "Always Run as Administrator".
One of these two options should clear you from having to execute the "Allow" prompt when asked to do so whn you launch the application. Hope this helps.
0
 

Author Comment

by:Dwight Baer
ID: 22788132
1.  I can't give my non-admin users access to the Administrator password.  So "Run as" isn't an option.
2.  This is XP ... so no UAC.
3.  On my "Properties --> Compatibility" tab I don't see "Always run as Administrator".  All I see is "Run this program in Compatibility Mode for ..." with the choices of 2000, NT 4, W98 and W95.

I see "runas.exe" under C:\Windows\System32.  Is there a syntax that I can use this in a batch file to launch the application as administrator?  I could supply the administrator password in the batch file script, which hopefully would be invisible to the user.  Thanks.
0
Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

 

Author Comment

by:Dwight Baer
ID: 22788298
OK ... I tried using "runas.exe ..."  It works, except I don't see in the usage any way to supply the password within the batch file that's calling the application.  So I'm left with the same problem - I can't have the end-user typing in the administrator password.
0
 
LVL 18

Accepted Solution

by:
sk_raja_raja earned 480 total points
ID: 22788407
0
 
LVL 18

Assisted Solution

by:sk_raja_raja
sk_raja_raja earned 480 total points
ID: 22788411
0
 

Author Closing Comment

by:Dwight Baer
ID: 31509284
Thanks a lot, sk raja raja!  I haven't completely resolved this issue but it's going to take me a while to digest those links.  And I think the answers are there.
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Many of us in IT utilize a combination of roaming profiles and folder redirection to ensure user information carries over from one workstation to another; in my environment, it was to enable virtualization without needing a separate desktop for each…
SHARE your personal details only on a NEED to basis. Take CHARGE and SECURE your IDENTITY. How do I then PROTECT myself and stay in charge of my own Personal details (and) - MY own WAY...
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…

828 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question