msiexec /x.
Start with the standard route in Download and install. Come here if it does not finish the job.
When you need it
Get the script
Run it on one device
Preview first β this changes nothing:Deploy it with Intune
1
Change the app assignment first
Set the Velatir app assignment to Uninstall, or remove it. While it is still assigned as Required, Intune reinstalls the app behind the cleanup and the device looks unchanged.
2
Add it as a remediation script
Go to Devices β Scripts and remediations, add the script, and set it to run as SYSTEM in 64-bit PowerShell. A remediation script needs no detection rule, so a detection rule that never matches cannot block the removal.
3
Act on the exit code
0 means the device is clean. 2 means something remains β restart those devices and run it again. The device also writes a full transcript to %TEMP%\Velatir-uninstall-<timestamp>.log.Removing Velatir is not an upgrade path. If you want a device on a current version, uninstall and then install again β see Download and install.
Already running a newer version
If a device was updated to a current version before you ran the cleanup, an older versionβs leftovers are stranded underneath a working install. Add-LegacyOnly:
msiexec, and never removes the service, the program directories, the registry keys, or the certificate your current install is using.
What it removes
- The
VelatirAgentservice, the logon task older versions used, and any running Velatir processes - Network routes and the
Velatirnetwork adapter, plus the packet-capture driver older versions installed - Velatir firewall rules
- Velatir certificates from the trusted root stores
C:\Program Files\Velatir,C:\ProgramData\Velatir, every userβs%LOCALAPPDATA%\Velatir, and the Start menu shortcut- Velatir registry keys, its entry in the machine
PATH, and theNODE_EXTRA_CA_CERTSenvironment variable it set
What it leaves alone
The script only ever removes things it can confirm are Velatirβs:Confirm the device is clean
The script prints a verification report and exits2 if anything remains. To check by hand:
On macOS with Firefox, the Velatir browser extension may still be listed after uninstalling. It is inactive, and Firefox does not remove policy-installed extensions by itself. See Download and install for how to remove it.
Next steps
Download and install
Install a current version on a cleaned device.
Enterprise deployment
Roll out across your fleet with Intune, Jamf, or any MDM.
Troubleshooting
Resolve install and first-run issues.
FAQ
Common questions about the desktop app.