Running a program as another user without prompting for a password

Stalag

New member
Local time
5:13 AM
Messages
1
In our corporate environment we have an application that accesses a centralized database as the currently logged in user. The nature of this application requires giving the user read/write/execute permissions directly to the database.

Obviously this is a security risk since an educated user would then be able to access the database directly from the command line and be able to do things beyond what the application allows.

What we'd like to do is create alternate domain accounts for each user that have the necessary DB permissions and then launch the application as that user instead of the logged in user.

I'm aware of the built in RunAs command but, since that prompts for the password, it wouldn't be any different than the current user having access.

Is there an alternate solution? Something with group policy? A reliable 3rd party utility? (no,replacing the application is not an option)
 

My Computer My Computer

OS
Windows 7 Home Premium SP1 64bit
Hello Stalag, and welcome to Seven Forums.

You might be able to use the tutorial below to do so. However, it does request the administrator's password for only the first time it's ran by the user. You could log in as that user and run it to enter the password for the first run. Afterward's it runs automatically without asking for the password. The user never sees or is able to see the password.

http://www.sevenforums.com/tutorials/193743-elevated-program-shortcut-create-standard-user.html

Hope this may help.
Shawn
 

My Computer My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Self built custom
OS
64-bit Windows 11 Pro for Workstations
CPU
Intel i7-8700K OC'd to 5 GHz
Motherboard
ASUS ROG Maximus XI Formula Z390
Memory
64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz
Graphics Card(s)
ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
Sound Card
Integrated
Monitor(s) Displays
2 x Samsung Odyssey G7 27"
Screen Resolution
2560x1440
Hard Drives
1TB Samsung 990 PRO M.2,
4TB Samsung 990 PRO PRO M.2,
TerraMaster F8 SSD Plus NAS
PSU
Seasonic Prime Titanium 850W
Case
Thermaltake Core P3
Cooling
Corsair Hydro H115i
Keyboard
Logitech wireless K800
Mouse
Logitech MX Master 4
Internet Speed
2 Gb/s Download and 100 Mb/s Upload
Antivirus
Malwarebyte Anti-Malware Premium
Browser
Google Chrome
Other Info
Logitech Z625 speaker system,
Logitech BRIO 4K Pro webcam,
HP Color LaserJet Pro MFP M477fdn,
APC SMART-UPS RT 1000 XL - SURT1000XLI,
Galaxy S23 Plus phone
Back
Top