You may want to review the Uninstall Overview here.
High-Level Steps
You initiate the uninstall with a shell command in a Windows terminal.
You do not run it in the WSL2 terminal for the
NVIDIA-Workbench
distro.This uninstalls the application from the WSL2 distro,
NVIDIA-Workbench
, and it will also remove some, but not all, application files from the Windows’ side.However, it doesn’t remove the
NVIDIA-Workbench
distroIt doesn’t remove
nvidia-workbench
where the Project repos are, in case you want to keep them.Nor does it remove the
.nvwb
sub-folder where the application binaries are held.
Then you uninstall the rest of the application using the Windows add/remove programs feature in Windows.
This will remove the Electron app and the icon from your desktop and tray.
Then, you need to remove two file folders on the Windows’ side in
AppData
.You will need to unhide files and folders to see
AppData
.
Finally, you will need to remove WSL2 through the add/remove programs feature in Windows.
You may also need to remove the associated update.
Where to Find Application Files on Windows
On Windows, all application files are in the WSL2 distro,
NVIDIA-Workbench
, or theAppData
folder on the Windows’ side.You shouldn’t randomly delete any of them. The uninstall should be done in the order given.
The path to your
AppData
folder should beC:\Users\<your_user_name>\AppData
.To see
AppData
, you must unhide files and folders in your Windows Explorer. See here for how to do it.
A few folders in
AppData
have application files.The folders holding NVIDIA AI Workbench files are:
C:\Users\<your_user_name>\AppData\Local\nvidia-workbench-updater
C:\Users\<your_user_name>\AppData\Local\NVIDIA Corporation\AI Workbench
C:\Users\<your_user_name>\AppData\Local\NVIDIA Corporation\Workbench
C:\Users\<your_user_name>\AppData\Roaming\nvidia-workbench
In the
NVIDIA-Workbench
WSL2 distro, the application files are in$HOME/.nvwb
.The dependencies are installed as usual.
In a Windows shell, run the command
wsl -d NVIDIA-Workbench -u root -- /home/workbench/.nvwb/bin/nvwb-cli uninstall --uid 1000 --gid 1000
This will start a flow in the terminal and ask you to agree. Enter
y
and hit enter.
When it terminates, in the WSL2 shell for the
NVIDIA-Workbench
distro, remove the.nvwb
sub-folder withrm -r ~/.nvwb
.(Optional) To remove the Project repos in the
nvidia-workbench
sub-folder, runrm -r ~/nvidia-workbench
.
(Optional) To remove the WSL2 distro
NVIDIA-Workbench
, in a Windows shell, runwsl --unregister NVIDIA-Workbench
.This will permanently remove all of the files for that Ubuntu distribution.
If you do this then you can skip step 2 above.
(Optional) To remove WSL2 from your machine, use the Windows add/remove program feature.
Enter
Windows Subsystem for Linux
and remove it.Enter
Windows Subsystem for Linux Update
and remove it.
Then, go to the Windows’ add/remove programs feature, type in
Workbench
, and follow the uninstall flow.This will remove the Electron app and more program files from the Windows’ side.
Click uninstall when asked, and again each time you are asked to verify.
When this finishes, you still need to remove two folders in
AppData
.Delete
C:\Users\<your_user_name>\AppData\Local\nvidia-workbench-updater
Delete
C:\Users\<your_user_name>\AppData\Local\NVIDIA Corporation\Workbench