Hi.
I want to uninstall our old version of UVNC and install UVNC 1.0.9.5 via our SCCM server. I've made a install.bat file that I want SCCM to run. I've tested the file by running the bat file manually on a computer. The bat-file looks like this:
@ECHO OFF
taskkill /f /im winvnc.exe
SC DELETE "uvnc_service"
REG DELETE HKEY_CURRENT_USER\Software\ORL /f
REG DELETE HKEY_LOCAL_MACHINE\SOFTWARE\ORL /f
REG DELETE HKEY_LOCAL_MACHINE\SOFTWARE\UltraVnc /f
REG DELETE HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\Eventlog\Application\UltraVnc /f
RD /S /Q "%ProgramFiles%\UltraVNC"
RD /S /Q "%APPDATA%\UltraVNC"
SC DELETE "winvnc"
XCOPY "\\server\UltraVNC\Rev2\ultravnc.ini" "C:\Program files\UltraVNC\" /C /Q /Y
XCOPY "\\server\UltraVNC\Rev2\driver\*.*" "C:\Program files\UltraVNC\driver\" /C /Q /Y
XCOPY "\\server\UltraVNC\Rev2\UltraVNC.exe" "C:\TEMP\" /C /Q /Y
XCOPY "\\server\UltraVNC\Rev2\UltraVNC.inf" "C:\TEMP\" /C /Q /Y
START "" /wait "C:\Program files\UltraVNC\driver\setupdrv.exe" installs
START "" /wait C:\TEMP\UltraVNC.exe /norestart /verysilent /loadinf="C:\TEMP\UltraVNC.inf" /log
DEL /F /Q C:\TEMP\UltraVNC.exe
DEL /F /Q C:\TEMP\UltraVNC.inf
NET STOP "uvnc_service"
NET START "uvnc_service"
and our inf-file looks like this:
[Setup]
Lang=en
Dir=C:\Program Files\UltraVNC
Group=UltraVNC
NoIcons=1
SetupType=full
Components=ultravnc_server
Tasks=installservice,startservice
When i run the bat-file manually it pops up with window that downloads something, but everythings works fine afterwards. But when I run it from our SCCM server, it uninstalls the old version, kill the services, copies the files to the computer and start the installation of 1.0.9.5, but the it never succed. What have i done wrong? or is there a easier way to uninstall our old UVNC and install the new one unattended?
After more 1 000 000 (one million) views on forum for 1.5.0.x development versions... and 1.6.0.0 version
A new stable version, UltraVNC 1.6.1.0 and UltraVNC SC 1.6.1.0 have been released: https://forum.uvnc.com/viewtopic.php?t=38080
Feedback is welcome
Celebrating the 22th anniversary of the UltraVNC (25th anniversary since the laying of the foundation stone): https://forum.uvnc.com/viewtopic.php?t=38031
Important: Please update to latest version before to create a reply, a topic or an issue: https://forum.uvnc.com/viewtopic.php?t=37864
Forum password change request: https://forum.uvnc.com/viewtopic.php?t=38078
Development: UltraVNC development is always here... Any help is welcome.
A new development version, UltraVNC 1.6.3.0-dev has been released, please test it: https://forum.uvnc.com/viewtopic.php?t=38091
Feedback is welcome
Join us on social networks and share our announcements:
- Website: https://uvnc.com/
- GitHub: https://github.com/ultravnc
- Mastodon: https://mastodon.social/@ultravnc
- Bluesky/AT Protocol: https://bsky.app/profile/ultravnc.bsky.social
- Facebook: https://www.facebook.com/ultravnc1
- X/Twitter: https://x.com/ultravnc1
- Reddit community: https://www.reddit.com/r/ultravnc
- OpenHub: https://openhub.net/p/ultravnc
A new stable version, UltraVNC 1.6.1.0 and UltraVNC SC 1.6.1.0 have been released: https://forum.uvnc.com/viewtopic.php?t=38080
Feedback is welcome
Celebrating the 22th anniversary of the UltraVNC (25th anniversary since the laying of the foundation stone): https://forum.uvnc.com/viewtopic.php?t=38031
Important: Please update to latest version before to create a reply, a topic or an issue: https://forum.uvnc.com/viewtopic.php?t=37864
Forum password change request: https://forum.uvnc.com/viewtopic.php?t=38078
Development: UltraVNC development is always here... Any help is welcome.
A new development version, UltraVNC 1.6.3.0-dev has been released, please test it: https://forum.uvnc.com/viewtopic.php?t=38091
Feedback is welcome
Join us on social networks and share our announcements:
- Website: https://uvnc.com/
- GitHub: https://github.com/ultravnc
- Mastodon: https://mastodon.social/@ultravnc
- Bluesky/AT Protocol: https://bsky.app/profile/ultravnc.bsky.social
- Facebook: https://www.facebook.com/ultravnc1
- X/Twitter: https://x.com/ultravnc1
- Reddit community: https://www.reddit.com/r/ultravnc
- OpenHub: https://openhub.net/p/ultravnc
Install UVNC via SCCM
Re: Install UVNC via SCCM
SC STOP "uvnc_service"
this winvnc.exe line not exist in services.msc except version uvnc before 1.0.3
SC DELETE "winvnc"
this winvnc.exe line not exist in services.msc except version uvnc before 1.0.3
SC DELETE "winvnc"
UltraVNC 1.0.9.6.1 (built 20110518)
OS Win: xp home + vista business + 7 home
only experienced user, not developer
OS Win: xp home + vista business + 7 home
only experienced user, not developer
Re: Install UVNC via SCCM
We are upgrading from a VNC version 1.0.2. So thats why
.

Re: Install UVNC via SCCM
Is there another way to install UVNC via SCCM?
Re: Install UVNC via SCCM
I recommend creating a custom EXE or MSI and then deploying it from SCCM. See the following for more information:
[topic=17101][/topic]
[post=68215][/post]
[topic=17587][/topic]
[topic=17101][/topic]
[post=68215][/post]
[topic=17587][/topic]