Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: running a software that requires admin rights on a regular user.

24 Oct 2018   #1
Shayx

Windows 8.1 Enterprise
 
 
running a software that requires admin rights on a regular user.

i have a FOSCAM cameras
and i donwloaded their software
i can not install it as a regular user so i installed it from admin account.
now i can't run the program on the regular user because it ask for admin and password.

is there any way to allow only this application to run with admin rights on the regular user?
i really don't want to give him admin rights.


My System SpecsSystem Spec
.
24 Oct 2018   #2
iko22

Windows 7 x64, Vista x64, 8.1 smartphone
 
 

Hello Shayx, do you know what version of the .net framework this software requires? If this program is an old software, then you might have to run the software in compatibility mode to avoid the admin challenge.
My System SpecsSystem Spec
24 Oct 2018   #3
samuria

win 8 32 bit
 
 

At a rough guess see who has rights on the software folder if admin owns set permissions to user or everyone
My System SpecsSystem Spec
.

24 Oct 2018   #4
Emma Yazz Aza

Windows 7 Pro 64-bit, Windows 10 Enterprise 64-bit
 
 

Hello @Shayx. This issue actually has a simple fix! So, in Windows, there's a built-in Administrator account (as most everyone knows.) If you want to easily allow someone to access a program without having to use admin privileges. You would do this by creating a shortcut (or right-clicking a current shortcut, followed by clicking "Properties" on it), and putting in:

C:\Windows\System32\runas.exe /user:ComputerName\UserName /savecred "...pathtofile"

So, for example: I changed my username for the Built-in Administrator account to Emma. For anyone who hasn't changed the name for the Built-in Administrator (in Computer Management or compmgmt.msc > Local Users and Groups > Users). My PC's ComputerName, which you can find by starting Windows Explorer (explorer.exe) and right-clicking This PC or Computer (differs from OS to OS) and looking under Computer Name. My code for VLC Media Player would be:

C:\Windows\System32\runas.exe /user:Emmas-PC\Emma /savecred "C:\Program Files\VideoLAN\VLC\vlc.exe".

Hope this helps, hope your issue gets solved,
Emma Yazz Aza
My System SpecsSystem Spec
25 Oct 2018   #5
Shayx

Windows 8.1 Enterprise
 
 

thanks Emma it worked.
My System SpecsSystem Spec
25 Oct 2018   #6
abbeyon

Win 10 pro 64 bit
 
 

You can run it from the program files > properties of that program > in the advanced menu select run as admin click continue and you run program as admin...
My System SpecsSystem Spec
25 Oct 2018   #7
Alejandro85

Windows 7 Ultimate x64
 
 

By doing so you are giving administrator rights to the user, by the means of this specific programs. It's the same security issue.

If the program ask for UAC elevation every single time it starts, I'm affraid that the program is either too demainding on its permissions or is simply broken. In any case the real solution is to look forward for a replacement.
My System SpecsSystem Spec
25 Oct 2018   #8
Emma Yazz Aza

Windows 7 Pro 64-bit, Windows 10 Enterprise 64-bit
 
 

Hello @Shayx. Please note that running this will give access to administrative rights for the user through whatever program they're using, as others have stated below. Be cautious of doing this for things like Windows Explorer alternatives and shell command line modules.

Happy this helped, happy your issue is solved,
Emma Yazz Aza
My System SpecsSystem Spec
25 Oct 2018   #9
Shayx

Windows 8.1 Enterprise
 
 

it's a cameras managment software.
when the program starts there is a logon screen so the user goes into a limited user
that can only watch the cameras live and browse recordings...
don't know why it needs admin rights, maybe just bad coding.
don't see any security issue with this method.

thanks again.
My System SpecsSystem Spec
26 Oct 2018   #10
Alejandro85

Windows 7 Ultimate x64
 
 

Quote   Quote: Originally Posted by Shayx View Post
don't know why it needs admin rights, maybe just bad coding.
I also bet it's bad coding, after all, a camera management software should only require a network and pretty much nothing more locally, which shouldn't need local administrator privileges. Installation, of course, would require them, but only as a one-shot operation, not a permanent requirement.


Quote   Quote: Originally Posted by Shayx View Post
don't see any security issue with this method.
There is a significant on, you're defeating the purpose of the standard user account. That concrete program is receiving administrator privileges, which, depending on the program itself, could allow the user to gain system-wide access. There are a number of things that can go wrong, for example, a bug in the software, or simply a open/save file dialog gives a mini-explorer window with elevated permissions, and something else on the machine might try to exploit that. Basically, you're giving admin permissions without writing the password.

The problem with that is that it defeats your very own requirement:

Quote   Quote: Originally Posted by Shayx View Post
is there any way to allow only this application to run with admin rights on the regular user?
An educated regular user can gain admin access by exploiting this program.
My System SpecsSystem Spec
Reply

 running a software that requires admin rights on a regular user.




Thread Tools




Similar help and support threads
Thread Forum
Standard user requires admin PW when using elevated command
I have a file to clear the print spooler when it has an error. I based this file on Brinks tutorial. Thanks Brink. I placed this file in C:\windows\system32 folder so all users would have access. The file must be run in a elevated cmd window. I then created a shortcut to the file and put the...
General Discussion
Installing rights to standard user or prevent an admin user something
I tried to google this and it seems neither is possible but I wanted to hear the truths from the horses mouth. I have a Win 7 Pro x64 computer with 2 users who boths needs to be able (this really is a must) install software on the computer but they can't have access to each other's private...
General Discussion
admin user lost some admin rights
I can't delete a file from the desktop. When I try, it says to get the rights from the specified admin user (which I'm logged on). The strange thing is that I still can create other users from this account (including admins). Any suggestion on what to do?
BSOD Help and Support
no admin rights but user only
hi I am helping friends mom and dad who's son ended up in jail. Got caught and done for DD (DUI)and got 8 months (not the first time) His mom and dad want to recover the pictures and some other financial files but all were kept under admin account Here is the catch. There is only 1 user account...
System Security
Running cmd with admin rights...
gives me no admin rights... I've got an application that runs from console and requires administrator rights. I run command line from the start menu by right clicking and choosing "run as administrator". I run the app from there and I get an error saying that this app requires administrative rights...
Software


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd

All times are GMT -5. The time now is 10:25.
Twitter Facebook Google+