Link to home
Start Free TrialLog in
Avatar of WellingtonIS
WellingtonIS

asked on

Deny users local login -

Recently we've switched to Single Sign On by Imprivata - my pc are set to auto login but that doesn't prevent the users from hitting crtl-alt-del and logging in themselve and nulling SSO.  I origionally denied users from logging in to the machine but when I do this Imprivata doesn't allow the user to login.  Is there anyway around this?
Avatar of Ben Hart
Ben Hart
Flag of United States of America image

So your looking for a way to allow interactive logins or fully deny them?
Avatar of WellingtonIS
WellingtonIS

ASKER

I'm looking for a way to deny user logon to the machine but allow interactive login.  My departments have generic account which they are supposed to use however, they are not and loging in with there own user names and passwords.  I'm trying to prevent users from logging on to the physical machine with there own accounts but allowing them to user the interactive logon.
Have you tried the Local Security settings or a GPO?  The settings are in Group Policy, Computer Settings, Windows Settings, Security Settings, Local Policies, User Rights, Deny Log On Locally. Be very careful you don't lock everyone out of everything (ie, apply this to an OU (or restrict it to a group) of just one computer, then test.

For example you could Deny the Domain Users group.. or something like that it depend son how your OU's are setup.
Origionally I had that setup.  I had a group and denied local login but I found out that SSO doesn't work if you do that.
Set up a local admin account that users cannot use, but allows you to log in. Do not enable "administrator".

Then remove all other local accounts.

Now users can only log in as domain users.

This should work just fine.
That's great but it still doesn't prevent my users from login in to the machine on the domain as themselves.
Of course not. The title of the thread asks "Deny LOCAL login".

So then what is the actual question?
Sorry looking for a way to deny user logon to the machine but allow interactive login with Imprava SSO
If the user has a domain account, nothing really prevents that user from logging in. That is the way it works and that is why attempt to control it breaks SSO.  

I think you have to live with what you have.
What security group(s) is the auto logon account a member of?  When you attempted the GPO setting the Deny Local Logon rights you weren't inadvertently locking out that account were you?
The account of auto login are a member of regular domain users - I'm using them like service accounts - the pw doesn't expire.  When I attempt to deny the user local login the SSO doesn't work..   I have generic accounts that need to be the ones on the machines and the users user SSO.
Avatar of David Johnson, CD
The account of auto login are a member of regular domain users
Move either the SSO account or the users to another OU and then deny local logon to the OU that the users belong to.
Thanks everyone for your comments but unfortunatly none of this is the solution to this problem.  Bottom line is you can not deny the user login locally and have them sign in to an SSO with there own account.
I think you just have to live with your current situation. Ask people not to bypass the log in.
Well for now you're correct.
ASKER CERTIFIED SOLUTION
Avatar of WellingtonIS
WellingtonIS

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
I created a script for an auto login because there's no way to block a user locally and still have them use a Single Sign On to login too.