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
564 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
Comment Utility
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
Comment Utility
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
Comment Utility
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
Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

 

Author Comment

by:Dwight Baer
Comment Utility
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
Comment Utility
0
 
LVL 18

Assisted Solution

by:sk_raja_raja
sk_raja_raja earned 480 total points
Comment Utility
0
 

Author Closing Comment

by:Dwight Baer
Comment Utility
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

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Join & Write a Comment

In today's information driven age, entrepreneurs have so many great tools and options at their disposal to help turn good ideas into a thriving business. With cloud-based online services, such as Amazon's Web Services (AWS) or Microsoft's Azure, bus…
Many people tend to confuse the function of a virus with the one of adware, this misunderstanding of the basic of what each software is and how it operates causes users and organizations to take the wrong security measures that would protect them ag…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

763 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now