Instalar UltraVNC remotamente

porDiego Elcain

Instalar UltraVNC remotamente

Script bat para instalação e configuração remota do UltraVNC via PsExec

:: Define Variables
SET /p target=”Enter target system name:- ”
SET /p server=”ad01″

:: COPIA E INSTALA
copy \\%server%\install\ultravnc\ultraVvnc.exe \\%target%\c$ /y
psexec \\%target% c:\ultravnc.exe /verysilent

:: Atualizada o ultravnc.ini coloca com serviço e habilita para automatico

copy \\%server%\install\ultravnc\ultraVNC.ini “\\%target%\c$\Program Files\uvnc bvba\UltraVNC” /y
psexec \\%target% “C:\Program Files\uvnc bvba\UltraVNC\WinVNC.exe” -install
sc \\%target% start uvnc_service start= auto

Echo UltraVNC Installed

Pause

Sobre o Autor

Diego Elcain administrator