The applicable part of my scripted install (run as Administrator) is:
Code: Select all
net stop uvnc_service
sc delete uvnc_service
certmgr.exe -add uvnc_brba.cer -c -s -r localMachine TrustedPublisher
UltraVNC_1.0.9.6_Setup.exe /verysilent /loadinf="ultravnc.inf"
net stop uvnc_service
xcopy UltraVNC.ini "C:\Program Files\UltraVNC\UltraVNC.ini" /H /R /Y
echo f | xcopy MSLogonACL.txt "C:\Program Files\UltraVNC\MSLogonACL.txt" /H /R /Y
netsh advfirewall firewall delete rule name=vnc5800
netsh advfirewall firewall delete rule name=vnc5900
netsh advfirewall firewall delete rule name=vncviewer.exe
netsh advfirewall firewall delete rule name=winvnc.exe
netsh advfirewall firewall add rule name="UltraVNC Server" dir=in action=allow program="C:\Program Files\UltraVNC\winvnc.exe" description="UltraVNC Server inbound firewall exception"
netsh advfirewall firewall add rule name="UltraVNC Viewer" dir=out action=allow program="C:\Program Files\UltraVNC\vncviewer.exe" description="UltraVNC Viewer outbound firewall exception"
"C:\Program Files\UltraVNC\mslogonacl.exe" /i /o "C:\Program Files\UltraVNC\mslogonacl.txt"
net start uvnc_service
Code: Select all
[Permissions]
[admin]
UseRegistry=0
MSLogonRequired=1
NewMSLogon=1
DebugMode=0
Avilog=0
path=C:\Program Files\UltraVNC
DebugLevel=8
DisableTrayIcon=0
LoopbackOnly=0
UseDSMPlugin=0
AllowLoopback=0
AuthRequired=1
ConnectPriority=1
DSMPlugin=
AuthHosts=
AllowShutdown=0
AllowProperties=1
AllowEditClients=1
FileTransferEnabled=1
FTUserImpersonation=1
BlankMonitorEnabled=1
BlankInputsOnly=0
DefaultScale=1
CaptureAlphaBlending=0
BlackAlphaBlending=0
primary=1
secondary=1
SocketConnect=1
HTTPConnect=1
XDMCPConnect=0
AutoPortSelect=0
PortNumber=[a custom port #]
HTTPPortNumber=[another custom port #]
IdleTimeout=0
RemoveWallpaper=1
RemoveAero=1
QuerySetting=4
QueryTimeout=5
QueryAccept=1
QueryIfNoLogon=1
InputsEnabled=1
LockSetting=0
LocalInputsDisabled=0
EnableJapInput=0
kickrdp=0
clearconsole=0
service_commandline=
secundary=1
FileTransferTimeout=30
[admin_auth]
group1=Administrators
group2=Domain\Helpdesk
group3=
locdom1=0
locdom2=0
locdom3=0
[ultravnc]
passwd=[encrypted password]
passwd2=[encrypted password]
[poll]
TurboMode=0
PollUnderCursor=0
PollForeground=0
PollFullScreen=0
OnlyPollConsole=0
OnlyPollOnEvent=0
MaxCpu=0
EnableDriver=1
EnableHook=0
EnableVirtual=0
SingleWindow=0
SingleWindowName=
Code: Select all
[Setup]
Lang=EN
Dir=C:\Program Files\UltraVNC
Group=UltraVNC
NoIcons=0
SetupType=full
Components=ultravnc_server,ultravnc_viewer
Tasks=installservice,startservice,associate,driver
Eric
I.T. Hardware and Systems Integration Specialist