I have installed a software on  a normal user PC but that application need to run as admin whenever it start.

shariquehalim
shariquehalim used Ask the Experts™
on
I have installed a software on  a normal user PC but that application need to run as admin whenever it start.
please let me know how to run my application through admin access although i have a normal user access.
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
SAM ITAD windows Admin  

Commented:
Right click on the application and RUN as administrator or IF it is a Domain joined machine you have to relax the application from Group policy security rules

Author

Commented:
Yes Narsimha, its adomain domain joined machine. nut we do not have group policy for the domain. r u referring to local policy in the system
SAM ITAD windows Admin  

Commented:
Try open application using RUN as administrator and let us know the Error message which you are getting
Ensure you’re charging the right price for your IT

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden using our free interactive tool and use it to determine the right price for your IT services. Start calculating Now!

Author

Commented:
When trying to open through Run as administrator, its opening fine. but dont want user to to do run as admin and i dont want do tell him the password. i need to same the admin access for that application exe.
SAM ITAD windows Admin  

Commented:
OR else add user to local administrator  group , so user can open the application with out entering Administrator credentials

Author

Commented:
If i put the user in local admin group then he can do anything.. i want him to use only specific application as a admin not all
"Batchelor", Developer and EE Topic Advisor
Top Expert 2015
Commented:
Basic but important question: why??? There is a flaw if the application needs to run as admin ...

You can go into the compatibility properties of the application to mark it for always running as administrator. But that still requires to enter the paasword.
If you run  runas /u:administrator /savecred cmd.exe once you can save the password, but then it never needs to get entered for that user.

Author

Commented:
Its a testing phase..thats why i need to just run this app through admin access. let me try
SAM ITAD windows Admin  
Commented:
Go through the below mentioned link. Hope this helps you

https://www.maketecheasier.com/standard-users-run-program-admin-rights/
bbaoIT Consultant

Commented:
just wondering if the issue is for all applications or a few sepecific ones?
Rajul RajInformation Security Officer

Commented:
To mark an application to always run as an administrator, do the following:
1. On the Start menu, locate the program that you want to always run as an administrator.
2. Right-click the application’s shortcut, and then click Properties.
3. In the Properties dialog box, click the Compatibility tab.
4. Do one of the following:
To apply the setting to the currently logged-on user, select the Run This Program As An Administrator check box, and then click OK.
To apply the setting to all users on the computer and regardless of which shortcut is used to start the application, click Change Setting For All Users to display the Properties dialog box for the application’s .exe file, select the Run This Program As An Administrator check box, and then click OK twice.
noxchoIT Product Manager
Top Expert 2009

Commented:
Your application makes some changes to the local system thus it requires running as administrator. You have either to give more rights to the local user or let him start it as admin.
Kevin StanushApplication Developer

Commented:
From the sound of it, the user does not need to have local admin rights.  If you want to give the user the least amount of rights, then don't, instead give it to the application.  You are right to not want the user to have the admin password either.  Follow the steps outlined above in the article linked to by Narasimha Sumanth, it uses the Credential Manager, a useful but little known feature in Windows that safely stores the passwords.  There are 3rd party apps out there too that can do this for you (running the application as an admin), but I would use the Credential Manager for this.  That way, only the elevated process has the higher access, not the user.
Qlemo"Batchelor", Developer and EE Topic Advisor
Top Expert 2015

Commented:
You guys seem to forget that I mentioned both the compatibility settings and the savecred option first. And that there are security risks with stroring the password.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial