Update: UltraVNC 1.4.3.6 and UltraVNC SC 1.4.3.6: viewtopic.php?t=37885
Important: Please update to latest version before to create a reply, a topic or an issue: 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://twitter.com/ultravnc1
- Reddit community: https://www.reddit.com/r/ultravnc
- OpenHub: https://openhub.net/p/ultravnc

W8hook.dll

Post Reply
mace2442
8
8
Posts: 8
Joined: 2013-03-02 10:51

W8hook.dll

Post by mace2442 »

Is there any way to get hold of W8hook.dll without having to install a W8 system?
I need both the X64 and X86 Dll:s for testing against winpe 4.0 (based on win8) but i dont wan't to install two win 8 boxes just to get the DLL:s
mace2442
8
8
Posts: 8
Joined: 2013-03-02 10:51

Re: W8hook.dll

Post by mace2442 »

I finally tried to install the addon package in WinPE (running of a ramdrive) and it worked.
Now i got SChook.dll and W8hook.dll :)

W8hook.dll doesn't work under PE it seems. I can connect to the system but i get a black screen for 1-2 sec and then the Vncviewer just goes away.
Can you put any logging on the viewer?
User avatar
Rudi De Vos
Admin & Developer
Admin & Developer
Posts: 6832
Joined: 2004-04-23 10:21
Contact:

Re: W8hook.dll

Post by Rudi De Vos »

Does winpe has a full graphical driver.
W8hook use functions that only exist in wdm 1.2 drivers.

If winpe use a non wdm 1.2 graphical driver the w8hook will not work.
mace2442
8
8
Posts: 8
Joined: 2013-03-02 10:51

Re: W8hook.dll

Post by mace2442 »

Thanks for the info Rudi.

I do not believe that PE has a full driver. It's intended for setup and recovery of a windows installation, not to be one.
Since PE doesn't have a systray, I can't get to settings page of the server while running in PE. Therefore I can't see actual settings.
Having Schook.dll included works but i do not know if it's being used.

The background is that I'm developing a way to be able to remotely support/troubleshot failed installations.
MS has a solution for this but it costs a lot. I'm trying to do it a cheaper/free way but with maintained security.

So far i have a bootable PE image which will configure it's firewall to allow VNC connections and start VNC server with winvnc -install.
It uses the SecureVnc plugin for security so that works too.

Currently I'm trying to optimize it as much as I can (basic focus is text-based input, i.e. running a command windows on the remote system)
mace2442
8
8
Posts: 8
Joined: 2013-03-02 10:51

Re: W8hook.dll

Post by mace2442 »

This became even more interesting with the new server.
Now I get a picture for a second or two before the viewer goes away.
Shouldn't it say that it has lost the contact or was disconnected or so?

It just dies as it is now.

Edit:
Looking into it a little more it seems like the server resets the connection.
IT seems like WinPE has some WDDM1.2 support but I do think it is the limitations in the deafult driver that is causing the issue
User avatar
Rudi De Vos
Admin & Developer
Admin & Developer
Posts: 6832
Joined: 2004-04-23 10:21
Contact:

Re: W8hook.dll

Post by Rudi De Vos »

Does it continue if you reconnect the viewer ?
If the server session is switched ( like going from logon desktop to user desktop) viewer need to reconnect.
This can be done in background if the option is on ( viewer option reconnect)
mace2442
8
8
Posts: 8
Joined: 2013-03-02 10:51

Re: W8hook.dll

Post by mace2442 »

No. It just drops again
Post Reply