VNC auto installtions options for Batch commands Windows server 2008 r2. RRS feed

  • Question

  • I am trying to install TightVNC viewer through a computer start up GPO. I have the MSI installer , the .reg file, and a batch file.

    The batch file consists of the following.

    if exist "C:\Program Files (x86)\TightVNC" goto :eof ELSE
    if exist "C:\Program Files\TightVNC" goto :eof ELSE
    msiexec /a "\\FS2\GPO_SOftware\VNC\tightvnc-2.7.7-setup-64bit.msi"
    regedit /S "\\FS2\GPO_SOftware\vnc\tightvnc.reg"
    rmdir /s /q "C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup"

    This is where things are broken for me. When I test launch the batch file it prompts me for feed back as to be expected. But I want the software to install without the need for prompts. I made the batch file based around the following template.  


    if exist "C:\Program Files (x86)\TightVNC" goto :eof ELSE if exist "C:\Program Files\TightVNC" goto :eof ELSE "c:\vnc\tightvnc-2.0.2-setup.exe" /S regedit /S "c:\vnc\tightvnc.reg" net stop "TightVNC Server" net start "TightVNC Server" rmdir /s /q "C:\Documents and Settings\All Users\Start Menu\Programs\TightVNC\"


    Any ideas on how I can modify my batch file to get this to install before the user logs in ?

    Wednesday, July 17, 2013 6:20 PM


  • Did ya kinda notice this is the Training and Certification forum? 

    You should contact TightVNC directly since the problem is with their product.

    Wednesday, July 17, 2013 8:27 PM