When uninstalling the WSS Agent (WSSA) you get the error:
Your token is invalid
The WSSA MSI installer must be on the machine to run the uninstall command (when an uninstall token has been set).
Place the WSSA MSI installer on the machine and run the uninstall command from the command-line with the token value.
To uninstall the WSSA client once a token has been set, you would use the following syntax:
C:\> msiexec /uninstall "WinWSSAgentInstaller64-22.214.171.12479.msi" UNINSTALL_TOKEN=password
For more details, see: Uninstall WSS Agent (WSSA) using the command-line when an uninstall token has been set