# Set Computer Status

> `UiPath.NetIQeDirectory.Activities.SetComputerStatus`

`UiPath.NetIQeDirectory.Activities.SetComputerStatus`

## Description

Sets the active status of a computer.

## Project compatibility

Windows - Legacy | Windows | Cross-platform

## Configuration

### Common

* **DisplayName** - The display name of the activity.

### Input

* **DistinguishedName** - The distinguished name of the computer.
* **ActiveStatus** - Indicates the active status of the specified computer (Enabled or Disabled). The default value is **Enabled**.
* **Connection** - Establish the connection that needs to be used. There are three available options, **Auto**, **Primary**, and **Secondary**. The default option is **Auto**. When set to **Auto**, the activity tries to automatically resolve the connection from the object’s distinguished name.

### Misc

* **Private** - If selected, the values of variables and arguments are no longer logged at Verbose level.
