Solved

force user to logoff

Posted on 2009-04-09
3
378 Views
Last Modified: 2012-05-06
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
Comment
Question by:lynndaly2000
  • 2
3 Comments
 
LVL 8

Accepted Solution

by:
MrMintanet earned 250 total points
ID: 24111053
0
 
LVL 1

Assisted Solution

by:rebbie23
rebbie23 earned 250 total points
ID: 24111067
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
 
LVL 8

Expert Comment

by:MrMintanet
ID: 24111101
>>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

Migrating Your Company's PCs

To keep pace with competitors, businesses must keep employees productive, and that means providing them with the latest technology. This document provides the tips and tricks you need to help you migrate an outdated PC fleet to new desktops, laptops, and tablets.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Many of us need to configure DHCP server(s) in their environment. We can do that simply via DHCP console on server or using MMC snap-in on each computer with Administrative Tools installed in a network. But what if we have to configure many DHCP ser…
Setting up a Microsoft WSUS update system is free relatively speaking if you have hard disk space and processor capacity.   However, WSUS can be a blessing and a curse. For example, there is nothing worse than approving updates and they just have…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

830 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question