• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 386
  • Last Modified:

force user to logoff

Is there a way to disconnect a user from the domain control?  This is used when employees are terminated and are allowed to go back to their offices and gather their things.  Sometimes they are still logged on.  Is there anyway to just kick them off there computers?
0
lynndaly2000
Asked:
lynndaly2000
  • 2
2 Solutions
 
MrMintanetCommented:
0
 
rebbie23Commented:
I found this from an older thread.
http://www.experts-exchange.com/Networking/Misc/Q_21687018.html


After you disable the account in AD the user still has access until he either:

A. Logs Off
B. Computer is shutdown

So your are stuck with either remotely logging them off or shutting down the PC, when they attempt to log back in they will not be able to.

There are several utilities to remotely logoff/shutdown PC's, the resource kit had a program called logoff.exe and logoff.vbs that could be used

here is a sample program that logs of PC's rmeotely, there are many others...:
http://www.emco.is/remoteshutdownpro/features.html

or you could simply use the shutdown.exe from the command prompt, I usually do this one:

shutdown -r -f -t 1 -m \\computername

that forces a reboot, closes programs without saving, and only gives 1 second before the shutdown is initiated
0
 
MrMintanetCommented:
>>There are several utilities to remotely logoff/shutdown PC's, the resource kit had a program called logoff.exe and logoff.vbs that could be used

Or... you could use CMD.
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

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