|
LanHelper Integrated Command
LanHelper Integrated Command offers additional management functions for network administrators and makes the network management become more conveniently. This feature is designed for Remote Execute and used in Remote Execute only. It requires administrative share "ADMIN$" to be enabled on remote system, and you must have read/write access to the "ADMIN$".
All Integrated Commands supported by current version are listed below.
| ID |
Operation |
Options |
Example |
| 0 |
Log off |
Force |
/0
/0 force:true |
| 2 |
Reboot |
Force |
/2
/2 force:true |
| 8 |
Power off |
Force |
/8
/8 force:true |
| 17 |
Stand by |
Force |
/17
/17 force:true |
| 19 |
Hibernate |
Force |
/19
/19 force:true |
| 21 |
Lock computer |
|
/21 |
| 24 |
Lock mouse |
Lock mouse, unlock mouse
minute
time |
/24 mouse:lock time:20070131#1259
/24 mouse:lock minute:5
/24 mouse:unlock |
| 26 |
Lock keyboard |
Lock keyboard, unlock keyboard
minute
time |
/26 keybrd:lock time:20070131#1259
/26 keybrd:lock minute:5
/26 keybrd:unlock |
| 52 |
Hide/show taskbar |
Hide taskbar, show taskbar |
/52 taskbar:hide
/52 taskbar:show |
| 54 |
Hide/show desktop |
Hide desktop, show desktop |
/54 desktop:hide
/54 desktop:show |
| 56 |
Open/close CD-Rom drive |
Open CD-Rom, Close CD-Rom |
/56 cdrom:open
/56 cdrom:close |
| 58 |
Start screensaver |
|
/58 |
| 100 |
Capture screen |
Color depth: 1 bit, 4 bit, 8 bit, 16 bit.
minute
time
Interval |
/100
/100 color:16 minute:60 interval:5
/100 time:20070131#1259 interval:5 |
| 101 |
Get system information |
|
/101 |
| 110 |
Get window information |
|
/110 |
| 111 |
Close window |
Window ID, force |
/111 winid:12
/111 winid:12,34 force:true |
| 120 |
Get process information |
|
/120 |
| 121 |
Kill process by ID |
Process ID |
/121 procid:56,78 |
| 122 |
Kill process by name |
Process name
minute
time
Interval |
/122 procname:icq.exe,hl.exe
/122 procname:xxx minute:60 interval:5
/122 procname:xxx time:20070131 interval:5 |
Click the check box "Use LanHelper Integrated Command"in Remote Execute dialog, the LanHelper Integrated Command dialog will appear. Select the operation you want to execute from the operation list, set corresponding options in Command Options field, and then click Add button to append the selected operation to the command. One command may be composed of several operations. Click OK button to complete the LanHelper Integrated Command and return to Remote Execute dialog.
For example, select the operation "8 Power off" from the operation list, and check the check box "Force" in Command Options field, then click Add button. It's capable of shutting down computers located on other subnet. Select the operation "122 Kill process by name", then in Process Name field enter "notepad.exe". Click the check box Additional Parameters, in the Time Settings dialog, click End AT radio button and set date to "1/14/2007", set time to "7:38:46 PM", set the value of "At Interval Of" option to 5 second, click the Ok button, then Add button. It's capable of continuously killing the process notepad.exe at interval of 5 seconds and automatically end at 1/14/2007 7:38:46 PM. Click the Ok button and return to Remote Execute dialog, the characters appear in Command field are "/8 force:true /122 ProcName:notepad.exe time:20070114#1938 interval:5".
Notes:
- For the Log Off, Reboot and Power Off operations with Force option, when the task runs the running applications would be closed forcibly without popping up notification that prompts the logged on user to save changes.
- To cause remote machine to hibernate successfully, hibernate support must be enabled on target machine. Otherwise the Hibernate operation will be treated as Stand By by Windows system.
- How to enable hibernate support in Windows XP:
1. Open Power Options in Control Panel. Click Start, click Control Panel, and then double-click Power Options.
2. Click the Hibernate tab, select the "Enable hibernate support" checkbox, and then click Apply.
If the Hibernate tab is invisible, the computer does not support this feature.
- When Capture Screen, Get System Information, Get Window Information or Get Process Information operations is executed on a remote system, it would generate some data and transmit them back to LanHelper. So you should keep LanHelper running on your machine to receive the data when the command is about to be executed. After receiving the data the program would pop up the Data Viewer dialog to show its content.
- The Close Window operation requires you to input the ID of the window you want to close. You can get all the window IDs of the remote system by executing the Get Window Information operation on it. Multiple IDs are allowed, and they should be separated with comma. The operation result, which includes the IDs successfully closed and the ones failed to be closed, would be transmitted back to LanHelper and saved to the log, if LanHelper is still running.
- The Kill Process By ID operation requires you to input the ID of the process you want to close. You can get all the process IDs of the remote system by executing the Get Process Information operation on it. Multiple IDs are allowed, and they should be separated with comma. The operation result, which includes the IDs successfully killed and the ones failed to be killed, would be transmitted back to LanHelper and saved to the log, if LanHelper is still running.
- To unlock keyboard, unlock mouse, stop screen capture, stop killing process without delay, select machines in the main window, from the menu bar select "Tools > Remote Execute", then select Unlock Keyboard, Unlock Mouse, Stop Screen Capture or Stop Killing Process to cancel or stop the operations on selected machines.
|