Jump to content

Can't get VNC working on WinPE 3.0


everwicked

Recommended Posts

  • 4 months later...

There is nothing in the registry.

It is under HKCU\Software\RealVNC

I got the same issue and now it works.

You should run VNC (user mode) in your PC, configure portnumber, password (ex: 5000, 1) and copy the above key.

Copy exe and dll files inside the VNC folders into system32 of WinPE3.

import the key using reg in WinPE3 then start winvnc4, it will hang there waiting for connection.

from your PC, type vnviewer 10.10.1.1::5000 , a box appear, type password 1 ( I do not see a need of hex or binary).

that is it.

Not sure if you solved it or not.

Just hope it help as I got help from others.

:hello:

Link to comment
Share on other sites

  • 2 weeks later...

I'm running 64bit WinPE so I can install Windows Server 2008 R2 (which only comes in 64bit flavors). When I run winvnc4.exe, I get the error:

"The subsystem needed to support the image type is not present."

I've looked around for a few minutes, but haven't found anything useful yet.

Are you guys getting this to work in 64bit WinPE?

Link to comment
Share on other sites

I'm running 64bit WinPE so I can install Windows Server 2008 R2 (which only comes in 64bit flavors). When I run winvnc4.exe, I get the error:

"The subsystem needed to support the image type is not present."

I've looked around for a few minutes, but haven't found anything useful yet.

Are you guys getting this to work in 64bit WinPE?

Win PE x64 does not have a 32bit emulator. Any assemblies used must be x64 ONLY. I do not see a 64bit native VNC to download on their site.

Link to comment
Share on other sites

Ya, that was my sad conclusion. However, I wasn't satisfied. I knew there were other VNC Servers to use, and I knew that UltraVNC was the first to support Vista/7 machines, which is why I still use UltraVNC on my machines at home.

So here's how I was able to get UltraVNC to work properly in WinPE.

Download the .zip file with binaries: X64 bins 1.0.8.2 Full

Extract to your favorite location. The only files you need from the zip are:

vnchooks.dll
winvnc.exe

Then you need a new file called 'ultravnc.ini'

[Permissions]
[admin]
[ultravnc]
passwd=142EBA5011866EF243
passwd2=142EBA5011866EF243
[poll]
TurboMode=1
PollUnderCursor=0
PollForeground=1
PollFullScreen=0
OnlyPollConsole=0
OnlyPollOnEvent=1
MaxCpu=40
EnableDriver=0
EnableHook=1
EnableVirtual=0
SingleWindow=0
SingleWindowName=

Unfortunately I don't have a good way to tell you how to generate the password. I'm also looking into a password-less setup. I'll post an update when I do. I generated this password when I installed the VNCServer on my machine, to steal the ultravnc.ini file.

Put all 3 in any folder you want, and execute '<path>\winvnc.exe -install' . I've had success running from a network share (ie: Y:\Boot\custom_winpe_files\winvnc.exe -install) as well. You can pack these into your winpe.wim file if you care:

imagex /mountrw C:\winpe_amd64\winpe.wim 1 C:\winpe_amd64\mount
copy /Y C:\Boot\custom_WinPE_files\uvnc\* c:\winpe_amd64\mount\Windows\System32\
Imagex /unmount /commit c:\winpe_amd64\mount

There's lots of stuff you can put into your ultravnc.ini. Here's a link to their documentation: ultravnc.ini

Edited by kai4785
Link to comment
Share on other sites

Ok, got it, here's my new ultravnc.ini file:

[Permissions]
[admin]
AuthRequired=0
HTTPConnect=0
[ultravnc]
[poll]
TurboMode=1
PollUnderCursor=0
PollForeground=1
PollFullScreen=0
OnlyPollConsole=0
OnlyPollOnEvent=1
MaxCpu=40
EnableDriver=0
EnableHook=1
EnableVirtual=0
SingleWindow=0
SingleWindowName=

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...