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

Lock Out User Account Server 2008

Is there a way to lock a user account while they are logged on?  Need to do so in case of terminating an employee.  

0
dccexpert
Asked:
dccexpert
  • 3
  • 2
  • 2
2 Solutions
 
NJComputerNetworksCommented:
You would have to lock them out in AD... and then disconnect them from any servers that they are logged into...  

The easiest way to do this, is send a reboot command to thier PC remotely...

but the best thing to do is quickly take thier pc/laptop and disable the account.

0
 
dccexpertAuthor Commented:
how do you send a reboot command to their pc remotely?
0
Creating Active Directory Users from a Text File

If your organization has a need to mass-create AD user accounts, watch this video to see how its done without the need for scripting or other unnecessary complexities.

 
PorpathamCommented:
Hi,

The remote command is:  

shutdown -r -m \\Computername -t xx -c "Any Comments" -f

-r for reboot, For Computername you need to give exact computer name
For xx give time in Seconds
-c for Comments without cotes
-f to force.

Please reply.
0
 
NJComputerNetworksCommented:
right
0
 
dccexpertAuthor Commented:
Thanks a lot this works
0
 
PorpathamCommented:
Thanks SAGE..
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

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