# Startup Applications

## Overview

Similar to [AutoRuns](/windows-privilege-escalation/registy/autoruns.md), the concept of exploiting startup applications is that we configure a malicious executable as a startup application and hopefully get a Admin shell back when the computer reboots and a Administrator logs in.

## Escalation via Startup Applications

View permissions on startup folder using [icacls.exe](https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/icacls)

```powerquery
 icacls.exe "C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup"
```

<figure><img src="/files/Tqy0BuKso4h4Ii6yAFVP" alt=""><figcaption><p>Desired output</p></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://pnpt.adot8.com/windows-privilege-escalation/startup-applications.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
