DarrenP Posted April 21, 2005 Share Posted April 21, 2005 I used vnc-4_1_1-x86_win32 from www.realvnc.com to achieve this.You are basically after the following files from the installer:logmessages.dllunins000.dll (not really required)unins000.exe (not really required)vncconfig.exevncviewer.exe (only req. if you want to remote control other desktops)winvnc4.exewm_hooks.dllYou can get these files by simply installing VNC on an XP desktop and making a copy of the RealVNC\VNC4 dir.I created the dir C:\MININT\RealVNC\VNC4 and staged the above files in this dir.Now boot to WinPE and install the winvnc service:C:\MININT\RealVNC\VNC4\winvnc4.exe -registerNow set a password for your WinVNC install:C:\MININT\RealVNC\VNC4\vncconfig.exeAs the password is held (in encrypted format) in the registry, we need to save this setting for later use (as all changes to the reg are non-persistant due to the registry being held in memory when in WinPE). Using regedit, export the following key:HKLM\SOFTWARE\RealVNC\WinVNC4Save it as C:\MININT\RealVNC\VNC4\vncpwd.regYour exported file should look something like this:REGEDIT4[HKEY_LOCAL_MACHINE\SOFTWARE\RealVNC\WinVNC4]"Password"=hex:HEXVALUE"QueryConnect"=dword:00000000"QueryOnlyIfLoggedOn"=dword:00000000"ReverseSecurityTypes"="None""SecurityTypes"="VncAuth"Now add the following lines to your startnet.cmd *AFTER YOU HAVE STARTED NETWORKING!*C:\MININT\RealVNC\VNC4\Winvnc4.exe -registerregedit /s C:\MININT\RealVNC\VNC4\vncpwd.regC:\MININT\RealVNC\VNC4\Winvnc4.exe -startAnd thats it! Im sure people who are more clever than me can work out what reg entires the VNC service requires and add them to the setupreg.hiv/winpe*.inf files, but it works.Daz. 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