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
565 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
Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

 

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

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

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

Suggested Solutions

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...
OfficeMate Freezes on login or does not load after login credentials are input.
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…
Both in life and business – not all partnerships are created equal. As the demand for cloud services increases, so do the number of self-proclaimed cloud partners. Asking the right questions up front in the partnership, will enable both parties …

895 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