Go Back   PCMech Forums > Windows Support > Windows Legacy Support (XP and earlier)

Need Some Help? Type Your Keywords Here:

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Old 10-16-2006, 01:17 PM   #1
Member (5 bit)
 
PierCed_3's Avatar
 
Join Date: Sep 2004
Posts: 31
VNC install with Batch file

I am trying to install VNC with a batch file and I can't get it to take my default password. It will install just fine but after the install it prompts me to put in a password. It tells me there is no "default password set"

here is my batch file

Echo off
title VNC Installation

rem set commonpath=\\server\share

md "%programfiles%\Tightvnc"
cacls "%programfiles%\Tightvnc" /e /t /g users:f
copy /y "\\server\share\vnc\*.*" "%programfiles%\Tightvnc"

"%programfiles%\Tightvnc\winvnc.exe" -install -defaultsettings

regedit /s password.reg

"%programfiles%\Tightvnc\winvnc.exe" -run

net start winvnc


Does anyone have a password file?

here is mine and it doesn't appear to be working:

REGEDIT4

[HKEY_LOCAL_MACHINE\SOFTWARE\ORL\WinVNC3]

[HKEY_LOCAL_MACHINE\SOFTWARE\ORL\WinVNC3\Default]

[HKEY_CURRENT_USER\Software\ORL\VNCHooks]

[HKEY_CURRENT_USER\Software\ORL\VNCHooks\Application_Prefs]

[HKEY_CURRENT_USER\Software\ORL\WinVNC3]

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\TightVNC]

[HKEY_LOCAL_MACHINE\SOFTWARE\ORL\WinVNC3]
"ConnectPriority"=dword:00000001
"DebugMode"=dword:00000000
"DebugLevel"=dword:00000002
"LoopbackOnly"=dword:00000000
"EnableHTTPDaemon"=dword:00000001
"EnableURLParams"=dword:00000000
"AllowLoopback"=dword:00000001
"AuthRequired"=dword:00000001
"AuthHosts"="?"

[HKEY_LOCAL_MACHINE\SOFTWARE\ORL\WinVNC3\Default]
"QuerySetting"=dword:00000003
"QueryTimeout"=dword:00000007
"QueryAccept"=dword:00000001
"QueryAllowNoPass"=dword:00000000
"SocketConnect"=dword:00000001
"AutoPortSelect"=dword:00000001
"InputsEnabled"=dword:00000001
"LocalInputsDisabled"=dword:00000000
"IdleTimeout"=dword:00000000
"Password"=hex:xx,xx,xx,xx,xx,xx,xx,xx
"PollUnderCursor"=dword:00000000
"PollForeground"=dword:00000001
"PollFullScreen"=dword:00000000
"OnlyPollConsole"=dword:00000001
"OnlyPollOnEvent"=dword:00000000

[HKEY_CURRENT_USER\Software\ORL\WinVNC3]
"QuerySetting"=dword:00000003
"QueryTimeout"=dword:00000007
"QueryAccept"=dword:00000001
"QueryAllowNoPass"=dword:00000000
"SocketConnect"=dword:00000001
"AutoPortSelect"=dword:00000001
"InputsEnabled"=dword:00000001
"LocalInputsDisabled"=dword:00000000
"IdleTimeout"=dword:00000000
"Password"=hex:xx,xx,xx,xx,xx,xx,xx,xx
"PollUnderCursor"=dword:00000000
"PollForeground"=dword:00000001
"PollFullScreen"=dword:00000000
"OnlyPollConsole"=dword:00000001
"OnlyPollOnEvent"=dword:00000000
"LockSetting"=dword:00000000
"RemoveWallpaper"=dword:00000000
"PasswordViewOnly"=hex:xx,xx,xx,xx,xx,xx,xx,xx

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\TightVNC]
"DisplayName"="TightVNC Server version 1.2.9"
"DisplayIcon"="C:\\Program Files\\TightVNC\\WinVNC.exe"
"UninstallString"="C:\\Program Files\\TightVNC\\uinstall.exe"

of course I changed the password for my own safety, should this be working?

Any tips?

Last edited by PierCed_3; 10-16-2006 at 01:26 PM.
PierCed_3 is offline   Reply With Quote
Old 10-16-2006, 01:29 PM   #2
Member (5 bit)
 
PierCed_3's Avatar
 
Join Date: Sep 2004
Posts: 31
and it is requireing a reboot for the service to start... any ideas? I don't want to have to reboot.
PierCed_3 is offline   Reply With Quote
Old 10-16-2006, 03:45 PM   #3
Member (11 bit)
 
Join Date: Jul 2006
Location: England - UK
Posts: 1,227
The guys at www.codeguru.com are very good at helping with coding issues.
__________________

** Custom Desktop: Core i3-530, 4GB Corsair RAM, 500GB WD HDD **
** Netbook: HP Mini 210, N450, 2GB RAM**
AnotherMuggle is offline   Reply With Quote
Old 10-25-2006, 10:31 AM   #4
Member (5 bit)
 
PierCed_3's Avatar
 
Join Date: Sep 2004
Posts: 31
Anyone?
PierCed_3 is offline   Reply With Quote
Old 10-25-2006, 11:06 AM   #5
Member (11 bit)
 
Join Date: Jul 2006
Location: England - UK
Posts: 1,227
Quote:
Originally Posted by PierCed_3
Anyone?
Did you speak to the guys at www.codeguru.com?
AnotherMuggle is offline   Reply With Quote
Old 10-25-2006, 11:53 AM   #6
Member (5 bit)
 
PierCed_3's Avatar
 
Join Date: Sep 2004
Posts: 31
It appears to be more of a coding resource(C++, VB, .net) than a windows resource. I tried searching for anything to do with batch files for VNC and I didn't come up with anything. I did find a few threads here about VNC so I was hoping someone would have done something similar to what I am trying to accomplish. Most programmers/coders don't work with batch files to often.
PierCed_3 is offline   Reply With Quote
Reply

Bookmarks

Still Need Help? Type Your Keywords Here:


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Corrupt Install File (Office 2003) Turbo91Bird Software Discussion & Support 5 03-25-2005 06:18 PM
DOS Batch file help needed RacybabeUK Windows Legacy Support (XP and earlier) 8 03-06-2005 06:14 PM
Batch File wantabe2 Software Discussion & Support 1 10-29-2004 10:09 PM
Any batch file experts? Force Flow General Discussion 1 10-10-2004 11:21 PM
Need help modifying a batch file :-) aka_nelly Windows Legacy Support (XP and earlier) 4 07-12-2003 10:38 AM


All times are GMT -5. The time now is 03:16 PM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 PL2