![Update NetScaler](https://valkos.nl/wp-content/uploads/2022/08/citrix-netscaler.jpg.webp)
Regularly we need to update/upgrade NetScalers during projects or maintenance. I have seen this go wrong many times using the GUI, so the default I use to update a NetScaler is via the CLI. Just follow a couple of simple steps to accomplish this to make things easier for you.
Step 1. Download WINSCP or any other tool
Step 2. Download Putty
Now login to My Citrix to download the version you would like to use for the update. Keep in mind that if you update to version 13.1, you will need to change Classic Policies Based Features and Functionalities.
- Create an backup of the NetScaler before you begin
- Open WINSCP
- Setup a new site to log into the NetScaler with file protocol SFTP and port number 22 (if you cannot connect, check the firewall settings)
![](https://valkos.nl/wp-content/uploads/2022/08/2022-08-23_20-13-31.png)
- Click Yes to accept the warning
![](https://valkos.nl/wp-content/uploads/2022/08/2022-08-23_20-18-02-1.png)
- Click on Continue
![](https://valkos.nl/wp-content/uploads/2022/08/2022-08-23_20-19-27.png)
- In the commander, navigate on the left side to the Download folder and on the right side navigate to /var/nsinstall and create a folder where you can upload the firmware. Example: /var/nsinstall/build-13.0-87.9_nc_64 (you can use any name you like)
![](https://valkos.nl/wp-content/uploads/2022/08/2022-08-23_20-22-39-1024x377.png.webp)
- Open Putty and create a login for the NetScaler with Connection Type SSH and Port 22
![](https://valkos.nl/wp-content/uploads/2022/08/2022-08-23_20-33-43.png.webp)
- Accept the Putty Security Alert
![](https://valkos.nl/wp-content/uploads/2022/08/2022-08-23_20-36-15.png.webp)
- Login Putty with the same credentials as WINSCP to connect to your appliance
- Type Shell
![](https://valkos.nl/wp-content/uploads/2022/08/2022-08-23_20-41-25.png.webp)
- Type cd /var/nsinstall/build-13.0-87.9_nc_64
- Now type tar -zxvf build-13.0-87.9_nc_64.tgz to unzip the package
![](https://valkos.nl/wp-content/uploads/2022/08/2022-08-23_20-53-01-1024x188.png.webp)
- Then type installns to begin the install (should take about 30 seconds to copy flash and install)
- Do you wish to delete old signature files and kernel images? [Y/N] Y
- Reboot NOW? [Y/N] Y
- Login via the web GUI and verify the firmware version is correct and everything is up and running
Summary
That’s All! This was a short post, but I hope a very helpful post. If you have any questions. please let me know.