Using WUA from a Secondary Logon (Run As) Process
Updates that require user interaction cannot be installed by Windows Update Agent (WUA) applications if any one of the following conditions is true:
- The WUA applications are running in the context of the RunAs service in Windows 2000.
- The WUA applications are running in the context of the Secondary Logon service in Windows XP.
- The WUA applications are running in the context of the Secondary Logon service in Windows Server 2003.
If the process that is calling WUA is running in the context of the RunAs service or the Secondary Logon service, an attempt to install an update that requires user interaction fails and returns the WU_E_NO_INTERACTIVE_USER error.
In Microsoft Windows, you can run programs as a user who differs from the user who is currently logged on. To do this in Windows 2000, the RunAs service must be running. To do this in Windows XP or Windows Server 2003, the Secondary Logon service must be running. The RunAs and Secondary Logon services are the same service with different names.
Send comments about this topic to Microsoft
Build date: 11/22/2012