https://rancher.com/ logo
Title
h

hundreds-evening-84071

05/16/2023, 2:00 PM
I had a windows server 2019 worker node on RKE2 cluster. Wanted to remove this windows node, so I ran
rke2-uninstall.ps1
However this did not clean up things under
c:\var\lib\
Is there a different (proper) way to do uninstall on Windows nodes?
g

gray-lawyer-73831

05/16/2023, 2:52 PM
Not really… uninstall issues have been a thing since we introduced windows, unfortunately. https://github.com/rancher/rke2/issues?q=is%3Aissue+is%3Aopen+windows+uninstall
However, cleaning up files was at one point working, so it’s possible this has regressed since then. See bolded line towards the top of this comment: https://github.com/rancher/rke2/issues/1497#issuecomment-893621222