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
566 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: The New Cyber Threat & How to Stop It

This infographic explains ransomware, type of malware that blocks access to your files or your systems and holds them hostage until a ransom is paid. It also examines the different types of ransomware and explains what you can do to thwart this sinister online threat.  

 

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

Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Number of files limit per folder in XP? 12 80
deny local logon 12 92
Determining & validating if my SSL certificate is using SHA-2 cipher ? 15 114
Computer software inventory 5 95
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…
No security measures warrant 100% as a "silver bullet". The truth is we also cannot assume anything but a defensive and vigilance posture. Adopt no trust by default and reveal in assumption. Only assume anonymity or invisibility in the reverse. Safe…
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…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

770 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