I am currently having trouble re-connecting when I get disconnected with UltraVNC.
My problem is after I am connected and I get disconnected the remote '98 PC still shows a currently connected Client.
How can I either:
1. Stop the disconnects.
or
2. Make the server release the client when it is disconnected so I can re-conect.
The only way I have been able to resolve it is to call up the remote site and if the VNC helper is working have them do a right click on VNC helper and select Kill all clients. If the VNC helper is not responding re-boot the PC.
Many times when I get disconnected the VNCViewer remains in memory locally also. I can resolve this with a bat file I have created.
VNCKill.bat
---- Begin bat file ----
pskill.exe -t vncviewer.exe
---- End bat file -----
If the remote PC is XP I can run a bat file on my local PC to resolve the issue.
On the local PC I run a bat file:
UltraVNC Kill on Remote.bat
---- Begin bat file ----
Set srv=domain.com
copy C:\Batch\VNCKill.bat \\%SRV%\Admin$
copy c:\Batch\pskill.exe \\%SRV%\Admin$
psexec \\%SRV% cmd.exe /C VNCKill.bat
---- End bat file ----
The domian.com can also be a PC name on a local LAN.
This will run the VNCKill.bat on a remote XP PC.
I just can't figure out how to clean up the hung processes in '98.
I'm using UltraVNC-102-Setup.exe
MSRC4Plugin.dsm ver. 1.1.8.0
VNCViewer ver. 1.0.2
in
'98
XP home
XP Pro sp1
XP Pro sp2
Thank you,
Docfxit
Update: UltraVNC 1.4.3.6 and UltraVNC SC 1.4.3.6: https://forum.uvnc.com/viewtopic.php?t=37885
Important: Please update to latest version before to create a reply, a topic or an issue: https://forum.uvnc.com/viewtopic.php?t=37864
Join us on social networks and share our announcements:
- Website: https://uvnc.com/
- GitHub: https://github.com/ultravnc
- Mastodon: https://mastodon.social/@ultravnc
- Facebook: https://www.facebook.com/ultravnc1
- X/Twitter: https://x.com/ultravnc1
- Reddit community: https://www.reddit.com/r/ultravnc
- OpenHub: https://openhub.net/p/ultravnc
Important: Please update to latest version before to create a reply, a topic or an issue: https://forum.uvnc.com/viewtopic.php?t=37864
Join us on social networks and share our announcements:
- Website: https://uvnc.com/
- GitHub: https://github.com/ultravnc
- Mastodon: https://mastodon.social/@ultravnc
- Facebook: https://www.facebook.com/ultravnc1
- X/Twitter: https://x.com/ultravnc1
- Reddit community: https://www.reddit.com/r/ultravnc
- OpenHub: https://openhub.net/p/ultravnc
Trying to re-connect after a disconnect
Re: Trying to re-connect after a disconnect
1. Winvnc -autoreconnect
2. winvnc -kill
May be this helps you.
http://www.uvnc.com/install/cmdline.html
2. winvnc -kill
May be this helps you.
http://www.uvnc.com/install/cmdline.html
Re: Trying to re-connect after a disconnect
Thanks for the suggestion,
I'm looking for a way to get WinVNC communicating after it hangs up when the PC's are an hour drive away from me.
I found a bat file that should do it but I can't find a program called Kill.exe that accepts command line arguments to run this.
UltraVNC Keep Alive.bat
--- Begin Bat File ---
@echo off
:loop
netstat -n | find ":5900"
if errorlevel 1 goto restartvnc
cls
echo Keeping VNC connection alive
echo !!!! DO NOT CLOSE THIS WINDOW !!!!
echo !!! DO NOT PRESS ANY KEYS OR CLICK THIS WINDOW !!!!
Timeout.exe 30
goto loop
:restartvnc
echo Connection lost Killing VNC Processes...
kill winvnc.exe
Timeout.exe 10
echo Reconnecting ...
start "C:\Program Files\UltraVNC\WINVNC.EXE"
Timeout.exe 10
goto loop
--- End Bat File ---
I'm looking for a way to get WinVNC communicating after it hangs up when the PC's are an hour drive away from me.
I found a bat file that should do it but I can't find a program called Kill.exe that accepts command line arguments to run this.
UltraVNC Keep Alive.bat
--- Begin Bat File ---
@echo off
:loop
netstat -n | find ":5900"
if errorlevel 1 goto restartvnc
cls
echo Keeping VNC connection alive
echo !!!! DO NOT CLOSE THIS WINDOW !!!!
echo !!! DO NOT PRESS ANY KEYS OR CLICK THIS WINDOW !!!!
Timeout.exe 30
goto loop
:restartvnc
echo Connection lost Killing VNC Processes...
kill winvnc.exe
Timeout.exe 10
echo Reconnecting ...
start "C:\Program Files\UltraVNC\WINVNC.EXE"
Timeout.exe 10
goto loop
--- End Bat File ---
-
- Former moderator
- Posts: 607
- Joined: 2006-11-30 00:41
- Location: Connecticut, USA
Re: Trying to re-connect after a disconnect
kill.exe is part of one of the Microsoft resource kits. If you don't want to download the entire resource kit, you can download PsKill.exe which does the same thing.
Re: Trying to re-connect after a disconnect
Thanks for the reply.mattice06082 wrote:kill.exe is part of one of the Microsoft resource kits. If you don't want to download the entire resource kit, you can download PsKill.exe which does the same thing.
PSKill won't run in Win'98. I found kill.exe in the Windows resource kit.
Thanks for letting me know where it is.
I'm getting an error with it saying:
"The Kill.exe file is linked to a missing export NTDLL.DLL isspace."
Thank you,
Docfxit
Last edited by docfxit on 2007-04-09 16:03, edited 1 time in total.