everwicked Posted November 25, 2009 Posted November 25, 2009 (edited) Hello,I've followed this guide: http://www.msfn.org/board/integrate-vnc-in...all-t44483.html to install the RealVNC server on my WinPE image and yet it doesn't seem to work.I've configured a static IP address for my LAN using netsh from startnet.cmd (after wpeinit) and ipconfig /all reports the IP fine and:- I can ping other boxes from WinPE- WinPE does NOT respond to ping- I can use VNC viewer from WinPE to connect to other boxesBut, I CANNOT use VNC viewer to connect TO WinPE. It's almost like there is a firewall or a service that accepting incoming connections is missing.Any ideas??Thanks Edited November 25, 2009 by everwicked
everwicked Posted November 25, 2009 Author Posted November 25, 2009 I've just spotted this thread: http://www.msfn.org/board/lofiversion/index.php/t13372.htmlAll the clients install successfully but running netcfg -c -s -i MS_Server (which I assume is what I need) fails with error 0x800f0203
cluberti Posted November 25, 2009 Posted November 25, 2009 That's a rather odd error:# for hex 0x800f0203 / decimal -2146500093 : SPAPI_E_NO_DRIVER_SELECTED winerror.h# There is no driver selected for the device information set# or element.# 1 matches found for "0x800f0203"
everwicked Posted November 25, 2009 Author Posted November 25, 2009 Very true... any ideas on how to fix it? Surely someone has made networking work with the Win7 AIK?
everwicked Posted November 25, 2009 Author Posted November 25, 2009 It looks like Win7Rescue manages to make the MS_Server service install and run! Any WinBuilder wizards could share with us how it does it?
quantumriff Posted November 25, 2009 Posted November 25, 2009 have you tried: "wpeutil DisableFirewall"I had several problems in WinPE 3.0, until I found that the firewall is enabled by default. I put that line in my startnet.cmd
Tripredacus Posted November 26, 2009 Posted November 26, 2009 have you tried: "wpeutil DisableFirewall"I had several problems in WinPE 3.0, until I found that the firewall is enabled by default. I put that line in my startnet.cmdFYI, Firewall is enabled by default in WinPE 2.x as well.
everwicked Posted November 26, 2009 Author Posted November 26, 2009 have you tried: "wpeutil DisableFirewall"I had several problems in WinPE 3.0, until I found that the firewall is enabled by default. I put that line in my startnet.cmdFYI, Firewall is enabled by default in WinPE 2.x as well.You guys rock!RealVNC will refuse to work in Service mode and disabling the firewall + user-mode works a charm!
Jazkal Posted December 1, 2009 Posted December 1, 2009 (edited) You guys rock!RealVNC will refuse to work in Service mode and disabling the firewall + user-mode works a charm!Did you get it working? If so, can you give us a step by step? Edited December 1, 2009 by Jazkal
everwicked Posted December 3, 2009 Author Posted December 3, 2009 You guys rock!RealVNC will refuse to work in Service mode and disabling the firewall + user-mode works a charm!Did you get it working? If so, can you give us a step by step?I don't have my script to hand to just copy/paste it but it's very easy.Just download/install RealVNC on a computer and grab the winvnc4.exe and whatever .dlls it has - you don't need the viewer.exe or the config.exe. Copy them to a folder on your WinPE CD. Finally run winvnc /? and it will show you a list of parameters - specify a port number and password. The password has to be in the same binary format that it's stored in the registry so create a password on your machine and check HKLM/Software/RealVNC - just type in the numbers into the command line without the commas.That's all really. Remember to run the disablefirewall command posted above before any of this. Let me know if you struggle somewhere.
Jazkal Posted December 3, 2009 Posted December 3, 2009 I don't have my script to hand to just copy/paste it but it's very easy.Just download/install RealVNC on a computer and grab the winvnc4.exe and whatever .dlls it has - you don't need the viewer.exe or the config.exe. Copy them to a folder on your WinPE CD. Finally run winvnc /? and it will show you a list of parameters - specify a port number and password. The password has to be in the same binary format that it's stored in the registry so create a password on your machine and check HKLM/Software/RealVNC - just type in the numbers into the command line without the commas.That's all really. Remember to run the disablefirewall command posted above before any of this. Let me know if you struggle somewhere.I have all the files for VNC copied to X:\Windows\System32\winvnc4.exewm_hooks.dlllogmessages.dllI then run:wpeinit.exe DisableFirewallThen I run:winvnc4.exe PortNumber=5900 Password=xxxxxxxxxxxxxxxIt runs in User-Mode and waits.But all attemts to connect to the box fails.
everwicked Posted December 3, 2009 Author Posted December 3, 2009 Did you set a valid IP address with netsh?Also try to vncviewer 127.0.0.1 and see if that works.And also try a different port number, I think the default port didn't work for me for whatever reason - I used 5000.Let me know how it goes!
Jazkal Posted December 7, 2009 Posted December 7, 2009 Did you set a valid IP address with netsh?Also try to vncviewer 127.0.0.1 and see if that works.And also try a different port number, I think the default port didn't work for me for whatever reason - I used 5000.Let me know how it goes!Yes, I have a valid IP for WinPE via DHCP.using this command line:vncviewer.exe 127.0.0.1::5000 worksBut I can still not access it remotely. Firewall is off, what else could be blocking it?
allanf Posted December 7, 2009 Posted December 7, 2009 I then run:wpeinit.exe DisableFirewallIs that a typo?Should be "wpeutil DisableFirewall".
everwicked Posted December 7, 2009 Author Posted December 7, 2009 I then run:wpeinit.exe DisableFirewallIs that a typo?Should be "wpeutil DisableFirewall".Good point! Also make sure you can ping both ends from the other end.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now