> For the complete documentation index, see [llms.txt](https://docs.parallels.com/landing/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.parallels.com/landing/daas-guides/daas-administrators-guide/common-management-tasks/logoff-user-after-all-applications-are-closed.md).

# Logoff user after all applications are closed

When using published applications after closing the last application the user is not signed out.

Go to the Parallels DaaS management portal at <https://daas.parallels.com/admin&#x20>;

Start the Golden Image

Within the Golden Image Start the Local Group Policy Editor (start -> run -> gpedit.msc) and browse to:\
`Computer Configuration > Administrative Templates > Windows Components > Remote Desktop Services > Remote Desktop Session Host > Session Time Limits`

<figure><img src="https://342210427-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2FhOsVSzu3vAb61Uku5M%2Fuploads%2F8Zqo3aPcgr3NQ5koa4LT%2Fimage.png?alt=media&amp;token=1fd56bd3-2bbe-4e37-881c-9db3df6ac106" alt=""><figcaption></figcaption></figure>

Edit Set time limit for logoff of RemoteApp sessions

1. Enable the policy
2. Select the logoff delay (e.g. 15 minutes)
3. Click OK to confirm
4. Save and close your Golden image

<figure><img src="https://342210427-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2FhOsVSzu3vAb61Uku5M%2Fuploads%2FD7DzHdMTATsLeopJisjq%2Fimage.png?alt=media&amp;token=f58533af-0ab9-4d21-9970-eed6022a9459" alt=""><figcaption></figcaption></figure>

Once saving has been completed and the new session hosts are deployed the new setting will be applied.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.parallels.com/landing/daas-guides/daas-administrators-guide/common-management-tasks/logoff-user-after-all-applications-are-closed.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
