Technote 030
"No user interaction allowed" error or missing display, network volume and printer information
Problem:
What causes the the command error "No user interaction allowed (Error=-610)" command error when issuing commands to a PC agent? At the same time I've noticed that display, mapped network volume, and printer information is also missing for this PC agent.
Solution:
This behavior typically occurs because the LANrevAgentInstallerHelper.exe application is not running. Normally this is because the Windows workstation is at the login screen without a logged-in user. To resolve this problem, have the local user log in before reapplying the command or gathering the missing inventory information again.
The LANrevAgentInstallerHelper.exe application is used to perform various task based on the current logged-in user such as launching an application in the context of the current logged-in user, copying a file to the desktop of the current logged-in user, or getting inventory information specific to the current logged-in user. It is also used to gather user specific information such as display, mapped network volume, and network printer information.
It is launched as soon as a user logs in and is closed when the user logs off. When no one logged in there is no instance of LANrevAgentInstallerHelper.exe running. When multiple users are logged in locally, such as with Windows VISTA or XP with fast user switching enabled, then an instance of LANRevAgentInstallerHelper.exe is running for each user session. It's important to note that LANrevAgentInstallerHelper.exe is not launched by the agent but rather by the system. When the LANrev agent needs LANrevAgentInstallerHelper.exe to perform some task but it is not running you'll receive the command error "No user interaction allowed (Error=-610)".
Below is a list of commands that depend on LANrevAgentInstallerHelper.exe. You may receive the above error message with these commands when LANrevAgentInstallerHelper.exe is not running.
1. Any command that allows you to run something under the context of the "Current logged-in user"
- Execute Script (as Current logged-in user)
- Execute Windows File (as Current logged-in user)
- Open File (as Current logged-in user)
- Custom Fields (with scripts that execute as Current logged-in user)
2. Any command that copies/deletes/transfers files to the Target Region "Current User Domain"
- Transfer File/Folder (to Current User Domain)
- Copy File/Folder (to Current User Domain)
- Create Shortcut (to Current User Domain)
- Create Folder (to Current User Domain)
- Move File/Folder (to Current User Domain)
3. Any command that has to display a message box to the current logged-in user
- Send Message
- Execute Windows File (with Message enabled)
- Transfer File Folder (with Message enabled)
- Change Operating State (with Message enabled)
4. Any registry operation (search/new/delete/edit) that has to be done in the HKEY_CURRENT_USER hive
- Search Windows Registry (with "Start search at" HKEY_CURRENT_USER)
- Edit Windows Registry (in HKEY_CURRENT_USER hive)
- License monitoring specifications (that look inside the HKEY_CURRENT_USER hive)
Certain information items are specific to the currently logged-in user - the user that has the screen for fast user switching - because they are gathered by the LANrevAgentInstallerHelper.exe application. If it's not running then these info items are not gathered and the agent log file will contain an entry like "Error while getting the display information: {-610}". Below is a list of information items that cannot be gathered if LANrevAgentInstallerHelper.exe is not running.
- Display information
- Network Volumes information
- Network printers
Missing volume information is not a problem with fixed local volumes since their information is not tied to the local user and thus is not gathered via a different method than LANrevAgentInstallerHelper.exe. In other words, if there is no logged-in user you will see volume information for fixed local volumes but not mapped network volumes.
On Windows some printers are specific for the current logged-in user such as network printers or the default printer. Locally attached printers do not depend on the current logged-in user. In other words if there is no logged-in user you will see only locally attached printer information and none of the printers is the default printer.
There are some situations when LANrevAgentInstallerHelper.exe is not running even if a user is logged-in.
1. The user terminates the LANrevAgentInstallerHelper.exe process.
2. The LANrev Agent is installed on the remote computer via the Agent Deployment Center. It does not matter if a user is logged into the remote target computer or not. Because the Agent Deployment Center uses a service on the remote computer to install the agent there is no way to start LANrevAgentInstallerHelper.exe in the context of the logged-in user.
3. The LANrev agent is upgraded on a remote computer via either the Software Distribution Center or the Agent Deployment Center while a user is logged in. When the agent is upgraded, the LANrev Agent service and all instances of LANrevAgentInstallerHelper.exe are closed. Because the upgrade is done by a service, LANrevAgentInstallerHelper.exe cannot be restarted in the context of the current logged-in user.
4. The user is logged in remotely via Windows Remote Desktop. By design LANrevAgentInstallerHelper.exe only runs for locally logged-in users.
In all cases LANrevAgentIntalleHelper.exe will be started the next time a user logs in locally.
|