Solved

force user to logoff

Posted on 2009-04-09
3
375 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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

The HP utility "HP Lights-Out Online Configuration Utility for Windows Server 2003/2008" could be of great use when it comes to remotely configure a HP servers ILO WITHOUT rebooting the server. We would only need to create and run scripts using thi…
On July 14th 2015, Windows Server 2003 will become End of Support, leaving hundreds of thousands of servers around the world that still run this 12 year old operating system vulnerable and potentially out of compliance in many organisations around t…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…

758 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now