> For the complete documentation index, see [llms.txt](https://wiki.datadike.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://wiki.datadike.com/product-docs/additional/sonar/scripts-prontos.md).

# Scripts prontos

Biblioteca de scripts prontos para o DataDike SONAR: PowerShell e Bash para automação de tarefas como join no AD, ativação do Windows, logoff remoto e mais.

## Joins computer to Active Directory.

{% file src="/files/fHYdOhRuiJ5CEmVjYEed" %}

## Check Windows activation status

{% file src="/files/ryWUK3gLP6qDoj0Xhxor" %}

Extracts the AnyDesk ID

{% file src="/files/bFN42YjmKepjgR5nKMnr" %}

## Rename computer

{% file src="/files/FepiNr3sT1A9LCfWIpGK" %}

## Cortana Disable

{% code overflow="wrap" %}

```
reg add  "hklm\SOFTWARE\Policies\Microsoft\Windows\Windows Search" /d "AllowCortana"=dword:00000000
```

{% endcode %}

## Displays a popup message to the currently logged on user

{% file src="/files/iDykR8mhxsLUQ5TQlzZJ" %}

## Firefox Clear Cache

{% file src="/files/HkwY4Pi0nlKbHvQSFVDH" %}

## Chrome Clear Cache

{% file src="/files/n3BeuLUZJ5HLGwlPWURJ" %}

## Windows Firewall Check Status

{% file src="/files/wyr1QtdmQ0ohdfo6RYzj" %}
