Help - Search - Members - Calendar
Full Version: VNC Authentification Password
The CD Forum > Bart's PE Builder > Reatogo
teddy88
Help Please

How can I get the VNC server to start with the authentification password applied?

I have exported my Registry Entry for Real VNC: (the hex value in the password line has been changed to all 0"s)

[HKEY_LOCAL_MACHINE\SOFTWARE\RealVNC\WinVNC4]
"SecurityTypes"="VncAuth"
"ReverseSecurityTypes"="None"
"QueryConnect"=dword:00000000
"QueryOnlyIfLoggedOn"=dword:00000000
"PortNumber"=dword:0000170c
"IdleTimeout"=dword:00000e10
"HTTPPortNumber"=dword:000016a8
"LocalHost"=dword:00000000
"Hosts"="+,"
"Password"=hex:00,00,00,00,00,00,00,00


This is my PE Builder INF file for winvnc4:

; PE Builder v3 plug-in INF file
; winvnc4.inf
; reatogo autoHelp plugin created by MyName
; Last Revision 2008-05-16
; Tested on: 3110a-104

[Version]
Signature= "$Windows NT$"

[PEBuilder]
Name="700 winvnc4"
Enable=1
Help="\"

[Append]
nu2menu.xml, winvnc4_nu2menu.xml

[Software.AddReg]
; XPE Shortcuts for winvnc4
0x2, "Sherpya\XPEinit\Desktop", "winvnc4", "%SystemDrive%\Programs\winvnc4\winvnc4.exe||%SystemDrive%\Programs\winvnc4\winvnc4.exe,0"
0x2, "Sherpya\XPEinit\Programs", "700 Network\winvnc4", "%SystemDrive%\Programs\winvnc4\winvnc4.exe||%SystemDrive%\Programs\winvnc4\winvnc4.exe,0"

[WinntDirectories]
a="Programs\winvnc4",3

[SourceDisksFolders]
Files=a

[Software.Addreg]
; Shortcut(s) for winvnc4
0x2, "Sherpya\XPEinit\Startmenu", "winvnc4", "%SystemDrive%\Programs\winvnc4\winvnc4.exe"

; Shortcut(s) for winvnc4
0x2, "Sherpya\XPEinit\Desktop", "winvnc4", "%SystemDrive%\Programs\winvnc4\winvnc4.exe"
0x2, "Sherpya\XPEinit\Startmenu", "winvnc4", "%SystemDrive%\Programs\winvnc4\winvnc4.exe"
0x2, "Sherpya\XPEinit\Startup", "winvnc4", "%SystemDrive%\Programs\winvnc4\winvnc4.exe"
0x2, "Sherpya\XPEinit\QuickLaunch", "winvnc4", "%SystemDrive%\Programs\winvnc4\winvnc4.exe"




This is working on bootup, I just need to get the password embedded Is this possible?
This is the only piece of the puzzle I can not figure out after reading through all the postings
Thank you in advance!!
Rootman
This is in my VNC INF file:

CODE
; Set VNC password
; Setup password on another machine running VNC, then using regedit copy and paste password from this key:
;[HKEY_LOCAL_MACHINE\SOFTWARE\ORL\WinVNC3\Default] password key
;Put it in this PE line of the INF file
0x3, "ORL\WinVNC3\Default", "Password", 00,00,00,00,00,00,00,00,00,00,00,00,00
jaclaz
QUOTE (Rootman @ Jun 6 2008, 05:27 PM) *
This is in my VNC INF file:


Do you mean that you have a passord of 00000000000000000000000000 ? w00t.gif

happy71.gif

jaclaz
Ed_P
This is what my inf file looks like and no password needed.
CODE
; realvnc4.inf
; PE Builder v3 plug-in INF file for RealVNC Server & viewer
; tested with Bart Pe 2.0.32 and XPE installed
; http://www.911cd.net/forums//index.php?s=&showtopic=13169&view=findpost&p=83301

[Version]
Signature= "$Windows NT$"

[PEBuilder]
Name="RealVNC 4 Server & Viewer"
Enable=1
Help="realvnc4.htm"

[WinntDirectories]
a="Programs\realVNC4",2

[SourceDisksFiles]

run2.cmd=2,,1

files\vncconfig.exe=a,,1
files\vncviewer.exe=a,,1
files\winvnc4.exe=a,,1
files\logmessages.dll=a,,1
files\wm_hooks.dll=a,,1

realvncserver.cmd=a,,1

[SetupReg.AddReg]

[Software.AddReg]

[Default.AddReg]

0x1,"Software\RealVNC\VNCViewer4","dummy",""
0x1,"Software\RealVNC\VNCViewer4\MRU","00",""
0x3,"Software\RealVNC\VNCViewer4\MRU","Order", \
00

0x3,"Software\RealVNC\WinVNC4","Password"
0x1,"Software\RealVNC\WinVNC4","SecurityTypes","None"
;0x3,"Software\RealVNC\WinVNC4","Password",00,00,00,00,00,00,00,00
;0x1,"Software\RealVNC\WinVNC4","SecurityTypes","VncAuth"
0x1,"Software\RealVNC\WinVNC4","ReverseSecurityTypes","None"
0x4,"Software\RealVNC\WinVNC4","QueryConnect",0x00000000
0x1,"Software\RealVNC\WinVNC4","dummy",""
0x4,"Software\RealVNC\WinVNC4","UseHooks",0x00000001
0x4,"Software\RealVNC\WinVNC4","PollConsoleWindows",0x00000001
0x4,"Software\RealVNC\WinVNC4","AlwaysShared",0x00000001
0x4,"Software\RealVNC\WinVNC4","NeverShared",0x00000000
0x4,"Software\RealVNC\WinVNC4","CompareFB",0x00000001

[Append]
nu2menu.xml, realvnc4_nu2menu.xml
Rootman
QUOTE (jaclaz @ Jun 6 2008, 10:34 AM) *
QUOTE (Rootman @ Jun 6 2008, 05:27 PM) *
This is in my VNC INF file:

Do you mean that you have a passord of 00000000000000000000000000 ? w00t.gif

happy71.gif

jaclaz


No, I blanked out the password.
teddy88
Got it Thank you all for the help!!!!
Ed_P
No problem. Happy to hear you got it working. happy62.gif
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2013 Invision Power Services, Inc.