Go Premium for a chance to win a PS4. Enter to Win

x
?
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
Medium Priority
?
586 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 80 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 1920 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
WatchGuard Case Study: Museum of Flight

“With limited money and limited staffing, we didn’t have a lot of choices in terms of what we could do to bring efficiency. WatchGuard played a central part in changing that.” To provide strong, secure Wi-Fi access within the museum, Hunter chose to deploy WatchGuard’s AP120 APs.

 

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 1920 total points
ID: 22788407
0
 
LVL 18

Assisted Solution

by:sk_raja_raja
sk_raja_raja earned 1920 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

Threat Trends for MSPs to Watch

See the findings.
Despite its humble beginnings, phishing has come a long way since those first crudely constructed emails. Today, phishing sites can appear and disappear in the length of a coffee break, and it takes more than a little know-how to keep your clients secure.

Question has a verified solution.

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

Users of Windows 10 Professional can disable automatic reboots using the policy editor. This tool is not included in the Windows home edition. But don't worry! Follow the instructions below to install (a Win7) policy editor on your Windows 10 Home e…
Recently, I read that Microsoft has analysed statistics for their security intelligence report. It revealed: still, the clear majority of windows users do their daily work as administrator. An administrative account is a burden, security-wise. My ar…
Video by: ITPro.TV
In this episode Don builds upon the troubleshooting techniques by demonstrating how to properly monitor a vSphere deployment to detect problems before they occur. He begins the show using tools found within the vSphere suite as ends the show demonst…
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…
Suggested Courses
Course of the Month11 days, 14 hours left to enroll

916 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