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

Chunk problems in Windows 7

Simple, Free, Open Source UltraVNC Wrapper Supporting Windows and Mac OSX
Post Reply
KevCar
Posts: 6
Joined: 2011-07-26 01:43

Chunk problems in Windows 7

Post by KevCar »

I am using Chunk with a repeater for some of my clients and I am running into an issue. I am unable to access tcpip properties. When I go into the properties of my lan adapter I am unable to click on the ip4 settings to make changes. The mouse moves around but it will not allow me to go into it. This only happens on windows 7.
Rat
80
80
Posts: 182
Joined: 2004-11-01 02:11

Re: Chunk problems in Windows 7

Post by Rat »

I'm pretty sure that this is because you don't have administrative permissions... AFAIK the only ways around this is to ask the remote operator to do it for you or to install Chunk as a service.
B
800
800
Posts: 2338
Joined: 2009-09-09 14:05

Re: Chunk problems in Windows 7

Post by B »

You might (?) be able to have the user open an administrative command window and then reconfigure the settings that way.

http://www.howtogeek.com/howto/windows- ... a-run-box/

http://www.petri.co.il/configure_tcp_ip_from_cmd.htm
KevCar
Posts: 6
Joined: 2011-07-26 01:43

Re: Chunk problems in Windows 7

Post by KevCar »

I believe it has to do with the viewer itself. With the Chunkvnc viewer I am unable to select some things, like the ip4 settings ( infact it drops connection), but if I issue a command using another viewer and attach to it I am able to do everything. I downloaded a single file, vncviewer.exe, and from a commandline typed in vncviewer -dsmplugin *** -proxy x.x.x.x::5901 ID:chunk ID and it connected and had no problems. I only have issues with the chunkvnc viewer. Using the latest Chunk VN. PC's having issues are Win7 only. XP works fine.
B
800
800
Posts: 2338
Joined: 2009-09-09 14:05

Re: Chunk problems in Windows 7

Post by B »

Well, keep in mind that the ChunkVNC server and viewer are really just UltraVNC after all. My best guess is simply that your problems were fixed in newer versions of UltraVNC. I think Chunk is a few versions behind at this point.

You should be able to drop the latest UltraVNC counterparts into your ChunkVNC setup. I've done that in the past.
Rat
80
80
Posts: 182
Joined: 2004-11-01 02:11

Re: Chunk problems in Windows 7

Post by Rat »

Well I believe that I've noticed that when a Window is open that requires administrative access such as the network adaptor settings, that Chunk won't allow any user interaction, although it will with other windows in the same session. I use my ChunkVNC "Fork" which is based on UltraVNC 1.0.9.6.
B
800
800
Posts: 2338
Joined: 2009-09-09 14:05

Re: Chunk problems in Windows 7

Post by B »

So why do you think a standalone version of the same vncviewer.exe would behave differently/better?
KevCar
Posts: 6
Joined: 2011-07-26 01:43

Re: Chunk problems in Windows 7

Post by KevCar »

Thanks for the link. I will try it out. I do believe it has to do with the version of the viewer. When I get more time I will try and post back.
KevCar
Posts: 6
Joined: 2011-07-26 01:43

Re: Chunk problems in Windows 7

Post by KevCar »

Now I am confused. Now both versions are working fine. Not sure what is causing it. I did get a notice from windows asking if it wanted to allow vnc to make changes. I have seen that before but this time chose no to see what that would do. I guess more testing is in order.
Rat
80
80
Posts: 182
Joined: 2004-11-01 02:11

Re: Chunk problems in Windows 7

Post by Rat »

I was able to reliably reproduce this behaviour by opening the Task Scheduler and attempting to create/modify a task.

Firstly a UAC warning appeared. Once the remote user had OK'd the UAC, I was unable to interact with the session until the remote user had closed the Task Scheduler window for me.

My interpretation for this behaviour was that after acknowledging the UAC warning, the Task Scheduler was running under a different user account or permissions set from the ChunkVNC service which was therefore blocked.

What do you think?
Last edited by Rat on 2011-07-31 00:45, edited 1 time in total.
User avatar
supercoe
400
400
Posts: 1732
Joined: 2009-07-20 21:27
Location: Walker, MN
Contact:

Re: Chunk problems in Windows 7

Post by supercoe »

Rat,

Correct, when a program has elevated itself to administrator privileges via UAC you will not be able to control it because the UltraVNC Server executable is running in with the privileges of the user account. Installing as a service allows the UltraVNC Server to run at the highest privilege level all the time.

I've noticed that if I'm running InstantSupport normally and have the customer run a program that prompts UAC (such as a printer installer) if I happen to click anywhere inside the programs window I will loose all control unless the customer finishes the installer or brings up a non admin program into focus.

Interesting results that KevCar has had, the Viewer version should have no effect on what the Server is allowed to control.

For testing purposes any UltraVNC viewer supporting the current command line set can just be dropped into the \Viewer\Bin folder. :)
http://www.chunkvnc.com - ChunkVNC - Free PC Remote control with the Open Source UltraVNC wrapper InstantSupport!
Rat
80
80
Posts: 182
Joined: 2004-11-01 02:11

Re: Chunk problems in Windows 7

Post by Rat »

Hmmm... So the basic issue becomes:
"How can I prompt the user to run ChunkVNC as an administrator in the first place?"

The AutoIt RunAs function allows users to enter a new username and password to run an executable. I'm thinking of adding an optional dialog to ChunkVNC which prompts the user to enter an administrative login before running ChunkVNC.
What do you think of this approach?
User avatar
supercoe
400
400
Posts: 1732
Joined: 2009-07-20 21:27
Location: Walker, MN
Contact:

Re: Chunk problems in Windows 7

Post by supercoe »

I don't like always running as admin simply because I support a lot of people that are on domain managed networks, some of which I do not always have the administrator password for.

This is why the ReRun as Admin tray option exists, for those that just want to elevate but still run out of the temp directory.
http://www.chunkvnc.com - ChunkVNC - Free PC Remote control with the Open Source UltraVNC wrapper InstantSupport!
Rat
80
80
Posts: 182
Joined: 2004-11-01 02:11

Re: Chunk problems in Windows 7

Post by Rat »

Sounds as if you've already fixed this the way I was proposing... time to look at your code and copy it :)
User avatar
supercoe
400
400
Posts: 1732
Joined: 2009-07-20 21:27
Location: Walker, MN
Contact:

Re: Chunk problems in Windows 7

Post by supercoe »

I'm sure you could improve it substantially, ReRun as admin was a feature request quite some time ago, I don't use it personally. :)
http://www.chunkvnc.com - ChunkVNC - Free PC Remote control with the Open Source UltraVNC wrapper InstantSupport!
Rat
80
80
Posts: 182
Joined: 2004-11-01 02:11

Re: Chunk problems in Windows 7

Post by Rat »

Added the "Re-run as Administrator" option to my new ChunkVNC Fork release, version 3.1m. :)
B
800
800
Posts: 2338
Joined: 2009-09-09 14:05

Re: Chunk problems in Windows 7

Post by B »

I hope you peeked at and stole his other changes; having forks is a mixed blessing!
Post Reply