Joe Grosskopf
asked on
IE run as different user....always
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
Thanks
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/
https://helpdeskgeek.com/how-to/disable-internet-options-tabs-ie/
ASKER CERTIFIED SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
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
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
ASKER
Thanks
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.