---
title: RSA NetWitness. Disable AD accounts and add Domains to a Proxy block list with a mouse click. Example & Code
description: This article is aimed to demonstrate the flexibility of the RSA Netwitness solution by showcasing some simple mouse click response activities. The fir
---

- [Home](https://mydev.netwitness.com/home)
- Integrations 
    - [Netwitness Platform Integrations](https://mydev.netwitness.com/netwitnessplatformintegrations)
    - [Third Party Integrations](https://mydev.netwitness.com/thirdpartyintegrations)
- [Knowledge Center](https://mydev.netwitness.com/knowledge-base)
- Community 
    - [Blogs](https://mydev.netwitness.com/netwitness-security-llc-blog)
    - Discussions
- Customers 
    - [Manage Products and Licenses](https://mydev.netwitness.com/nwportal)
    - Downloads
- Partners 
    - [Partner Program](https://mydev.netwitness.com/partner)
    - [Partner Resources](https://mydev.netwitness.com/partnerresources)
    - [Submit a New Deal Registration](https://mydev.netwitness.com/dealregistration)
    - [Become a Partner](https://mydev.netwitness.com/becomeapartner)
    - [Update Your Partner Locator Profile](https://www.netwitness.com/partner-locator/?utm_source=pardotnewsletter&utm_medium=email&utm_campaign=partner_march)
    - [NetWitness LinkedIn Partner Hub](https://linkedin.com/showcase/netwitnesspartners/)
- Education 
    - [Instructor Led Training Schedule](https://mydev.netwitness.com/instructorledtrainingschedule)
    - [NetWitness Training Catalog](https://mydev.netwitness.com/netwitnesstrainingcatalog)
    - [Security Awareness Training](https://mydev.netwitness.com/securityawarenesstraining)
    - [New Product Readiness](https://mydev.netwitness.com/newproductreadiness)
    - [On-Demand Virtual Labs](https://mydev.netwitness.com/ondemandvirtuallabs)
    - [Additional Training Information](https://mydev.netwitness.com/additionaltraininginformation)
    - [Frequently Asked Questions](https://mydev.netwitness.com/educationfaq)
    - [Contact NetWitness Education Team](https://mydev.netwitness.com/contact-netwitness-education-team)
- Support 
    - [Contact Support](https://mydev.netwitness.com/contact-support)
    - [Create a New Case](https://mydev.netwitness.com/create-support-case)
    - [View My Cases](https://mydev.netwitness.com/viewmycase)
    - [Product Version Life Cycle](https://mydev.netwitness.com/product-version-life-cycle)
    - [Warranty & Replacement Parts](https://mydev.netwitness.com/warranty-and-replacement-parts)
    - [Community Support Forum](https://mydev.netwitness.com/community-support-forum)
    - [Technical Support Guide](https://mydev.netwitness.com/technical-support-guide)

![search](https://21725316.fs1.hubspotusercontent-na1.net/hubfs/21725316/Ladder/Image/search.svg)

![search](https://21725316.fs1.hubspotusercontent-na1.net/hubfs/21725316/Ladder/Image/search.svg)

![search](https://21725316.fs1.hubspotusercontent-na1.net/hubfs/21725316/Ladder/Image/search.svg)

![search](https://21725316.fs1.hubspotusercontent-na1.net/hubfs/21725316/Ladder/Image/search.svg)

# RSA NetWitness. Disable AD accounts and add Domains to a Proxy block list with a mouse click. Example & Code

- Home
 */*- [Netwitness blogs](https://mydev.netwitness.com/netwitness-security-llc-blog)
*/*- rsa netwitness. disable ad accounts and add domains to a proxy block list with a mouse click. example & code

 22 Sep, 2016

**Author:** Admin

This article is aimed to demonstrate the flexibility of the RSA Netwitness solution by showcasing some simple mouse click response activities. The first example demonstrates the disablement of Active Directory Domain User Accounts using just one mouse click. The second example use a similar approach to add domains to a proxy blacklist.  All necessary commands, settings and code are provided at the bottom of the article. I hope you will find this useful and if you have any comments or suggestions please let me know.

**Example 1. Mouse Click Active Directory User Account Disablement**

Brief infra overview:

192.168.1.111 – NW Server & Packet Hybrid

192.168.1.119 – NW ESA & Log decoder

192.168.1.130 – Windows 2012 DC with domain RSA.LAB

192.168.1.131 – Centos Apache, PHP & Squid Proxy installation

**Screenshot overview:**

**![1.jpg](https://mydev.netwitness.com/hubfs/Imported_Blog_Media/59179iEF5E000F058DA69A.jpg "1.jpg")**

**![2.jpg](https://mydev.netwitness.com/hubfs/Imported_Blog_Media/59227i584BC94C2BD55D8C.jpg "2.jpg")**

**![3.jpg](https://mydev.netwitness.com/hubfs/Imported_Blog_Media/59274i20EC4B4D295C4F6A.jpg "3.jpg")**

**![4.jpg](https://mydev.netwitness.com/hubfs/Imported_Blog_Media/59325iB106177C5C2B6329.jpg "4.jpg")**

**![5.jpg](https://mydev.netwitness.com/hubfs/Imported_Blog_Media/59370i04885F2466A94E57.jpg "5.jpg")**

**Example 2. Mouse Click Proxy Blacklist Domain Activity**

Brief infra overview:

192.168.1.111 – NW Server & Packet Hybrid (RSA internal demo VM)

192.168.1.119 – NW ESA & Log decoder (RSA internal demo VM)

192.168.1.130 – Windows 2012 DC with domain RSA.LAB

192.168.1.131 – Centos Apache, PHP & Squid Proxy installation

 

**Screenshot overview:**

**![6.jpg](https://mydev.netwitness.com/hubfs/Imported_Blog_Media/59461i45E729DA688A1526.jpg "6.jpg")**

**![7.jpg](https://mydev.netwitness.com/hubfs/Imported_Blog_Media/59508i217B99B6926A65E6.jpg "7.jpg")**

**![8.jpg](https://mydev.netwitness.com/hubfs/Imported_Blog_Media/59324i8650B9BF9E2E1E08.jpg "8.jpg")**

**![9.jpg](https://mydev.netwitness.com/hubfs/Imported_Blog_Media/59553i49D83ED93148098A.jpg "9.jpg")**

**![10.jpg](https://mydev.netwitness.com/hubfs/Imported_Blog_Media/59600i44C8608857AD5293.jpg "10.jpg")**

**To replicate this setup please follow the steps as described below:**

General Requirements, settings & code available in attached NW response actions.7z.zip file

1. Download CentOS 7 ISO
2. Download Windows 2012 ISO (other windows OS is fine as long you are able to install windows AD & DNS services)
3. Follow the instruction in the below order and text files:

1. 01-Windows install & config steps.txt
2. 02-Centos instal & config steps.txt
3. 03-NW Context Menu config steps.txt

 Topic:

[0 Comment](https://mydev.netwitness.com/netwitness-security-llc-blog/rsanetwitness-disableadaccountsandadddomainstoaproxyblocklistwithamouseclick-example-and-code#comments-listing)

###### CATEGORIES

- All
- [Blog](https://mydev.netwitness.com/netwitness-security-llc-blog/tag/blog)

##### RECENT POST

[Netwitness Platform Integration with AWS Application Load Balancer Access logs](https://mydev.netwitness.com/netwitness-security-llc-blog/netwitnessplatformintegrationwithawsapplicationloadbalanceraccesslogs)

 23 Jul, 2024

[The Sky Is Crying: The Wake of the 19 JUL 2024 CrowdStrike Content Update for Microsoft Windows and We Should Take Away From It](https://mydev.netwitness.com/netwitness-security-llc-blog/715124)

 20 Jul, 2024

[DDoS using BotNet Use Case](https://mydev.netwitness.com/netwitness-security-llc-blog/ddosusingbotnetusecase)

 7 May, 2024

[NetWitness Platform](https://www.netwitness.com/)

[Acceptable Use Policy](https://www.netwitness.com/wp-content/uploads/Acceptable-Use-Policy-092022.pdf) [Privacy Statement](https://www.netwitness.com/wp-content/uploads/NetWitness-Privacy-Statement-07292024.pdf)

![NetWitness Logo](https://mydev.netwitness.com/hubfs/Portal-Partner%20Program/netwitness-logo-RGB-white%201.png)

[![LinkedIn](https://mydev.netwitness.com/hubfs/Portal-Partner%20Program/linkedin.png)](https://www.linkedin.com/company/netwitness-platform/) [![YouTube](https://mydev.netwitness.com/hubfs/Portal-Partner%20Program/Youtube.jpg)](https://www.youtube.com/@netwitness)

© 2026 NetWitness LLC. All rights reserved.

```json
{
  "@context" : "https://schema.org",
  "@type" : "BlogPosting",
  "author" : {
    "@type" : "Person",
    "name" : "Admin",
    "url" : "https://mydev.netwitness.com/netwitness-security-llc-blog/author/admin"
  },
  "dateModified" : "2026-03-20T11:51:13.600Z",
  "datePublished" : "2016-09-22T04:00:00.000Z",
  "headline" : "RSA NetWitness. Disable AD accounts and add Domains to a Proxy block list with a mouse click. Example & Code",
  "mainEntityOfPage" : {
    "@id" : "https://mydev.netwitness.com/netwitness-security-llc-blog/rsanetwitness-disableadaccountsandadddomainstoaproxyblocklistwithamouseclick-example-and-code",
    "@type" : "WebPage"
  },
  "publisher" : {
    "@type" : "Organization",
    "logo" : {
      "@type" : "ImageObject",
      "url" : "https://mydev.netwitness.com/hubfs/netwitness-logo-CMYK.jpg"
    }
  }
}
```