# Upgrade and uninstall

To upgrade an installed copy, run the setup of the newer version. It installs over the copy you have, where it is,
and keeps your wall, settings and passwords.

## Upgrade

1. Run the newer setup. Its first page says which version is installed and which one it installs.
2. If qKVM is running, in a window or only behind its icon, choose **Close qKVM and continue**.
3. At the end, choose **Start qKVM Desktop** if you like.

On Windows on Arm the setup puts in the ARM64 program, also where the x64 one was. A copy from the ZIP, running from
its own folder, is left alone.

### If qKVM does not close

| What you see | What to do |
|---|---|
| The setup shows what qKVM says holds it | Finish that in qKVM (control of a machine, an upload, a box with changes not saved), then choose **Try again** |
| qKVM does not close within about 10 seconds | **End it now** ends it at once; **Cancel** changes nothing |
| The setup shows as not responding | It waits up to a minute for a start of qKVM to end: leave it be |

The setup installs only into a folder of its own that no other account may change. One setup or uninstall runs at a
time for your account. Your own files beside the program stay.

## For administrators

| Option | What it does |
|---|---|
| `/VERYSILENT /SUPPRESSMSGBOXES` | A silent setup: closes qKVM the same way and starts it again afterwards |
| `/LOG="<file>"` | Writes a log; a line beginning `qKVM-RESULT:` says why qKVM stayed open |
| `/FORCECLOSE=1` | Ends qKVM by force where it does not close |
| `/DIR` | Takes a folder only where it is empty, not there yet or an install of qKVM's own, and no other account may change it |

Where qKVM stays open, a silent setup changes nothing and ends with exit code 7.

## If an update stops partway

An update that stops partway, on a file in use or a full disk, leaves your copy as it was: the setup sets every file
aside first. If the PC loses power or the setup is ended during the copy, qKVM says "An update of qKVM did not
finish" at its start.

Choose OK, then run the setup again, the newer one or the one you have. Nothing of your wall, settings or passwords
is lost.

## Uninstall

1. Quit qKVM from its icon in the notification area, in every Windows session of your account. The uninstall does
   not close it.
2. In Windows Settings, choose Apps, Installed apps, **qKVM Desktop**, **Uninstall**.

A copy from the ZIP is removed by closing the program and deleting its folder. Your settings and passwords stay:
see [Where your data stays](https://qkvm.com/docs/desktop/where-your-data-stays).

## Related

- [Updates](https://qkvm.com/docs/desktop/updates)
- [Install](https://qkvm.com/docs/desktop/install)
- [Where your data stays](https://qkvm.com/docs/desktop/where-your-data-stays)
- [Troubleshooting](https://qkvm.com/docs/desktop/troubleshooting)
