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

Shayx

Nom nom nom nom
Power User
VIP
Local time
4:38 PM
Messages
238
Location
Hadera
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. :mad:
 

My Computer My Computer

Computer type
PC/Desktop
OS
Windows 8.1 Enterprise
CPU
Core 2 Extreme QX9650 3.0Ghz 12MB
Motherboard
DFI LanParty DK P45-T2RS+ABS
Memory
G.Skill DDR2 2GBx3 1066MHZ CL5
Graphics Card(s)
Sapphire RADEON HD 4870 512MB DDR5
Sound Card
Asus XONAR D1
Monitor(s) Displays
Samsung 2243WM Plus
Screen Resolution
1680X1050
Hard Drives
Hitachi 320GB SATA2 7200RPM 16MB

Segate Barracuda 750GB SATA2 7200RPM 32MB
PSU
SilverStone Olympia 750W
Case
CoolerMaster 690
Cooling
OCZ Vendetta 2
Internet Speed
12D/1U
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 Computer My Computer

Computer type
PC/Desktop
OS
Windows 7 x64, Vista x64, 8.1 smartphone
CPU
Intel E8400 65W 64-bit
Motherboard
Gigabyte EP45-UD3LR
Memory
DDR2 2 x 2GB, 1GB x 2
Graphics Card(s)
XFX Radeon HD5750
Sound Card
AMD High Definition Audio; Realtek High Definition Audio
Monitor(s) Displays
iiyama prolite X2377HDS
Screen Resolution
1920 x 1080
Hard Drives
500GB 7200 rpm Seagate ST3500413AS 16MB, 500GB 5400 rpm Toshiba MQ02ABF050H 32MB, 200GB 7200 rpm Seagate ST3200820AS 8MB, 2TB 7200 rpm Western Digital WD20EZRX 64MB
PSU
Enermax Liberty Modular
Case
Antec P193 Midi Tower
Keyboard
Mionix ZIBAL 60
Mouse
Razer USB 2.0 Diamondback Mouse or Huion Graphics Tablet
Browser
Internet Explorer, Lunascape, Firefox, Opera, Avast Safezone
At a rough guess see who has rights on the software folder if admin owns set permissions to user or everyone
 

My Computer My Computer

Computer type
PC/Desktop
OS
win 8 32 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 Computer My Computer

Computer type
Laptop
Computer Manufacturer/Model Number
HP
OS
Windows 7 Pro 64-bit, Windows 10 Enterprise 64-bit
CPU
Intel® Core™ i7-6500U CPU @ 2.50GHz 2.60GHz
Motherboard
HP Pavilion Notebook
Memory
8GB DDR3 3000MHz (Single Channel)
Graphics Card(s)
Intel® HD Graphics 520 (Revision 7)
Hard Drives
Hard Drive 1/1:
HGST HTS541010A9E680 SCSI Disk Device
512 Bytes/Sector
4 Partitions
Fixed hard disk
63 Sectors/Track
Size: 931.51GB (1,000,202,273,280 bytes)
121,601 Cylinder
1,953,520,065 Sectors
31,008,255 Tracks
255 Tracks/Cylinder

Di
Keyboard
English (India) QWERTY layout
Mouse
LENRUE G2 E-sport Gaming Mouse (USB, 5VDC, Wired, 100mA)
Internet Speed
20-25 MB/s down, 1-5 MB/s up, 400 mbps overall
Antivirus
N/A (constant manual monitoring, temporary Norton installs)
Browser
Google Chrome v69.0.3497.100, Mozilla FireFox v63.0
thanks Emma it worked.
 

My Computer My Computer

Computer type
PC/Desktop
OS
Windows 8.1 Enterprise
CPU
Core 2 Extreme QX9650 3.0Ghz 12MB
Motherboard
DFI LanParty DK P45-T2RS+ABS
Memory
G.Skill DDR2 2GBx3 1066MHZ CL5
Graphics Card(s)
Sapphire RADEON HD 4870 512MB DDR5
Sound Card
Asus XONAR D1
Monitor(s) Displays
Samsung 2243WM Plus
Screen Resolution
1680X1050
Hard Drives
Hitachi 320GB SATA2 7200RPM 16MB

Segate Barracuda 750GB SATA2 7200RPM 32MB
PSU
SilverStone Olympia 750W
Case
CoolerMaster 690
Cooling
OCZ Vendetta 2
Internet Speed
12D/1U
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 Computer My Computer

Computer type
Laptop
Computer Manufacturer/Model Number
Lenovo
OS
Win 10 pro 64 bit
CPU
i5 6th gen
Memory
8 gb
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 Computer My Computer

Computer type
Laptop
Computer Manufacturer/Model Number
Toshiba Sattelite A665-S6092
OS
Windows 7 Ultimate x64
CPU
Intel Core i7-740QM
Memory
8 GB DDR3
Graphics Card(s)
NVIDIA GeForce 330GT
Screen Resolution
1366x768
Hard Drives
Samsung 840 SSD 500GB
1TB USB3 external HD
Cooling
Coolermaster Notepal U3 notebook cooling pad
Internet Speed
3mbps ASDL
Antivirus
ClamWin 0.98.7
Browser
Opera 12.17 x86 (main), Firefox 38 (sec), IE11 (last resort)
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 Computer My Computer

Computer type
Laptop
Computer Manufacturer/Model Number
HP
OS
Windows 7 Pro 64-bit, Windows 10 Enterprise 64-bit
CPU
Intel® Core™ i7-6500U CPU @ 2.50GHz 2.60GHz
Motherboard
HP Pavilion Notebook
Memory
8GB DDR3 3000MHz (Single Channel)
Graphics Card(s)
Intel® HD Graphics 520 (Revision 7)
Hard Drives
Hard Drive 1/1:
HGST HTS541010A9E680 SCSI Disk Device
512 Bytes/Sector
4 Partitions
Fixed hard disk
63 Sectors/Track
Size: 931.51GB (1,000,202,273,280 bytes)
121,601 Cylinder
1,953,520,065 Sectors
31,008,255 Tracks
255 Tracks/Cylinder

Di
Keyboard
English (India) QWERTY layout
Mouse
LENRUE G2 E-sport Gaming Mouse (USB, 5VDC, Wired, 100mA)
Internet Speed
20-25 MB/s down, 1-5 MB/s up, 400 mbps overall
Antivirus
N/A (constant manual monitoring, temporary Norton installs)
Browser
Google Chrome v69.0.3497.100, Mozilla FireFox v63.0
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 Computer My Computer

Computer type
PC/Desktop
OS
Windows 8.1 Enterprise
CPU
Core 2 Extreme QX9650 3.0Ghz 12MB
Motherboard
DFI LanParty DK P45-T2RS+ABS
Memory
G.Skill DDR2 2GBx3 1066MHZ CL5
Graphics Card(s)
Sapphire RADEON HD 4870 512MB DDR5
Sound Card
Asus XONAR D1
Monitor(s) Displays
Samsung 2243WM Plus
Screen Resolution
1680X1050
Hard Drives
Hitachi 320GB SATA2 7200RPM 16MB

Segate Barracuda 750GB SATA2 7200RPM 32MB
PSU
SilverStone Olympia 750W
Case
CoolerMaster 690
Cooling
OCZ Vendetta 2
Internet Speed
12D/1U
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.


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:

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 Computer My Computer

Computer type
Laptop
Computer Manufacturer/Model Number
Toshiba Sattelite A665-S6092
OS
Windows 7 Ultimate x64
CPU
Intel Core i7-740QM
Memory
8 GB DDR3
Graphics Card(s)
NVIDIA GeForce 330GT
Screen Resolution
1366x768
Hard Drives
Samsung 840 SSD 500GB
1TB USB3 external HD
Cooling
Coolermaster Notepal U3 notebook cooling pad
Internet Speed
3mbps ASDL
Antivirus
ClamWin 0.98.7
Browser
Opera 12.17 x86 (main), Firefox 38 (sec), IE11 (last resort)
Back
Top