# restartclient

![Parralels](https://www.parallels.com/static/pl/fileadmin/res/img/navigation/pl-logo-dk.png)

## AppserverClient Command Line Interface

### restartclient

closes and restarts an active instance of Parallels Client.

**Category: Client**

```
AppServerClientCLI restartclient [-elevated] [-minimized] [-forceclassicui | -forcemodernui]  
```

### Arguments

* **`elevated (optional)`** When set, the RAS Client application is started with elevated privileges.
* **`minimized (optional)`** When set, the RAS Client application starts with its window minimized.
* **`forceclassicui (optional)`** When set, the RAS Client application starts with classic user interface if allowed.
* **`forcemodernui (optional)`** When set, the RAS Client application starts with modern user interface if allowed.

### Return codes:

ok - Command was successful\
NotAvailable - Communication with the client backend failed, ensure that the client is running\
Exception - System problem

### Examples:

AppServerClientCLI restartclient -elevated\
AppServerClientCLI restartclient -elevated -forceclassicui

### Notes:

If there are no connections, the prompt to add a connection in the classic ui is automatcially suppressed.

### See also:

[startclient](/landing/ras-windows-cli-guide/v20/commands/startclient.md)\
[stopclient](/landing/ras-windows-cli-guide/v20/commands/stopclient.md)


---

# 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://docs.parallels.com/landing/ras-windows-cli-guide/v20/commands/restartclient.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.
