IE run as different user....always

jsgrosskopf
jsgrosskopf used Ask the Experts™
on
I have several people sharing one computer in the production area. The computer logs in with a generic login and password for the domain so people can access it and open local program files for their CNC machines. However, the sharepoint site has different access for each user. I would like to have IE open and prompt for the user and password. I'm trying to avoid having each user logout of the computer, then login with windows login and password, then open IE and go to sharepoint. If they ctrl-right click the app, and select run as different user, it works, but I'd like to avoid having them do that. Just each time it launches it essentially does the "run as different user option". Can this be done?

Thanks
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
JohnBusiness Consultant (Owner)
Most Valuable Expert 2012
Expert of the Year 2018

Commented:
I would like to have IE open and prompt for the user and password.

Set IE to NOT save forms and passwords (Forms settings in IE, Tools, Internet Options)

Then clear the IE credentials in Credential Manager if they exist there. Other do a full Reset (clear everything including forms and password).  Tools, Internet Options, Advanced, Reset, ALL categories.

This will make users of the site log in.
JohnBusiness Consultant (Owner)
Most Valuable Expert 2012
Expert of the Year 2018

Commented:
If you need to, you can lock down user settings to prevent users from changing.

https://helpdeskgeek.com/how-to/disable-internet-options-tabs-ie/
Technical Specialist
Awarded 2017
Distinguished Expert 2018
Commented:
Turn off Integrated Windows Authentication
ie.png
Sam Simon NasserIT Support Professional

Commented:
create a batch file and save it on your desktop, use the following script
@echo off
rem @--------Window config
COLOR F3
mode con cols=60 lines=10
echo.%date%
rem @--------Authentication
@echo.
@set /p user=Username:
@echo.
@runas /user:%user% "C:\Program Files\Internet Explorer\IEXPLORE.EXE http://www.sharepointwebsite.com"

rem @ if you are in a domain use:
rem @runas /user:DOMAIN\%user% "C:\Programas\Internet Explorer\IEXPLORE.EXE http://www.google.com"

rem @---------Window close time (after "-n" put window close time in seconds)
ping -n 3 127.0.0.1>NUL

@cls
@exit

Open in new window

it will ask the user for their username and password, open IE and go the specified website. script from here https://superuser.com/questions/379120/how-to-prompt-a-user-for-run-as-credentials-when-double-clicking-an-icon/379161#379161
jsgrosskopfIS Manager

Author

Commented:
Thanks

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