If you have enabled "Unsolicited Remote Assistance" at your organization using group policy, you can add "Offer Remote Assistance" to the "Remote Management" interface. Since I don't use VNC, I replaced it with an Offer Remote Assistance link.
In system_viewdef_summary.php, replace the VNC section with this:
[code] "30"=>array("name"=>"RA",
"head"=>__("RA"),
"get"=>array("head"=>"Offer-Remote-Assistance",
"file"=>"launch.php",
"title"=>__("Offer-Remote-Assistance"),
"image"=>"./images/o_load_balancer.png",
"image_width"=>"16",
"image_height"=>"16",
"var"=>array("hostname"=>"%system_name",
"domain"=>"%net_domain",
"application"=>"Offer-Remote-Assistance",
"ext"=>"vbs",
),
),
),[/code]
Then in your doc_root folder add a file called "launch_filedef_Offer-Remote-Assistance.txt" with the following contents:
[code]set shell = createobject("wscript.shell")
dim strComputerName
strComputerName = "NAME"
Set oEx = shell.Exec("%COMSPEC% /C ver")
Do While oEx.Status=0
WScript.Sleep 100
Loop
While Len(os)<1
os=Replace(oEx.StdOut.ReadLine,vbCrLf,"")
Wend
If INSTR(ucase(os),"XP") Then
shell.run "hcp://CN=Microsoft%20Corporation,L=Redmond,S=Washington,C=US/Remote%20Assistance/Escalation/Unsolicited/Unsolicitedrcui.htm"
shell.AppActivate("Help and Support Center")
wscript.sleep 3000
shell.SendKeys strComputerName
WScript.Sleep 500
shell.SendKeys "{TAB}{ENTER}"
Else
cmdline = "msra.exe /offerRA NAME"
Shell.Run cmdline
End IF
[/code]
This works with both Vista and Windows XP.
Information on how to enable "Unsolicited Remote Assistance" is available at
http://support.microsoft.com/kb/308013.