Computers & Internet Logo

Related Topics:

Anonymous Posted on May 28, 2010

I have an application that will not run properly unless I run as administrator. However the user that I want this to run needs to be logged in as a user (not admin). I do not want to hand out the admin password. How can I lock in the admin as the user of the .exe file when I launch it?

  • Anonymous Jun 03, 2010

    Thanks for your assistance

×

1 Answer

Lebanon Raingam

Level 3:

An expert who has achieved level 3 by getting 1000 points

Superstar:

An expert that got 20 achievements.

All-Star:

An expert that got 10 achievements.

MVP:

An expert that got 5 achievements.

  • Master 4,737 Answers
  • Posted on May 28, 2010
Lebanon Raingam
Master
Level 3:

An expert who has achieved level 3 by getting 1000 points

Superstar:

An expert that got 20 achievements.

All-Star:

An expert that got 10 achievements.

MVP:

An expert that got 5 achievements.

Joined: Apr 20, 2010
Answers
4737
Questions
2
Helped
1385956
Points
16345

You can do this in two ways, but it would be much better for me if you let me know the Operating System Type (Windows or Mac or Linux or Windows XP or Vista etc..). First, log in using your password to your account and create another account with "Limited" account type. Log off and check if that user can still access the program or not. Let's try the next step using gpedit.msc after this.

  • 7 more comments 
  • Anonymous May 28, 2010

    Sorry, thought was obvious by Run As mention. Windows XP.
    The program that I am running will run as the user but there is a point where it calls Adobe to present the report. I get an error that the software is not installed. When I run this as local admin or network admin, I do not get this message and the report will load. The Tech Support for the company who writes the software cannot figure it out either. It is not a file permissions issue since the user has admin rights and file rights. It has to do with running the executable or something like that. that is why if I right click on this and run as an administrator it works, but it does not keep the password and I dont want to give out the password.




  • Lebanon Raingam
    Lebanon Raingam May 28, 2010

    If the User Rights permission is not set from the Server, then you can easily solve it. But if it was set from the Server, then I don't think it'll go easy since the Server Administrator will have to assign the rights to the particular user. I think you have multiple users on your system, again follow these instructions,
    Right click on the My Computer - Manage - on the "Computer Management" window click Local Users and Group (+ snap in to expand) - User - and again on the Right pane select the user you want to assign the permission - double-click the user and click on the "Member of" Tab - Add - Advanced - Find Now - from the lists available highlight the "Administrator" and - Ok - Ok and close the Computer Management Window. Log off and again log in using the user whom you'd just assigned the rights and check if it works or not.


    If this doesn't fix, please let me know, we need to follow up another measures. Good luck.

  • Anonymous May 28, 2010

    This has already been done. The local user is part of the administrators group. I know this seems really crazy that it does not work. The only way I have got it to work is to run as administrator. I know that this should not be required due to adding the person to the administrators group, but it does not fix it.
    So, if there is a way to hard code the user who is launching the application.



  • Lebanon Raingam
    Lebanon Raingam May 28, 2010

    How about from the Server? Are the other users also a part of the domain? If so do it from the Active Directory Services.


    One last reason is that, at the time of installation, you might have set "Only for this user", if this is true, you cannot disable it unless you reinstall the program. Anyway, I am still waiting for your action, otherwise i would not feel comfortable without a problem being solved.

  • Lebanon Raingam
    Lebanon Raingam May 28, 2010

    I am sorry, i need to retire, for few hours now, i'll be back in the in the morning at 6 IST (current time 1:50 am). If you can't solve it, just leave me the posts here, i'll definitely help you on this. Good luck and once again thank you for visiting FixYa.

  • Anonymous May 28, 2010

    This program is run locally on each users box. It is not a domain program.

  • Lebanon Raingam
    Lebanon Raingam May 29, 2010

    This becomes a kind of strange mystery. Well let's try one more last time using the registry. Open the Registry Editor (Run and type regedit), expand the
    Hkey_Classes_Root,
    again navigate to "Hkey_Classes_Root - .exe -Shell" and open the "(Default)" and check if there's any value which has been set, if so delete it and leave it blank and click Ok (note that when you do this, don't expand the "shell" snap-in).


    Next open the "Command Prompt" - type "Cd\" (make sure it's the Root Directory which is C drive) and type "REG DELETE HKCR\exefile\Shell\ve
    and hit Enter and check after you log off and log in again.
    This is the last tips I can offer you. I hope this will fix the problem. Once again Good luck. Thank you for using FixYa.

  • Anonymous May 30, 2010

    I am not sure what we are trying to fix with your last comment. I have told you that part of the program will not load properly unless the user is an administrator. It runs perfectly when the user is an administrator. I do not want to give them the password. In the settings they are listed as an admin, but that does not seem to work. My question was how to run a program as an admin by hardcoding the password as it applies to just that program.

  • Lebanon Raingam
    Lebanon Raingam May 30, 2010

    Sorry, if you can't get that, i can't help you on this, actually it's to be done from the registry editor and from the command prompt. I wish i can personally do it for you, but what can i do. Anyway I admit that I can't help you further with your problem, please open this question to another expert. Good luck. Thanks for using FixYa.

×

Add Your Answer

×

Uploading: 0%

my-video-file.mp4

Complete. Click "Add" to insert your video. Add

×

Loading...
Loading...

Related Questions:

0helpful
4answers

How To Fix QuickBooks Web Connector Has Stopped Working Error?

Try closing QB and restart the application. If that fails to fix issue try uninstalling/reinstalling the web connector.
2helpful
2answers

Pilefile downloader

Hi,
Check is the user u have logged in has the administrator rights.
Try to un-install the application from different user account.
or try to use some 3rd party uninstaller to uninstall the application.

Regards,
Navaz Khan
0helpful
1answer

I keep entering my password under my user name and it wont let me in

Hi John,

What operating system does your computer have, assuming you are having trouble logging into a version of Windows (XP, Vista, Win7, other)? The following will be applicable to most but may be slightly different between versions.

Have you tried logging in with the Administrator account?

Try logging in with the Username 'Administrator' and an empty password. If you are able to log in, go into the control panel under Users & Accounts and reset the password for your user account to nothing or set a new password.

If you are not able to log into the Administrator's account or another user who has administrative privileges you will need to try a Rainbow crack (very technical) or log into another account on your machine that has administrative security privileges.

If all else fails you can run the Master Restore CD or System Recovery tools that came with your computer.
0helpful
1answer

If I have an admin account on my home network, why do I keep getting the message that an Admin account is required to run Linksys advisor?

Depending on the User Account control , You may be logged in as an administrator but not allowing administrative access to the program. Usually Right clicking on the application could reslut in a RUN AS administrator...That should allow you to run the advisor. By default Administrator or not, is you try and run something that requires an administrator access ( registry changes.eg ) It will deny this default..
2helpful
3answers

How do i login on as administrator on my computer?

Login With the Administrator Account in Windows XP Professional

Click the "Start" menu and then click "Log Off."

Click "Switch User" when the prompt screen opens.

Press "Ctrl," "Alt" and "Delete."

Click on "Administrator" when the "Log on to Windows" screen pops up. Type in the administrator password, if applicable.

Click "OK." You will now be logged in as the administrator.



Log On as An Administrator in Windows Vista

Start your computer and allow it to continue through its startup process. By default your computer will simply load directly to the primary user account (usually the administrator account), but if there are multiple users on the system it will load to the account login screen.

Use the mouse to click on the administrator account from the list of available accounts to log on. This step is only necessary if you've customized Windows Vista with more than one account or you have set the operating system to load the login screen first.

Enter the password required in the password field to log on to the administrator account.

Click the "OK" or "Log On" button once you have entered the password. This button may be labeled differently depending on the version of Windows Vista or any GUI (graphical user interface) changes you may have made.
Log on as an administrator from within the Windows Vista environment by clicking on "Start" and then "Log Off." As soon as you have logged off, you will be returned to the login screen where you can choose the administrator account from the available list.





If this answer helpful please vote me.

Good luck.


Thanks for using FixYa

0helpful
1answer

My antivirus report says my computer has 2 administrators listed..It is not listed in the Control Panel/User and password page...how do I get to where it is listed?

Your users are classed as with administrative rights or as users. Open user accounts and check each users rights.

For example, your name is "Jim". Check Jim's account. Is Jim a 'Administrator' or a 'User' or a 'Guest'?

By the way, there is nothing wrong with having multiple users with administrative rights. The benefit of having this distinction is IF you are logged on as a user without administrative rights, you cannot install software. In this case, you might be 'you' by proxy. E-mail has been known to bring virus software into your computer and run automatically. XP will not allow this to happen unless an "administrator" is doing it (logged on to your computer). Thus, this is a safety feature of XP.

I hope this is clear. If not, please reask
1helpful
1answer

Can reinstall the file...the application comes up that I'm not the administrator?? I have vista

hi the best way to do this is to right click mouse on the application icon, then choose run as administrator the reason being that when you log in to vista you are not set as the main administrator user....hope this helps
0helpful
1answer

Not the administrator user

right click on the icon click run as administer. box pops up press ok
0helpful
1answer

Administration problem

Go to Start then Log Off.
Log on as Administrator, there should not be a password, unless you or someone else set one. Once logged in, go to Control Panel then set your User to be an Administrator.
Not finding what you are looking for?

36 views

Ask a Question

Usually answered in minutes!

Top Computers & Internet Experts

Grand Canyon Tech
Grand Canyon Tech

Level 3 Expert

3867 Answers

Brad Brown

Level 3 Expert

19187 Answers

Cindy Wells

Level 3 Expert

6688 Answers

Are you a Computer and Internet Expert? Answer questions, earn points and help others

Answer questions

Manuals & User Guides

Loading...