Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Context Menu for Network PC

Posted on 2004-09-17
5
155 Views
Last Modified: 2010-04-12
We want to be able to right click on a network computer and select an application from the context menu.  Such as VNC, Telnet, Ping, etc.
We were able to do this by adding the following registry:

HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Network\Type\2\shell\VNC\command
with a value of    C:\Program Files\RealVNC\VNC4\vncviewer.exe "%1"

A simular registry setting will be made for telnet or ping etc.

However the "%1" uses my computers name rather than the network pc.  With out the "%1" it still works but does not send any parameter to the app.

Does anybody know how to get the app to use the network pc name that we right click on rather than my pc?
0
Comment
Question by:sjhergott
  • 3
  • 2
5 Comments
 
LVL 12

Expert Comment

by:valicon
ID: 12090254
Try using C:\Program Files\RealVNC\VNC4\vncviewer.exe "%computer%"

Hope this helps :)
0
 

Author Comment

by:sjhergott
ID: 12112926
Useing the value C:\Program Files\RealVNC\VNC4\vncviewer.exe "%computer%" I get an error message;

VNC Viewer : Error
         unable to resolve host by name:  No more results can be returned by WSALookupServiceNext. (10110)

any comments??
0
 

Author Comment

by:sjhergott
ID: 12113186
ignore error message posted above.

basically the "%computer%" will work with the single computer thats name is entered in the value, but we have many computers in our domain (200+) and we want to capture the computer name that we click on in network neighborhood.

any other ideas??
0
 
LVL 12

Accepted Solution

by:
valicon earned 500 total points
ID: 12114439
0
 
LVL 12

Expert Comment

by:valicon
ID: 12114661
The %computer% variable should work......

is vncviewer in listening mode?
0

Featured Post

Migrating Your Company's PCs

To keep pace with competitors, businesses must keep employees productive, and that means providing them with the latest technology. This document provides the tips and tricks you need to help you migrate an outdated PC fleet to new desktops, laptops, and tablets.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Windows 2000 Print Server 2 1,052
Windows 2000 Server Pagefile.sys Error 7 652
Need to recover old Windows backup files in Windows 7 6 676
Kill system process in windows 2000 10 205
NTFS file system has been developed by Microsoft that is widely used by Windows NT operating system and its advanced versions. It is the mostly used over FAT file system as it provides superior features like reliability, security, storage, efficienc…
The Nano Server Image Builder helps you create a custom Nano Server image and bootable USB media with the aid of a graphical interface. Based on the inputs you provide, it generates images for deployment and creates reusable PowerShell scripts that …
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

828 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question