Comments by Martin Menzel

Monday, November 29, 2004

Didl Bilder

Inhaltsverzeichniss

Sunday, November 28, 2004

Freecorder - Record audio on your PC for FREE!

Freecorder - Record audio on your PC for FREE!

Web cam surveillance software. PC Computer webcam security software.

Web cam surveillance software. PC Computer webcam security software.

Trillian Discussion Forums - HOWTO: Import ICQ 2003a Contact List

Trillian Discussion Forums - HOWTO: Import ICQ 2003a Contact List

Friday, November 26, 2004

Windows XP Firewall

Windows XP

Thursday, November 25, 2004

Irish Handmade Chocolates

Irish Handmade Chocolates

Wednesday, November 17, 2004

Liebesgedichte - Lovebook

Liebesgedichte - Lovebook

Monday, November 15, 2004

Bash Scripts ssh tunnel

Bash Scripts

Saturday, November 13, 2004

Free TridiaVNC Download

Free TridiaVNC Download

Thursday, November 11, 2004

Spanisch Deutsch Woerterbuch

myjmk dictionary/W�rterbuch/diccionario

Monday, November 08, 2004

Verkehrsgesellschaft Frankfurt am Main mbH

Verkehrsgesellschaft Frankfurt am Main mbH

Saturday, November 06, 2004

FileDate Homepage

12Ghosts FileDate Homepage

UltraVNC

UltraVNC

Installing VNC on a remote PC

Installing VNC on a remote PC

How to install VNC on a remote PC
Introduction:
VNC is a free utility to remotely control another PC, see http://www.realvnc.com for details.

This article assumes that:

1. The remote PC is running Windows 2000, 2003, NT4 or XP Pro
(XP Home does not have an IPC$ share as far as I know).
2. You have administrative rights to the remote PC.

This article also focuses on loading VNC on a remote PC as a service, not as an application.
Step 1: Install VNC locally and set the password.
Download Real VNC and install it on a local PC (for this article, version 3.3.7 was used).

During the installation process, make sure that you check both:

1. Register VNC Server as a system service
2. Start the VNC system service

Click here for a screen shot.

At the end of the installation process, you will be prompted to set a password.
The password that you set here will later be used to connect the remote PC.
Step 2: Configure VNC on the remote PC using PsExec
PsExec is a freeware tool to execute processes on a remote PC and is needed for this procedure:
http://www.sysinternals.com/ntw2k/freeware/psexec.shtml

# The remote account that you use must be a member of the Administrators group on the remote PC.
# "\\RemotePC" mentioned below can be either the remote PC's name or IP address.

1. Login to the remote PC's IPC$ share with an administrator account.

If you don't include the password in plain text, you will be prompted to supply the password (which will not be displayed as plain text).

NET USE \\RemotePC\IPC$ /user:administrator password

2. Copy your local VNC files to the remote PC.


xcopy "C:\Program Files\RealVNC\*.*" "\\RemotePC\C$\Program Files\RealVNC\*.*" /r/i/c/h/k/e

3. Use Regedit to export the local VNC registry settings to the remote PC.

Note: If you prefer you can export the file locally and then copy it.

regedit /e "\\RemotePC\C$\vncdmp.txt" "HKEY_LOCAL_MACHINE\Software\ORL"

4. Use PsExec to import the above registry file on the remote PC.


psexec \\RemotePC -s -i -d %\windir%\regedit /s C:\vncdmp.txt

Make sure to use the /s switch with regedit so that confirmation isn't required on the remote PC.
psexec will not use the path with the above switches, make sure to use %windir%\regedit.

5. Use PsExec to install the remote winvnc service.


psexec \\RemotePC -s -i -d "C:\Program Files\RealVNC\WinVNC\winvnc.exe" -install

6. Use PsExec to start the remote "VNC Server" service.


psexec \\RemotePC -s -i -d net start "VNC Server"

You should now be able to use VNC to control the remote PC.
Notes:
Also see - Making VNC more secure using SSH

I want to thank Jau-Ling Chou for his input on using PsExec to install VNC on a remote PC.

Along with the use of PsExec, the biggest change to this article is that VNC version 3.3.7 from RealVNC was used instead of version 3.3.3 from AT&T Laboratories at Cambridge. Since the files are installed to different locations, the command lines have also changed.

To view the older method of installing VNC on a remote PC that does not use PsExec, click here.

Although remotely installing the VNC service does configure most of the registry settings, you still need to export / import your local HKLM settings so that a VNC password will be set on the remote PC.

When you install VNC locally and when you install the service remotely, a WinVNC registry entry is created under HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run. This runs VNC as an application. Since VNC is already running as a service, in my opinion this is redundant and I delete that entry.

If you have problems using PsExec, check the website for command line options. Since the -s -i -d combination worked for me, I didn't try other options. You shouldn't need to specify the user or password that PsExec uses, you are already connected to the remote PC's IPC$ share as an administrator.

If you have any suggestions or comments, please send them to webadmin@tburke.net

Friday, November 05, 2004

Squid: Logfile Analysis

Squid: Logfile Analysis

CRCnet - Software

CRCnet - Software