Skip to content

Instantly share code, notes, and snippets.

@tavinus
Last active December 10, 2020 23:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tavinus/d74c4fc3eccaa2699250b6eee77202a4 to your computer and use it in GitHub Desktop.
Save tavinus/d74c4fc3eccaa2699250b6eee77202a4 to your computer and use it in GitHub Desktop.
Manual Uninstall dwagent from Windows

DWAgent Manual Uninstall

We faced a situation where the DWAgent client would not run and we could not uninstal or reinstall it.

The solution is to manually remove it before installing again.

This guide is for Windows 10, it may work for other Windows versions as well.

1- Delete the program folder

%PROGRAMFILES%\DWAgent

2- Delete system service

Start a DOS prompt with administrator privileges > cmd
Then run this in it

sc delete dwagent

3- Remove registry entries

Be careful when editing the Windows Registry! It could break your system if you do something reckless
Open the Registry Editor > REGEDIT.EXE
Edit > Find (CTRL + F)
Delete any Key or Folder found with dwagent in it
You can use F3 to continue the search with the same query
"Recent files" entries can be ignored (or deleted)

You may want to repeat the process deleting entries with dwservice
(I didn't need this here)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment