setreg: command not found

Have You tried accessing the binary with the full path?

Maybe Your $PATH variable doesn't contain the default paths? echo $PATH should give something like:

[root@server ~]# echo $PATH
/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin

If it's empty, You may set the PATH variable with this command

export PATH="/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin"

On CentOS possible default full paths are:

/usr/bin/setreg - from package: mono-core

You may install the required package with command yum install {package}

On Debian possible default full paths are:

/usr/bin/setreg - from package: mono-devel

You may install the required package with command apt-get install {package}
Error in other languages:
setreg: bevel nie gevind nie
setreg: comandă negăsită
setreg: comando não encontrado
setreg: commande introuvable
setreg: command not found
setreg: käsku ei ole
setreg: không tìm thấy lệnh
setreg: komanda nerasta
setreg: Kommando nicht gefunden.
setreg: kommandot finns inte
setreg: komut yok
setreg: nie znaleziono polecenia
setreg: níor aimsíodh an t-ordú
setreg: no se encontró la orden
setreg: no s'ha trobat l'ordre
setreg: opdracht niet gevonden
setreg: parancs nem található
setreg: perintah tidak ditemukan
setreg: príkaz nenájdený
setreg: příkaz nenalezen
setreg: команда не найдена
setreg: командата не е открита
setreg: 命令找不到
setreg: コマンドが見つかりません