Uninstall xNIC on Windows¶
WHAT TO EXPECT
In this article, users will learn how to remove the xNIC from their Windows system.
Uninstalling xNIC on Windows¶
The uninstall procedure needs the original installation script that is downloaded from the cloudSwXtch. The install command of the Install xNIC on Windows page saves it as %TEMP%\swx-xnic-install.ps1. In an elevated Windows PowerShell, the uninstall can be done using the following command:
If the installation script is not available, the cloudSwXtch is still running in the network, and the agent has connectivity to that VM, run the install command again (it downloads the script pinned to the cloudSwXtch's key), with -u added at the end.
With -persist, the identity key and enrol token (C:\ProgramData\swxtch\identity), the cloudSwXtch's pin and its trust bundle are kept, so a later install is the same client and needs no new approval. Without it they are removed, and a later install at the same address waits for an administrator to approve it again, even with an enrol token.
Reboot the machine to finish the uninstall. The uninstaller does not reboot by itself.
If the file is not available and the cloudSwXtch is not running anymore, please contact support@swxtch.io for help.