Log off a user from network

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,

How do I logoff a user from network, I disabled the user account from the
WIN2K Active Directory and even disabled the PC account but the user is still
working and access all the n/w resources.

Server: Windows 2000 ,
Client : Windows 2000 Professional

Please advice,

Cheers,
 
Helpdesk said:
Hi,

How do I logoff a user from network, I disabled the user account from the
WIN2K Active Directory and even disabled the PC account but the user is still
working and access all the n/w resources.

Server: Windows 2000 ,
Client : Windows 2000 Professional

Please advice,

Cheers,

The user is probably using a different account. You can easily
find out by getting a few tools from www.sysinternals.com:

On your machine, run this command: psexec \\ProblemPC cmd

You're now on the problem machine. Run these commands:

psloggedon (to see who's logged on).
psshutdown (to shutdown or reboot the PC)

Back on your own PC, you can run this command to see
when the problem user last logged on, and if his/her account
is suspended:

net user BadGuy /domain
 
Hi Pegasus,

What I meant was after disabling the user account from AD, the user was
still working, I understand he has to logoff once before the AD not allow him
to logon.

What I want is if I disable the account, I need to log him off the current
session so the AD will not allow him to logon.

The user is not using any other account.

Cheers,
 
Thanks for the useful link , It will certainly do the job for me, I was
assuming that the user will be logged off instantly after disabilng the
account.

Once again thank U,

Cheers,
 
You may have to delete his account in order to close his
access to domain resources. I'm not sure - I'd have to
try it out for myself.
 
Use PsShutdown to remotely log the user off.
See tip 4086 » PsShutdown command-line freeware works on both the local and remote computers.
in the 'Tips & Tricks' at http://www.jsifaq.com
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top