Update 1/30/2012: Before reading the following visit joinme.com. They offer an amazing service that might suite your needs.
In some conditions is it necessary for the user to initiate the help-desk connection. Perhaps they are behind a firewall, at a hotel, or some other hard to reach location. In this case UltraVNC's SingleClick tool is very useful. However, since Microsoft has released more advanced operating systems such as Windows Vista the tool has ran very slow. I offer a solution to this problem.
Up to this point the only solution I had to offer was including a "hacking tool" in the self extracting package, and then launching it before the user initiated the connection. This worked well until many anti-viruses identified the tool and alerted the user that it may be unsafe. To be perfectly clear I have seen a very popular anti-virus attack UltraVNC for being some sort of hacking tool. So be sure that the user understands why anti-virus software would falsely warn them about the tools you are using.
I spent some time working on a solution that eliminates the need for the hacking tool. The solution was to run a rundll32 command and shutdown a system service, and then undo the changes after the connection was closed.
Please note that I only tested this once on a Windows Vista machine, but I believe that it will work on a Windows 7 machine. You may download the configuration files and compiler here. If it doesn't work on Windows 7 you could always have the user turn off all visual styles using the advanced performance settings.
To configure the tool unzip the file you have downloaded and open the SC_VNC_Files folder. The folder contains a file named "helpdesk.txt". Open this file and change the server to your IP address and modifiy the information accordingly. When you are finished configuring the tool, run the Compile.bat file to make "Single_Click.exe"
If you are having trouble with your quest to create your own tool, leave comments and I will reply quickly.
Hi Justin,
ReplyDeleteI faced today the very same problem you describe here with a user using vista.
Used your tool to build a new sc and worked like a charm.
Many thanks for sharing this.
Hi Justin,
ReplyDeleteI have one problem with your program in Win7.
Aero_disable.exe does not start when client call me with SC.
When I start Aero_disable.exe then SC work OK.
Could you tell me how to set that will Aero_disable.exe start automatically in sc_vnc.au3?
You may notice in the soure that it launches a file called winvnc.cmd
ReplyDeleteIf @OSVersion = "WIN_VISTA" Then
Run(@ComSpec & ' /c "' & @TempDir & '\SC_VNC_Temp_Files\winvnc.cmd VISTA"', @TempDir & "\SC_VNC_Temp_Files\", @SW_HIDE)
Else
Run(@ComSpec & ' /c "' & @TempDir & '\SC_VNC_Temp_Files\winvnc.cmd"', @TempDir & "\SC_VNC_Temp_Files\", @SW_HIDE)
EndIf
This file can be found in SC_VNC_Files. Try opening it with notepad, the rest should become easy to understand. It is a simple batch script.
In my attempt to avoid being attacked by an antivirus I included the following lines to turn off the areo effect instead of using Aero_disable.exe:
net stop uxsms
start rundll32.exe dwmApi #104
However, the first command needs administrator privileges to be ran. I haven't yet experimented with getting it to work with Windows 7.
If you're still using aero_disable.exe try using the command
IF "%1"=="VISTA" taskkill /IM aero_disable.exe
instead of this
IF "%1"=="VISTA" net start uxsms
IF "%1"=="VISTA" start rundll32.exe dwmApi #102
http://lucas719.info/function/guide-to-setting-up-your-own-remote-helpdesk-with-single-click-vnc
ReplyDelete