Disable an account

I want to disable a user account, but not delete it.

How is that done 2008 and vista? (Should be the same.) But 2008 is what I really want, if not.

Starr DuskkASP.NET VB.NET DeveloperAsked:
Who is Participating?
tigermattConnect With a Mentor Commented:

Local, or Domain Account?

If a local account (applies to 2008 Local Accounts and Vista), run the lusrmgr.msc from the Search box on the Start Menu. Locate the user account, view its Properties and check the 'Account is disabled' box.

If a Domain Account, on the server open AD Users and Computers from Administrative Tools. Locate the user account in the Active Directory structure, right-click it and choose the option to Disable Account.

MPCP-BrianConnect With a Mentor Commented:
Are you running Active Directory?
If so open Active Directory select the user, Right click and select disable account.
If not, Right click My Computer, Select Manage. Select Local Users and Groups, then Users. Right click the user you want to disable, select Properties. Then check account is disabled.
andrew_aj1Connect With a Mentor Commented:
For a domain account open Active Directory Users and Computer. From here right click the user you want to disable and click Disable Account.
I hope this helps. Good luck.
All Courses

From novice to tech pro — start learning today.