Logo
CAR REVIEW
Windows Vista
Windows 7
Windows Azure
Windows Server
Windows Phone
PREGNANCY
 
 
Windows Server

Active Directory Domain Services 2008 : Manage Active Directory Domain Services Data - Disable a User Object

7/2/2011 11:37:59 AM
Disable an AD DS user account by using the Windows interface or by using the command line.

Disable User Object by Using the Windows Interface

To disable a user object by using the Windows interface, perform the following steps:

1.
Log on to a domain controller or a member computer that has Windows Server 2008 RSAT installed.

2.
Click Start, click Administrative Tools, and then click Active Directory Users and Computers.

3.
In the details pane, right-click the user object you want to disable and click Disable Account.

4.
Verify the status message that indicates the account was disabled, as shown in Figure 1.



Figure 1. Disabling a user object using the Windows interface.


Disable a User Object by Using the Command Line

To disable a user object by using the command line, perform the following steps:

1.
Log on to a domain controller.

2.
Click Start, and click Command Prompt.

3.
In the Command Prompt window, type the following command and press Enter:

Dsmod user "CN=Jonathan Smith,OU=New York,DC=WS08DOMAIN01,DC=local"
-disabled yes

(where "CN=Jonathan Smith,OU=New York,DC=WS08DOMAIN01,DC=local" is the distinguished name of the user that you want to disable).

4.
Verify that the results of the dsmod user command entered above returns dsmod succeeded, as shown in Figure 2.

Figure 2. Disabling a user object using the command line.

Tip

For a full list of dsmod user parameters, go to http://technet.microsoft.com/en-us/library/cc732954.aspx.

Other -----------------
- Active Directory Domain Services 2008 : Manage Active Directory Domain Services Data - Add User to Group
- Active Directory Domain Services 2008 : Manage Active Directory Domain Services Data - Move User Object
- BizTalk 2009 : Wcf Adapters: Standardizing Your Integration Endpoints - Using the WCF-WSHttp Adapter
- BizTalk 2009 : Wcf Adapters: Standardizing Your Integration Endpoints - Using Metadata Exchange
- BizTalk 2009 : Wcf Adapters: Standardizing Your Integration Endpoints - Securing Your Endpoints
- Microsoft PowerPoint 2010 : Adding a Digital Signature to a Macro Project & Assigning a Macro to a Toolbar or Ribbon
- Microsoft PowerPoint 2010 : Expanding PowerPoint Functionality - Controlling a Macro
- Windows Server 2008 R2 : Configuring Folder Security, Access, and Replication - Configure Offline File Caching
- Windows Server 2008 R2 : Configuring Folder Security, Access, and Replication - Share Folders
- Windows Server 2008 R2 : Configuring Folder Security, Access, and Replication - Implement Permissions
- Microsoft Dynamics CRM 2011 : Working with Leads and Opportunities - Creating an Opportunity
- Microsoft Dynamics CRM 2011 : Qualifying a Lead & Disqualifying a Lead
- Microsoft Dynamics CRM 2011 : Understanding Leads and Opportunities & Creating a Lead and Tracking Lead Sources
- Performing an Exchange Server 2003 Installation
- Planning a Microsoft Exchange Server 2003 Infrastructure : Preparing Forests and Domains
- Planning a Microsoft Exchange Server 2003 Infrastructure : Installation Considerations
- SharePoint 2010 : Securing Information - Securing Sites
- SharePoint 2010 : Securing Information - Securing Site Collections
- WCF and BizTalk 2009 (part 2) - Publishing Your WCF Service from the Command Line & Consuming WCF Services
- WCF and BizTalk 2009 (part 1) - Exploring the Built-in WCF Adapter Transport Support & Using the WCF Service Publishing Wizard
 
 
Most view of day
- Windows Phone 7 Programming Model : Asynchronous Programming - Background Threads
- Maintaining Dynamics GP : Safeguarding data by Backing Up everything
- Windows Phone 8 : Configuring Basic Device Settings - Battery Saver
- Sharepoint 2013 : Integrating Apps for Office with SharePoint (part 2) - Apps for Office Integrated with an App for SharePoint
- BizTalk Server 2009 : Use The Business Rule Engine (part 1)
- Microsoft Project 2010 : Fine-Tuning Task Details (part 6) - Entering Deadline Dates
- Integrating SharePoint 2013 with the Office Applications (part 3) - Microsoft Excel
- Games and Windows 7 : Using the Games Explorer (part 1)
- Windows Server 2012 : Enabling advanced features using ADAC (part 2) - Configuring fine-grained password policies
- SQL Server 2008 R2 : Creating and Managing Stored Procedures - Startup Procedures
Top 10
- Microsoft Lync Server 2013 : Director Troubleshooting (part 3) - Synthetic Transactions,Telnet
- Microsoft Lync Server 2013 : Director Troubleshooting (part 2) - DNS Records, Logs
- Microsoft Lync Server 2013 : Director Troubleshooting (part 1) - Redirects, Certificates
- Microsoft Lync Server 2013 : Administration of the Director Role (part 4) - Services Management, Client Version Filter
- Microsoft Lync Server 2013 : Administration of the Director Role (part 3) - Topology Status
- Microsoft Lync Server 2013 : Administration of the Director Role (part 2) - Ports,Firewall Rules
- Microsoft Lync Server 2013 : Administration of the Director Role (part 1) - Services
- Microsoft Lync Server 2013 : Configuring the Director (part 2) - Web Services Ports,Reverse Proxy
- Microsoft Lync Server 2013 : Configuring the Director (part 1) - SRV Records, Web Services FQDN Overrides
- Sharepoint 2013 : SharePoint Designer 2013 (part 2) - Locking Down SharePoint Designer
 
 
Windows XP
Windows Vista
Windows 7
Windows Azure
Windows Server
Windows Phone
2015 Camaro