[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1121
  • Last Modified:

Force user to disconnect/Logoff

In an AD environment we need to have a policy on when a user is terminated to immediately have them disconnected and logged off from the network and their computer. I know you can obviously disable the account but that doesnt do any good when their still logged on and they can cause damage.
I need to find a way where I can instantly kick them off.
0
tolinrome
Asked:
tolinrome
  • 2
  • 2
  • 2
1 Solution
 
sire_harveyCommented:
Do you have any client management software? SCCM, Landesk, SMS can all remotely shutdown and restart computers. Just make sure the user account is disabled first, then remotely restart their machine.
0
 
tolinromeAuthor Commented:
No We don't have any of those.
0
 
sire_harveyCommented:
The Windows 2000 resource kit has a CMD line tool to restart machines remotely.

See this article
http://www.wikihow.com/Remotely-Restart-a-Windows-Machine-Through-Command-Line
0
Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

 
Mike KlineCommented:
You can also just shutdown their box remotely using the PS shutdown tool.  You would also disable their account.

http://technet.microsoft.com/en-us/sysinternals/bb897541.aspx

In my experience if you have an employee that you think may do damage then generally they are told by management and HR and while that is being done all access (login, VPN, building access etc) gets taken away then and they are escorted out.

When people leave with normal two weeks and on pleasant terms those steps are usually not needed

Thanks

Mike
0
 
tolinromeAuthor Commented:
thanks mkline71 - thatll do it. it wont let me accept your response as a solution.
0
 
Mike KlineCommented:
ok sorry about that, not sure why it posted as an admin comment...you can accept now.

Thanks

Mike
0

Featured Post

Vote for the Most Valuable Expert

It’s time to recognize experts that go above and beyond with helpful solutions and engagement on site. Choose from the top experts in the Hall of Fame or on the right rail of your favorite topic page. Look for the blue “Nominate” button on their profile to vote.

  • 2
  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now