Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

For months i have had a Windows Update stall. For months i've seen Windows Installer stuck trying to do something:

enter image description here

Every time i reboot it leaves an orphaned folder in the root of my C: drive:

enter image description here

i see that Document Explorer was launched by Windows Installer with a /setup command line option:

"c:\Program Files (x86)\Common Files\Microsoft Shared\Help 8\dexplore.exe" /setup /log "C:\Windows\TEMP\VS1.tmp"

Today i finally looked into it, and the problem is that Document Explorer is stuck showing a message box:

enter image description here

How can i click OK on a dialog box, that is running under the context of NT AUTHORITY\SYSTEM, and probably running on another desktop?

Note: Windows has provided no mention that a service is showing a message box - offering to let me switch to Session 0 desktop.

See also

share|improve this question
    
Are you just trying to solve this one problem, or as a general rule? I would just download the problem patch, extract it so I can see more of what it is doing, and install it manually. –  KCotreau Jul 25 '11 at 11:56
    
Process Explorer should show you the session ID the process belongs to, then you can run elevated psexec -desi tscon <sessID> to connect yourself to the other session... (before you do that, ensure you have a way back: psexec -desi <sessID> cmd) –  grawity Jul 25 '11 at 12:01
    
I'd abandon ship. An error as crazy as this causing even more errors couldn't be corrupting more than just the Installer. –  surfasb Jul 25 '11 at 16:17
    
@grawity: It looks promising. It's Session 0. psexec -desi tscon 0. Unfortunately all that happens in a console window flashes up; i cannot read what i presume is an error message. But my console does say tscon started on HARPAX with process ID 7460., but the process closes immediately. –  Ian Boyd Jul 26 '11 at 2:55
    
@Ian: Hmm, try removing -de options (psexec -si tscon 0). It should run the process in the same console. (I'm not sure why I added -de in the first place.) –  grawity Jul 26 '11 at 9:10
add comment

1 Answer

up vote 1 down vote accepted

I found one way to do it; although I'd like to see grawity's work.

A MessageBox is being shown on the desktop of Session 0. Windows Vista and 7 have a service that looks for anyone showing a dialog box on the "secure" desktop, and offer to let you switch to it.

I was not seeing any notification, because the Interactive Services Detection service was not running (in Windows 7 it defaults to manual startup).

Service name: UI0Detect
Display name: Interactive Services Detection
Description: Enables user notification of user input for interactive services, which enables access to dialogs created by interactive services when they appear. If this service is stopped, notifications of new interactive service dialogs will no longer function and there might not be access to interactive service dialogs. If this service is disabled, both notifications of and access to new interactive service dialogs will no longer function.
Path to executable: C:\Windows\system32\UI0Detect.exe

You can manually start this service by running (from an elevated command prompt):

>sc start ui0detect

As soon as I did that a notification appeared. It had detected a message box and offered to let me switch to the secure desktop:

enter image description here.

After I clicked OK on the offending dialog box, I was able to return to my desktop by clicking the I'm done button:

enter image description here

It would still be good to find a way to be able to switch to the Session 0 "secure" desktop whenever I wanted to - not just when the Interactive Services Detection services detected an interactive service.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.