Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

VNC ROLLOUT 1

Status
Not open for further replies.

sdsc

MIS
Jul 18, 2002
12
0
0
GB
How would i construct batch file to do a silent install od vnc in a existing login script
 
This looks like hacking !!! Steven van Els
SAvanEls@cq-link.sr
 
Prerequsites
Note: You need to be an administrator able to log in remotely to install this. I'm assuming that if you have admin rights you are not hacking.

You will need several files. All Free. Download the Windows Version of VNC
from
Download psexec from sysinternals

2. File Preparation
Install VNC as a service and set up a password

Install the software on your on a Windows NT/2000 machine and retrieve the files
WinVNC.exe
VNCHooks.dll
omnithread_rt.dll (this one may not be there and won't really matter)

Also, run regedit and export HKEY_LOCAL_MACHINE\SOFTWARE\ORL to a reg file
called vnc.reg

3. Service Installation
Copy the files to the remote machine

Start -> Run -> \\machinename\c$\winnt\system32

Copy these files to the folder
WinVNC.exe
VNCHooks.dll
omnithread_rt.dll
vnc.reg

Use psexec to log in to the remote machine
psexec \\machinename cmd

If you are not there change directory into c:\winnt\system32
c:
cd \winnt\system32

install winvnc
winvnc -install

install winvinc password
regedit /s c:\vnc.reg

delete reg file
del c:\vnc.reg

Start the service
net start winvnc

4. Now You can connect
Now you can connect to your box via gui
by using vncviewer
or
by using your java enabled web browser (IE 5 works) and go to

5. Remote removal of VNC
Use psexec to log in to the remote machine
psexec \\machinename cmd

Stop the service
net stop winvnc

Remove the Service
winvnc -remove

If you are not there change directory into c:\winnt\system32
c:
cd \winnt\system32

Delete the files
del WinVNC.exe
del VNCHooks.dll
del omnithread_rt.dll

This is how to do it remotely....If you want a batch file...write one!!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top