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

VNC while somone is RPD'd

Post Reply
willystyle04
Posts: 4
Joined: 2011-05-09 14:55

VNC while somone is RPD'd

Post by willystyle04 »

I saw a post or two in my search around this forum, but none specifically answer my question, so I'm making a new post. We frequently have the need to VNC in and see what someone who is RDP'd in to the same machine is seeing. This works on XP if the uvnc service is restarted after the RDP session is active (I did find a post about this elsewhere, but this same behavior doesn't happen in Win 7). We now have Win 7 Enterprise 64-bit machines, and I assumed the same technique would work, but it doesn't. Even if the service is restarted, we always end up looking at whatever the LOCAL user would see...(i.e. what's physically on the monitor where the machine is located). and that's a screen that just says someone is logged in remotely from another machine.

Does anyone have any idea to get this setup to work so that we can see what the RDP user is actually doing via VNC?

Thanks in advance!
B
800
800
Posts: 2338
Joined: 2009-09-09 14:05

Re: VNC while somone is RPD'd

Post by B »

Can't you just launch the VNC server in application mode, perhaps via the user's Startup group?
willystyle04
Posts: 4
Joined: 2011-05-09 14:55

Re: VNC while somone is RPD'd

Post by willystyle04 »

I guess the problem stemmed from our original setup where we chose to start VNC as a service (because sometimes we do need access to other functions where that would benefit us...I think -- admittedly I've only learned enough to make this work for us).

We managed to solve the problem by adding an entry to the user's startup folder (as you were suggesting B) which was a batch file that checks to see if it is an RDP session, and if it is, net stop the uvnc_service and taskkill winvnc.exe. On XP, winvnc.exe would normally close automatically even as a service when a user logged in via RDP, but apparently on Win 7, it won't kill the processes because they were started by NT Auth and they get an access denied message when trying to quit them (this is the reason for both net stop and taskkill having to be in the batch file).

Hope that helps!
B
800
800
Posts: 2338
Joined: 2009-09-09 14:05

Re: VNC while somone is RPD'd

Post by B »

Yes, I think your solution is going to help a lot of people. Thank you for sharing!

Rudi, should this workaround really be necessary?
redge
1000
1000
Posts: 6797
Joined: 2004-07-03 17:05
Location: Switzerland - Geneva

Re: VNC while somone is RPD'd

Post by redge »

it won't kill the processes because they were started by NT Auth and they get an access denied message when trying to quit them
is it not a known issue and solved with 1.0.9.6.1 uvnc could not restart/shutdown uvnc_service if last client log off ?
this version of uvnc can't let you select remote RDP/VNC username and direct connect to it.
have a look here, just stop your uvnc_service and/or close winvnc.exe and then replace the file
UltraVNC 1.0.9.6.1 (built 20110518)
OS Win: xp home + vista business + 7 home
only experienced user, not developer
Post Reply