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 program as another user without prompting for a password

01 Dec 2011   #1
Stalag

Windows 7 Home Premium SP1 64bit
 
 
Running a program as another user without prompting for a password

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 System SpecsSystem Spec
.

01 Dec 2011   #2
Brink
Microsoft MVP

64-bit Windows 10 build 10159
 
 

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.

Elevated Program Shortcut - Create for Standard User

Hope this may help.
Shawn
My System SpecsSystem Spec
Reply

 Running a program as another user without prompting for a password




Thread Tools





Similar help and support threads
Thread Forum
Disable UAC standard user password on specific program?
My Administrator has password. My User Account Control settings is set to low. I create standard user account no password for parental control. The problem is that whenever i try to open a program in standard user account it requires a Administrator password to access it. 1. How can i...
General Discussion
Outlook 2007 prompting for password
Outlook 2007, 12.0.6680-5000, SP3 12.0.6683.5000 This is a simple home PC, single user with nothing but a cable modem between me and the internet. I have two mail accounts, one POP roadrunner account and one IMAP AOL account. It has periodically started asking for my AOL password, and changing...
Microsoft Office
How to restrict a certain user from running a certain program
Hello, I'm running windows 7 ultimate 64bit, and I've been trying to figure out how to stop my sister from running two programs only, so far I haven't been able to do it using gpedit.msc, the thing is I see an option to stop all user from running software and then manually add the software that...
General Discussion
Zero Configuration not prompting for password
I have a computer that no matter what network i try to connect to (with a password), it never asks me to put in a password after clicking the connect button. I have several other laptops that work just fine and this happens at multiple locations so it's not an issue from the router. I have...
Network & Sharing
program need user and password in task manager
i need a program to start every startup of computer but this program need usernamme and password how i can do that please ? thanks in advance
General Discussion
How do I prevent UAC from prompting me when running in admin mode
I need to run some programs as administrator such as Visual Studio 2010. So I set it to run as administrator, but because of the user account control settings, I am prompted to allow it to run each time. Is there a way to not see these prompts when running a program, without turning off the...
System Security

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 01:08.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App