Question: Is there a way I can uninstall programs without the graphical interface and doing it via CMD?

Answer: 
If a program uses Windows Installer, you can use one of the following commands:

```
msiexec /q /x <ProductCodeGuid>
msiexec /q /x <PathToMsi>

```

However, you're likely have neither the product code nor the original MSI file used for installation.

Other than that, there is no generic uninstall command, since installers that do not make use of Windows Installer are "unknown" by the operating system. They might supply their own uninstall executable, but whether that executable includes a way to run it without GUI depends on the individual software package.
A VBScript script will help you to uninstall the require program.

To use this script you will require software name which is located in your registry.

Just enter the application name in the script and run it with admin privileges; it will uninstall the application. But this will only work for a window-based application; for standalone setup or apps which doesn't make an entry in the uninstall string of registry, the script will not work.

So in that case you will have to find another way to uninstall the application.

Code:

```
On error resume Next

Dim strName, WshShell, oReg, keyname

Const HKEY_LOCAL_MACHINE = &H80000002
strComputer = "."

'=============================================
'Change the value here with DisplayName's value
strName = " "
'=============================================
Set WshShell = CreateObject("WScript.Shell")
Set oReg=GetObject("winmgmts:{impersonationLevel=impersonate}!\\" & strComputer & "\root\default:StdRegProv")
strKeyPath = "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall"
oReg.EnumKey HKEY_LOCAL_MACHINE, strKeyPath, arrSubKeys
For Each subkey In arrSubKeys
    keyname = ""
       keyname = wshshell.RegRead("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\" & subkey & "\DisplayName")
    If keyname = strName then
        i = subkey
    End If
Next

If i Then

    WshShell.Run "MSIEXEC.EXE /X " & i & " /QN", 1, True
End If

Set WshShell = Nothing
set ObjReg = Nothing

WScript.Quit

```