Update: UltraVNC 1.4.3.6 and UltraVNC SC 1.4.3.6: https://forum.uvnc.com/viewtopic.php?t=37885
Important: Please update to latest version before to create a reply, a topic or an issue: https://forum.uvnc.com/viewtopic.php?t=37864

Join us on social networks and share our announcements:
- Website: https://uvnc.com/
- GitHub: https://github.com/ultravnc
- Mastodon: https://mastodon.social/@ultravnc
- 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

Need help with remote installs

Post Reply
DC

Need help with remote installs

Post by DC »

We are currently using Faspush to install VNC on remote machines. Its working ok, but I have heard of another program called vncspread. Does anyone have any comments on which one is better or like more?

Also when using Fastpush, I have added the latest version of Ultr@, but once I am done installing I get an error message telling mye my video drivers have not been installed, is there a way I can script the drivers so that the vid drivers get installed? Also I would like to start off using MS login mode to log into VNC after using fastpush, does anyone know how I can set it up so it does use the MSlogin for accessing the VNC machines instead of password?


TIA,
DC
Guest

Post by Guest »

I added the new dll files for the latest version of Ultr@ to my fastpush install folder. After doing an install I can connect to the remote machine, it asks for my pw, when I put in my pw, it then automatically reboots the remote machine not allowing me to connect to it. Any ideas why it is doing that?

Thanks
prandal
20
20
Posts: 36
Joined: 2004-06-08 15:24

Post by prandal »

I'm pushing out UltraVNC (without video driver) using FastPush. I had to modify the fastpush script to copy all the relevant files for ultravnc. I used the Windows Resource kit's reg.exe to export the registry keys involved to put in the default settings (hint, use regedit to search for both ORL and UltraVNC - the MS authentication is found under the latter). You could install the video driver via fastpush too, but you're going to need to reboot the box after install for it to work.
mendingo
Posts: 4
Joined: 2004-06-30 09:22

Post by mendingo »

Any chance you could post your modified Fastpush script and reg-settings here?

Have you fastpushed the video driver? If so, could you post that script too?

Thanks.

DC - Could you tell us a bit more about vncspread? A google search for it came up empty.
dcslick
Posts: 3
Joined: 2004-06-08 16:14
Location: Scottsdale

Post by dcslick »

prandal
20
20
Posts: 36
Joined: 2004-06-08 15:24

Post by prandal »

mendingo wrote:Any chance you could post your modified Fastpush script and reg-settings here?

Have you fastpushed the video driver? If so, could you post that script too?

Thanks.

DC - Could you tell us a bit more about vncspread? A google search for it came up empty.
I'd love to, but... The key thing is to copy all the files, not just some of them. Not sure why fastpush doesn't copy *.* in the first place... If I remember I'll look up the common registry settings when I'm back at work on Monday and post them here.

I haven't tried intalling the video driver remotely - that's too risky for me.
prandal
20
20
Posts: 36
Joined: 2004-06-08 15:24

Post by prandal »

prandal wrote:
mendingo wrote:Any chance you could post your modified Fastpush script and reg-settings here?

Have you fastpushed the video driver? If so, could you post that script too?

Thanks.

DC - Could you tell us a bit more about vncspread? A google search for it came up empty.
I'd love to, but... The key thing is to copy all the files, not just some of them. Not sure why fastpush doesn't copy *.* in the first place... If I remember I'll look up the common registry settings when I'm back at work on Monday and post them here.

I haven't tried intalling the video driver remotely - that's too risky for me.
The changes to the fastpush vnc.cmd script are trivial. We use version 7 of fastpush, but the concepts are the same - edit so these code snippets are in the appropriate places (note code here includes bits already in the script so you can find where to put it easily).

Code: Select all

set test=/ultra
for /f "tokens=* delims= " %%p in ('echo %1%2%3%4%5%6%7%8%9^|find /i /c "%test%"') do @set pv=%%p
if "%pv%"=="1" echo VNC command switch of %test% will be used. & set flav=%test%&goto fchoice
and

Code: Select all

:: james edwards - copycmd=/y is shorter than the reg checking.
set copycmd=/y

xcopy "%currentpath%\%flav%\v*.dll" %targetpath% /f /r /v %nt%
xcopy "%currentpath%\%flav%\w*.*" %targetpath% /f /r /v %nt%
if exist "%currentpath%\%flav%\oth*.dll" xcopy "%currentpath%\%flav%\oth*.dll" %targetpath% /f /r /v %nt%
if exist "%currentpath%\%flav%\om*.dll" xcopy "%currentpath%\%flav%\om*.dll" "\\%targetpc%\%remotetarget%$\%folder%\system32" /f /r /v %nt%
if exist "%currentpath%\%flav%\l*.dll" xcopy "%currentpath%\%flav%\l*.dll"  %targetpath% /f /r /v %nt%
if exist "%currentpath%\%flav%\u*.dll" xcopy "%currentpath%\%flav%\u*.dll"  %targetpath% /f /r /v %nt%
if exist "%currentpath%\%flav%\z*.dll" xcopy "%currentpath%\%flav%\z*.dll"  %targetpath% /f /r /v %nt%

:: AD authenticated DLLs for UltraVNC
echo AD
if exist "%currentpath%\%flav%\au*.dll" xcopy "%currentpath%\%flav%\au*.dll"  %targetpath% /f /r /v %nt%
For MS-Logon authentication fastpush\common\machine.ini is like this. Use reg.exe to export the mslogon registry parameters in the correct format:

Code: Select all

\registry\machine\Software\UltraVNC\mslogon
        group1 = REG_BINARY 0x000000fe 0x???????? 0x???????? 0x???????? \
                 0x???????? 0x00000000 0x00000000 0x00000000 0x00000000 \
                 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 \
                 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 \
                 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 \
                 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 \
                 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 \
                 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 \
                 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 \
                 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 \
                 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 \
                 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 \
                 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 \
                 0x00000000
        group2 = REG_BINARY 0x000000fe 0x???????? 0x???????? 0x???????? \
                 0x???????? 0x00000000 0x00000000 0x00000000 0x00000000 \
                 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 \
                 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 \
                 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 \
                 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 \
                 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 \
                 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 \
                 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 \
                 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 \
                 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 \
                 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 \
                 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 \
                 0x00000000
        group3 = REG_BINARY 0x000000fe 0x???????? 0x???????? 0x???????? \
                 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 \
                 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 \
                 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 \
                 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 \
                 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 \
                 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 \
                 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 \
                 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 \
                 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 \
                 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 \
                 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 \
                 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 \
                 0x00000000
        locdom1 = REG_DWORD 0x00000001
        locdom2 = REG_DWORD 0x00000001
        locdom3 = REG_DWORD 0x00000000

\registry\machine\software\orl\winvnc3\default
    AllowProperties = REG_DWORD 0x00000000
    AllowShutdown = REG_DWORD 0x00000000
    AutoPortSelect = REG_DWORD 0x00000001
    InputsEnabled = REG_DWORD 0x00000001
    OnlyPollConsole = REG_DWORD 0x00000001
    OnlyPollOnEvent = REG_DWORD 0x00000000
    Password = REG_BINARY 0x00000008 0x???????? 0x????????
    PollForeground = REG_DWORD 0x00000001
    PollFullScreen = REG_DWORD 0x00000001
    PollUnderCursor = REG_DWORD 0x00000001
    SocketConnect = REG_DWORD 0x00000001\registry\machine\software\orl\winvnc3

\registry\machine\software\orl\winvnc3
    AllowLoopback = REG_DWORD 0x00000000
    DebugLevel = REG_DWORD 0x00000000
    DebugMode = REG_DWORD 0x00000000
    DisableTrayIcon = REG_DWORD 0x00000001
    MSLogonRequired = REG_DWORD 0x00000001
    UseDSMPlugin = REG_DWORD 0x00000000
    DSMPlugin = REG_BINARY 0x00000100 0x85849d00 0x0000002e 0x86171888 \
                0x00000000 0x86171800 0xf4415a28 0xe1006808 0xf4415d44 \
                0x804eb3a1 0x804f3908 0xffffffff 0x8057bf1f 0x80573600 \
                0x86171888 0xf4415b8d 0x857a4ba0 0x861a8bf0 0xf4415ba8 \
                0x805721b1 0x0003b3e8 0x00000000 0x00000040 0x00000003 \
                0x85829368 0x85829380 0x85829368 0x8582936c 0x861acca0 \
                0x80572d71 0x001f03ff 0x861acca0 0x00000000 0x00375218 \
                0x00000001 0x00000000 0x00000000 0x00000000 0x000004ea \
                0x85829380 0x80576cb0 0xe36df690 0x00000418 0x857a4ba0 \
                0x001f0003 0xe36df690 0xbb40e64e 0x00bbfb58 0x85829368 \
                0x00bbff54 0x77c78cc0 0x77c591c8 0xffffffff 0x77ce65f0 \
                0x00000000 0x00375508 0x00000000 0x00376570 0x007a00b8 \
                0x00000054 0x00000000 0x00000000 0x007b97f4 0x00000197 \
                0x0000014d


\registry\users\.default\software\orl
    VNCHooks
        Application_Prefs
            CALC.EXE
                use_GetUpdateRect = REG_DWORD 0x00000001
                use_Timer = REG_DWORD 0x00000000
                use_KeyPress = REG_DWORD 0x00000000
                use_LButtonUp = REG_DWORD 0x00000000
                use_Deferral = REG_DWORD 0x00000001
            CLOCK.EXE
                use_GetUpdateRect = REG_DWORD 0x00000001
                use_Timer = REG_DWORD 0x00000001
                use_KeyPress = REG_DWORD 0x00000000
                use_Deferral = REG_DWORD 0x00000001

                use_LButtonUp = REG_DWORD 0x00000000
            explorer.exe
                use_GetUpdateRect = REG_DWORD 0x00000001
                use_Timer = REG_DWORD 0x00000000
                use_KeyPress = REG_DWORD 0x00000001
                use_Deferral = REG_DWORD 0x00000001
                use_LButtonUp = REG_DWORD 0x00000000
                use_MButtonUp = REG_DWORD 0x00000001
                use_RButtonUp = REG_DWORD 0x00000001
            iexplore.exe
                use_GetUpdateRect = REG_DWORD 0x00000001
                use_Timer = REG_DWORD 0x00000000
                use_KeyPress = REG_DWORD 0x00000001
                use_Deferral = REG_DWORD 0x00000001
                use_LButtonUp = REG_DWORD 0x00000001
            mspaint.exe
                use_GetUpdateRect = REG_DWORD 0x00000001
                use_Timer = REG_DWORD 0x00000000
                use_KeyPress = REG_DWORD 0x00000001
                use_LButtonUp = REG_DWORD 0x00000001
                use_Deferral = REG_DWORD 0x00000001
            NOTEPAD.EXE
                use_GetUpdateRect = REG_DWORD 0x00000001
                use_Timer = REG_DWORD 0x00000000
                use_KeyPress = REG_DWORD 0x00000001
                use_Deferral = REG_DWORD 0x00000001
                use_LButtonUp = REG_DWORD 0x00000001
                use_MButtonUp = REG_DWORD 0x00000001
                use_RButtonUp = REG_DWORD 0x00000001
            winlogon.exe
                use_GetUpdateRect = REG_DWORD 0x00000001
                use_Timer = REG_DWORD 0x00000000
                use_KeyPress = REG_DWORD 0x00000001
                use_LButtonUp = REG_DWORD 0x00000001
                use_MButtonUp = REG_DWORD 0x00000001
                use_RButtonUp = REG_DWORD 0x00000001
                use_Deferral = REG_DWORD 0x00000001
[/code]
bradm
Posts: 5
Joined: 2004-05-24 22:24
Location: Visalia, Ca

How do you do a remote install of the mirror driver.

Post by bradm »

I would like to try and do a remote install of the mirror driver, I've spent a hour or two on google trying to figure out if I can do a remote install of the inf, but to no avial. Can someone point me in the right direction or how do do it. Thanks I'd like to roll it out to about 50 computers. here what I have so far. I inserted this line into the pushinstall vnc7.

if exist "%currentpath%\%flav%\mirrordriver" xcopy "%currentpath%\%flav%\mirrordriver\*.*" %targetpath% /f /r /v %nt%

I though about using psexec.exe by sysinternals, but they don't have administative access to install the driver. thanks
Brad
User avatar
Oliver
Site-Admin
Site-Admin
Posts: 532
Joined: 2004-04-21 23:04
Location: Frankfurt am Main
Contact:

Post by Oliver »

dcslick wrote:This is where I found vncspread

http://ftp.erm.tu-cottbus.de/freeware/vncspread.cmd
*giggle* have you ever wondered why the driver-download is at the same site? No? ... I am proud to know one of the two authors :-D ... they promised there will be a new version someday in future (let's hope still in this decade) :-D
Oliver

How to Report Bugs Effectively
My homepage | WinDirStat
PGP-keys:
  • Forum or UltraVNC-related: 0xA2DD1DBD, E18B 2E2F 4F3E D143 4ED4 3E2B E172 FB55 A2DD 1DBD
  • Other matters: 0x0E88590F, 38B5 5EBA A470 C0F7 0942 81B8 C779 D829 0E88 590F
Polet
Friend of UVNC
Friend of UVNC
Posts: 11
Joined: 2004-05-03 10:03
Contact:

Re: How do you do a remote install of the mirror driver.

Post by Polet »

bradm wrote:I though about using psexec.exe by sysinternals, but they don't have administative access to install the driver
Which system do you use? On Windows 2000/XP psexec can be executed in the context of any user.

Sergey
Per Aspera Ad Astra
bradm
Posts: 5
Joined: 2004-05-24 22:24
Location: Visalia, Ca

Need help with remote installs

Post by bradm »

window 2000/xp, I can't use rundll32 because it's a device install, and psexec doesn't seem to work with setupdrv, it's giving me the prompt for install / uninstall, any ideas? thanks
User avatar
Rudi De Vos
Admin & Developer
Admin & Developer
Posts: 6862
Joined: 2004-04-23 10:21
Contact:

Post by Rudi De Vos »

I'm trying to solve the driver issue by adding it as resource
in the winvnc, like the java viewer is added.

If winvnc is running as service, i should be able to extract the driver files and install the driver from the server.
Ex Nihilo

VNCspread

Post by Ex Nihilo »

VNCspread is nice! Now you just need to implement upgrade functionality that doesn't reboot the remote computer and hang VNCspread :D

Ex Nihilo
User avatar
Oliver
Site-Admin
Site-Admin
Posts: 532
Joined: 2004-04-21 23:04
Location: Frankfurt am Main
Contact:

Re: VNCspread

Post by Oliver »

Ex Nihilo wrote:VNCspread is nice! Now you just need to implement upgrade functionality that doesn't reboot the remote computer and hang VNCspread :D

Ex Nihilo
*g* ... I'll try to do that. Probably a rewrite with a real remote installer would be appropriate, but I am somewhat short with spare time currently :-D

@Rudi: Won't that be an issue because of the different licensing?

Oliver
Oliver

How to Report Bugs Effectively
My homepage | WinDirStat
PGP-keys:
  • Forum or UltraVNC-related: 0xA2DD1DBD, E18B 2E2F 4F3E D143 4ED4 3E2B E172 FB55 A2DD 1DBD
  • Other matters: 0x0E88590F, 38B5 5EBA A470 C0F7 0942 81B8 C779 D829 0E88 590F
Guest

Post by Guest »

what dlls should i add to ultra folder in fastpush for the latest version? I added them all and now it will install with no problem but when I go to connect to the remote box with Ultra it blue screens on me everytime, I think it blue screens because of issues with the graphic drivers maybe because of the video hooks dll that gets installed, but this has happened on different machines. What could be the problem??

TIA
DC
Ex Nihilo

Post by Ex Nihilo »

DC, don't bother with fastpush, vncspread works wonderfully on any system that doesn't have a previous version of ultra(perhaps even any vnc?) installed, and it's much quicker to set up and get running.

Ex Nihilo
Guest

Post by Guest »

I would try VNCspread but I need to remove older versions of Ultra and VNC. Any other suggestions?

THANKS,
DC
bradm
Posts: 5
Joined: 2004-05-24 22:24
Location: Visalia, Ca

Post by bradm »

I use pushvnc without any problems, the only thing it lacks is the video driver support, and spread vnc doesn't do that at all. what's nice is that pushvnc install with reboot, or without them seeing anything on there computers. if you want I'll post my altred version of push vnc
Sir Nigel
20
20
Posts: 48
Joined: 2004-05-24 03:20
Location: Texas
Contact:

Post by Sir Nigel »

I would like your version. Please post. :D
This space not for rent.
Polet
Friend of UVNC
Friend of UVNC
Posts: 11
Joined: 2004-05-03 10:03
Contact:

VNCSpread & Driver

Post by Polet »

Actually Bradm is right. It's not possible to install video driver using psexec.exe from sysinternal.

But there is another solution for this problem:

As far as you remenber, the previous versions (up to RC14) of Ultr@VNC installer included driver installation. But sourceforge.net does not allow to host it :(

But it is possible to create installation package by yourself. For this you will need:
  1. 1. Binary distribution of Ultr@VNC
    2. Video Hook Driver
    3. InnoSetupCompiler
    4. Some free time
The procedure is as follows:
  1. 1. Unpack Ultr@VNC binaries
    2. Unpack the driver into the binaries folder
    3. Install InnoSetupCompiler (assosiate it with .iss files)
    4. Open .iss file from the folder
    5. Edit the file by adding the following code into the respective sections

Code: Select all

[Files]
Source: setupdrv.exe; DestDir: {app}; Components: server; Flags: ignoreversion
Source: driverupgrade\vnccom.sys; DestDir: {app}\driverupgrade\; Components: server; Flags: ignoreversion
Source: driverupgrade\vnchelp.dll; DestDir: {app}\driverupgrade\; Components: server; Flags: ignoreversion
Source: driverupgrade\VNCDRV.DLL; DestDir: {app}\driverupgrade\; Components: server; Flags: ignoreversion
Source: driverupgrade\vncdrv.inf; DestDir: {app}\driverupgrade\; Components: server; Flags: ignoreversion
Source: driverupgrade\vncdrv.sys; DestDir: {app}\driverupgrade\; Components: server; Flags: ignoreversion

[Dirs]
Name: {app}\driverupgrade

[Run]
Filename: {app}\setupdrv.exe; Description: Install Video Hook Driver; Flags: postinstall waituntilidle; Parameters: install; Components: server

[UninstallRun]
Filename: {app}\setupdrv.exe; Flags: nowait; Parameters: uninstall
  1. 6. Also you may need to change some parameters e.g. "OutputDir" or "Languages"
    7. Compile.
Now it is possible to use new installation with VNCSpread script as before. ;)
The only difference - you have to reboot.


Sergey
Last edited by Polet on 2004-07-13 05:17, edited 2 times in total.
Per Aspera Ad Astra
Polet
Friend of UVNC
Friend of UVNC
Posts: 11
Joined: 2004-05-03 10:03
Contact:

New VNCSpread

Post by Polet »

New version of VNCSpread is here: http://ftp.erm.tu-cottbus.de/freeware/vncspread_1.1.cmd :)

Sergey
Per Aspera Ad Astra
dcslick
Posts: 3
Joined: 2004-06-08 16:14
Location: Scottsdale

Post by dcslick »

what dlls should i add to ultra folder in fastpush for the latest version? I added them all and now it will install with no problem but when I go to connect to the remote box with Ultra it blue screens on me everytime, I think it blue screens because of issues with the graphic drivers maybe because of the video hooks dll that gets installed, but this has happened on different machines. What could be the problem??

TIA
DC
jrebeiro

Post by jrebeiro »

I am trying to do this with the current rc205 build... but there is no binary zip download. I am only able to find the setup builds. Anyone know where I can download the 205 binary build from? Or can someone post the .iss file used for the 205 or 203 release and I can pull the files from a computer where the software has been installed?
Marscha
Former moderator
Former moderator
Posts: 464
Joined: 2004-05-14 06:48

Post by Marscha »

Guest

Re: VNCSpread & Driver

Post by Guest »

Polet wrote:Actually Bradm is right. It's not possible to install video driver using psexec.exe from sysinternal.

But there is another solution for this problem:

As far as you remenber, the previous versions (up to RC14) of Ultr@VNC installer included driver installation. But sourceforge.net does not allow to host it :(

But it is possible to create installation package by yourself. For this you will need:
  1. 1. Binary distribution of Ultr@VNC
    2. Video Hook Driver
    3. InnoSetupCompiler
    4. Some free time
The procedure is as follows:
  1. 1. Unpack Ultr@VNC binaries
    2. Unpack the driver into the binaries folder
    3. Install InnoSetupCompiler (assosiate it with .iss files)
    4. Open .iss file from the folder
    5. Edit the file by adding the following code into the respective sections

Code: Select all

[Files]
Source: setupdrv.exe; DestDir: {app}; Components: server; Flags: ignoreversion
Source: driverupgrade\vnccom.sys; DestDir: {app}\driverupgrade\; Components: server; Flags: ignoreversion
Source: driverupgrade\vnchelp.dll; DestDir: {app}\driverupgrade\; Components: server; Flags: ignoreversion
Source: driverupgrade\VNCDRV.DLL; DestDir: {app}\driverupgrade\; Components: server; Flags: ignoreversion
Source: driverupgrade\vncdrv.inf; DestDir: {app}\driverupgrade\; Components: server; Flags: ignoreversion
Source: driverupgrade\vncdrv.sys; DestDir: {app}\driverupgrade\; Components: server; Flags: ignoreversion

[Dirs]
Name: {app}\driverupgrade

[Run]
Filename: {app}\setupdrv.exe; Description: Install Video Hook Driver; Flags: postinstall waituntilidle; Parameters: install; Components: server

[UninstallRun]
Filename: {app}\setupdrv.exe; Flags: nowait; Parameters: uninstall
  1. 6. Also you may need to change some parameters e.g. "OutputDir" or "Languages"
    7. Compile.
Now it is possible to use new installation with VNCSpread script as before. ;)
The only difference - you have to reboot.


Sergey
Post Reply