---
title: "Updating Rest PKI on Windows Server"
description: "Updating an on-premises Rest PKI instance on Windows Server: back up, replace the site files except AppSettings.config and Connections.config."
canonical: "https://docs.lacunasoftware.com/en-us/articles/rest-pki/on-premises/windows-setup/update"
locale: "en"
product: "Rest PKI (legacy)"
last_updated: "2026-09-08"
---

# Updating Rest PKI on Windows Server

For atualizate your instance from [Rest PKI](https://docs.lacunasoftware.com/en-us/articles/rest-pki), follow the instructions from this page.

> **Tip**
>
> Before to start, verify the [configuration of atualizations from the database](https://docs.lacunasoftware.com/en-us/articles/rest-pki/on-premises/database-update) from the system.
> Also [check the minimum .NET version required on Windows](https://docs.lacunasoftware.com/en-us/articles/rest-pki/on-premises/windows-setup/netframework-version).

1. Create a backup of the database and of the site folder
1. Delete all files on the site folder **EXCEPT THE FILES** `AppSettings.config` and `Connections.config`
1. Extract the contests of the new Rest PKI package ([restpki-1.33.9.zip](https://cdn.lacunasoftware.com/restpki/restpki-1.33.9.zip)) to the site folder
1. Access the website

> **Note**
>
> Since the package does not contain files named AppSettings.config and Connections.config, its files with these names containing system settings will be preserved during the operation.

If you see the screen titled "REST PKI on premises", the process is complete.

If the system is configured to perform manual database model updates, an 
additional procedure may be required to update the database.

> **Note**
>
> To know in advance if an upgrade will require database upgrade, look at the [Rest PKI Changelog](https://docs.lacunasoftware.com/en-us/articles/rest-pki/changelog) if any

of the versions between the version you are installing and the one you are installing are marked as requiring database upgrade. 
To learn how to verify the installed version of the system, [see this article](https://docs.lacunasoftware.com/en-us/articles/rest-pki/on-premises/check-version).

In this case, the message "HTTP Error 503.0 - The server is currently undergoing maintenance. Please try again later." when accessing the system as follows:

![HTTP Error 503.0 - The server is currently undergoing maintenance](https://docs.lacunasoftware.com/images/rest-pki/maintenance.png)

Then perform [manual database update](https://docs.lacunasoftware.com/en-us/articles/rest-pki/on-premises/database-update).

## See too

* [Troubleshooting issues on Rest PKI setup](https://docs.lacunasoftware.com/en-us/articles/rest-pki/on-premises/windows-setup/troubleshoot)
