Celebrating the 22th anniversary of the UltraVNC: https://forum.uvnc.com/viewtopic.php?t=38031
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
- 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

Video driver installation fails

Post Reply
nikeshpatel
Posts: 2
Joined: 2004-11-24 14:40

Video driver installation fails

Post by nikeshpatel »

I am attempting to install the video drivers on a Windows 2000 machine using the "install" command in command prompt but am not having any luck. UltraVNC Viewer installs and works without issue but when I install the video driver I receive the error "Driver installation failed".

I have not been able to successfully install this on two separate Windows 2000 Pro machines.

What am I doing wrong please?

Cheers.
Guest

Post by Guest »

I get the same error message when using

"setupdrv.exe install"

error message

"Driver installation failed"

both on my XP sp2 machine and on my windows 2000 server.
Guest

Post by Guest »

try and unpack the files to c:\drv\

or some "shorter" directory, the installer cant handle subdirectories or loing directories well ...

that solved my problem
nikeshpatel
Posts: 2
Joined: 2004-11-24 14:40

Post by nikeshpatel »

Thanks Guest!

In the end, I had to move the driver to the root of C:. Having it located anywhere higher caused failiure.
djimenez
Posts: 5
Joined: 2004-08-23 16:11
Contact:

Post by djimenez »

I tried this as well, but even with the files in c:\ I get a very vuage installation failed.
Dude
Posts: 1
Joined: 2005-01-13 12:55

Post by Dude »

I have the same Problem....whats the Problem with this ?
noobiedoo

Can't install video driver

Post by noobiedoo »

How do you get this thing to install?
Guest

Post by Guest »

I had the same problem you all had. I am running WinXP SP2. I finally got it work by putting the setupdrv.exe and the Driverupgrade folder in c:\ and then typed "setupdrv install". It worked then. It did not work when I typed "setupdrv.exe install" or any other combo. I was very frustrated as well but this seemed to have worked. Hope it works for you too.

-Adam Reiswig
Guest

Post by Guest »

stupid emot icons. That was supposed to be c:\...
noobiedoo

video driver

Post by noobiedoo »

I'm stuck. I can't get the video driver to install on my windows XP SP2 host pc. I've unzipped all the files to the C: drive, but I still get "driver installation failed" message. Are there any other ideas on how to install the video driver? I don't have any previous versions installed and I do have the latest version. Somebody please help.
redge
1000
1000
Posts: 6797
Joined: 2004-07-03 17:05
Location: Switzerland - Geneva

Post by redge »

everyone use UltraVNC RC19.5 + patch RC19.7 ?

if not, try again with this
UltraVNC 1.0.9.6.1 (built 20110518)
OS Win: xp home + vista business + 7 home
only experienced user, not developer
noobiedoo

Post by noobiedoo »

Ok, I upgraded to test version 19.5 which does work faster. But I still cannot install the video driver. Also, where can I get patch 19.7? And why won't the video driver install?
redge
1000
1000
Posts: 6797
Joined: 2004-07-03 17:05
Location: Switzerland - Geneva

Post by redge »

http://gotovnc.dynalias.com/rc197

try
C:\program files\ultravnc\driver\install_silent.bat
but you see nothing...(no pop-up)
but you can check if installed:
  • start...control panel... system...hardware...device manager..display adapter...WinVNC Video hook driver
    i would be active only when viewer connect to winvnc server !
  • right click on winvnc..lef click Properties...Check the Video Hook Driver
    ....
    ....
    ....
    Driver EXIST
    Communication service EXIST
    Driver current not ACTIVE
some antivirus software can brokenl driver install !
UltraVNC 1.0.9.6.1 (built 20110518)
OS Win: xp home + vista business + 7 home
only experienced user, not developer
noobiedoo

Post by noobiedoo »

Thanks a lot!!! The problem was with Norton AntiVirus. Once I disabled it, then the install worked using the install.bat!
Guest

Video driver installation fails

Post by Guest »

I don't know if anyone is interested but I have created for my own benefit some detailed documentation on how to install the video driver for rc18 on Windows XP SP2 - based on what I have gleaned from this dialog and some experimentation:

To install/uninstall UltraVNC RC18 video driver on Windows XP SP2 (Pro & Home):

Note: only need to install on the server, not the viewer.

INSTALL

(1) Use Windows Explorer to copy c:\...\setupdrv.exe to c:\setupdrv.exe
(2) Use Windows Explorer to copy c:\...\driverupgrade to c:\driverupgrade
(3) Turn off all virus protection.
(4) Launch the command prompt then key:

chdir c:\
setupdrv install

(5) Screen may go blank temporarily then should get a box stating:

Driver Service installed, will be activated after reboot

Click OK

(6) Turn on all virus protection
(7) Reboot
(8) To check driver installed OK:

Control Panel
System
Hardware
Device Manager
Display adapters
(double click) Winvnc video hook driver

(9) Use Windows Explorer to delete c:\setupdrv.exe and c:\driverupgrade

UNINSTALL

(1) Close down UltraVNC service
(2) To uninstall driver:

Control Panel
System
Hardware
Device Manager
Display adapters
(right click) Winvnc video hook driver
Uninstall
Click OK
Click Yes to reboot
frekin

How can I tell if the video driver is working?

Post by frekin »

I can access the remote computer via vnc. The driver appears to be installed properly, as shown in the device manager. However, if I right-click the vnc icon on the remote computer (i.e. through the remote session) and check the properties, a test of the video reveals:

Driver EXIST
Communication server EXIST
Driver current not ACTIVE

I am using WinXPSP2 and RC19.5 on both machines

Does that last line mean that the video hook driver is not operating during the remote session, or am I misunderstanding the text. What should the last line say when the driver is functioning properly and is active?

The only reason I'm asking is that the connection seems very slow over my LAN connection, and the vnc server machine has no virus checker or other stuff running in the background.
redge
1000
1000
Posts: 6797
Joined: 2004-07-03 17:05
Location: Switzerland - Geneva

Post by redge »

did you have a CPU Intel with Hypertreading (HT) ?
UltraVNC 1.0.9.6.1 (built 20110518)
OS Win: xp home + vista business + 7 home
only experienced user, not developer
Guest

Post by Guest »

Actually, UltraVNC is running on an old Pentium laptop. Does the graphic driver require hyperthreading?
redge
1000
1000
Posts: 6797
Joined: 2004-07-03 17:05
Location: Switzerland - Geneva

Post by redge »

Does the graphic driver require hyperthreading?
No

the screen Check the Video Hook Driver
must be closed and open again to see any change (is not live update)
UltraVNC 1.0.9.6.1 (built 20110518)
OS Win: xp home + vista business + 7 home
only experienced user, not developer
Guest

Post by Guest »

I'm having the exact same problem, it doesn't matter how many times I open and close it. It says everything is fine, but that the driver is not active. The funny thing is that it used to work fine, I can't figure out what is going on.
User avatar
Rudi De Vos
Admin & Developer
Admin & Developer
Posts: 6883
Joined: 2004-04-23 10:21
Contact:

Post by Rudi De Vos »

Driver active : You can only have this while a connection with the viewer is active.

When driver and communication service are installed, winvnc
needs to be able to activate the driver.
If the user has limited registry access and you run winvnc as application, you need to change the registry key access to allow that user to activate the driver.

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Hardware Profiles\Current\System\CurrentControlSet\SERVICES\vncdrv\DEVICE0]
Guest

Post by Guest »

Rudi De Vos wrote:Driver active : You can only have this while a connection with the viewer is active.

When driver and communication service are installed, winvnc
needs to be able to activate the driver.
If the user has limited registry access and you run winvnc as application, you need to change the registry key access to allow that user to activate the driver.

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Hardware Profiles\Current\System\CurrentControlSet\SERVICES\vncdrv\DEVICE0]
I know the viewer has to be active, my user account is administrator. What do I need to change under that section of the registry?
User avatar
Rudi De Vos
Admin & Developer
Admin & Developer
Posts: 6883
Joined: 2004-04-23 10:21
Contact:

Post by Rudi De Vos »

Winvnc put the Attach.ToDesktop to 1(on) 0(off) before
executing the ChangeDisplaySettings function.

As administrator you always have enough access, strange.

Try to put manual the Attach.ToDesktop to 1 and check that it make any difference.

Winvnc logging ? anything special in it about the driver activation
Post Reply