Jazkal Posted December 7, 2009 Share Posted December 7, 2009 That was my problem. thanks guys. Link to comment Share on other sites More sharing options...
Eagle710 Posted December 7, 2009 Share Posted December 7, 2009 (edited) I tried following everwicked's instructions but it wont work for me. I tried winvnc4 -start but a message about a the service not installed/exist came up. Am i missing something? I copied the Winvnc4.exe and the 3 other files to the same folder. This was not the System32 folder as indiciated above. Would this cause an issue? I am receiving a IP address via DHCP. Any ideas? Edited December 7, 2009 by Eagle710 Link to comment Share on other sites More sharing options...
everwicked Posted December 7, 2009 Author Share Posted December 7, 2009 I tried following everwicked's instructions but it wont work for me. I tried winvnc4 -start but a message about a the service not installed/exist came up. Am i missing something? I copied the Winvnc4.exe and the 3 other files to the WinPE image. I am receiving a IP address via DHCP. Any ideas?I think you followed the wrong set of instructions.See below.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. Link to comment Share on other sites More sharing options...
Eagle710 Posted December 7, 2009 Share Posted December 7, 2009 I followed those instructions...... are those correct or am I missing something? Regedits perhaps? Link to comment Share on other sites More sharing options...
everwicked Posted December 7, 2009 Author Share Posted December 7, 2009 I followed those instructions...... are those correct or am I missing something? Regedits perhaps?They are correct.You don't need -start parameter - that's for running VNC in service mode not user mode!Only specify port number and password through the command line. Link to comment Share on other sites More sharing options...
Eagle710 Posted December 7, 2009 Share Posted December 7, 2009 everwicked,I am trying to get your instructions to work in WinPE 2.0. I will try again and let you know how it goes. How does the display quality come across the Remote and should I set a static IP? Link to comment Share on other sites More sharing options...
Eagle710 Posted December 7, 2009 Share Posted December 7, 2009 I tried again and it didin't work. When I run winvnc4.exe -status it gives me the error message that the service doesn't exist. Link to comment Share on other sites More sharing options...
everwicked Posted December 8, 2009 Author Share Posted December 8, 2009 I tried again and it didin't work. When I run winvnc4.exe -status it gives me the error message that the service doesn't exist.I've just told you that the -register / -start and -status parameters are to run it in service mode. You want to run it in user mode.Just type winvnc.exe to run the VNC server. That's it!!!!You still won't be able to connect without setting a password so check the password parameter! Link to comment Share on other sites More sharing options...
Eagle710 Posted December 8, 2009 Share Posted December 8, 2009 The command doesnt work. It simply gives me a long list of all the options to use with the command. Is it because I placed the Dlls in the same folder as the exe? Link to comment Share on other sites More sharing options...
Tripredacus Posted December 8, 2009 Share Posted December 8, 2009 The command doesnt work. It simply gives me a long list of all the options to use with the command. Is it because I placed the Dlls in the same folder as the exe?Try putting them in the system32 folder and see what happens. Link to comment Share on other sites More sharing options...
Eagle710 Posted December 8, 2009 Share Posted December 8, 2009 (edited) So i moved all the files in the Sys32 folder and that did not make a difference. When I simply run winvnc4.exe it shows Starting User-Mode VNC and pauses. However when I enter the following:winvnc4.exe portnumber=5800 password=Test123The command line parameters show me all the options. ANy other ideas?Please note I am using RealVNC 4(Free Edition) Edited December 8, 2009 by Eagle710 Link to comment Share on other sites More sharing options...
Jazkal Posted December 9, 2009 Share Posted December 9, 2009 your password has to be in hex. Use the vncconfig.exe to set a password, then grab the hex from the registry. Link to comment Share on other sites More sharing options...
everwicked Posted December 9, 2009 Author Share Posted December 9, 2009 When I simply run winvnc4.exe it shows Starting User-Mode VNC and pauses.It doesn't pause - it's waiting for connections! That's why it's called user-mode, because it waits in the foreground, not in the background like a service.your password has to be in hex. Use the vncconfig.exe to set a password, then grab the hex from the registry.Yes, you do that on another machine, not from within WinPE - vncconfig didn't work for me there. Link to comment Share on other sites More sharing options...
Eagle710 Posted December 9, 2009 Share Posted December 9, 2009 (edited) On the server side this is the command I use:Winvnc4.exe portnumber=5888 password=01230123I got it work but when I try to connect from a different system(Vista) using the VNC Viewer I can see the incoming connections but it states the password is incorrect. On the server side it states "SConnection: AuthFailureException: No Password configured for VNCAuth."Any advice? Edited December 10, 2009 by Eagle710 Link to comment Share on other sites More sharing options...
Jazkal Posted December 12, 2009 Share Posted December 12, 2009 your password has to be in hex. Use the vncconfig.exe to set a password, then grab the hex from the registry. Link to comment Share on other sites More sharing options...
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