locked
Windows 8 Store Won't Start (DCOM error 2) RRS feed

  • Question

  • On Windows 8 consumer preview I'm getting the following error whenever I try to launch the Windows Store on one of my accounts (a domain account):

     

      Unable to start a DCOM Server: Windows.Store as Unavailable/Unavailable. The error:

      "2"

      Happened while starting this command:

      "C:\Windows\System32\WWAHost.exe" -ServerName:Windows.Store

    This installation was a fresh installation of Windows 8 on a Samsung Series 7 Slate. Note that a local account on the same machine launches the store successfully. Both accounts are administrators.

     

    DCOM settings (component services) have local launch and local activation set for "everyone" (and administrators).

     

    I could probably delete the profile and start the account again but I'd rather not have to set up everything again.  Any ideas?

    Monday, April 9, 2012 4:26 PM

Answers

  • Some folks have reported this issue being resolved after running a Win8 Refresh and I suggest giving that a try. (Search / Settings / Refresh Your PC)

    If this is only occurring on Domain-joined machines, you probably have a group policy that's pushing a custom security template or other security setting that removes "All Application Packages" group from a file, registry or COM ACL.  The easiest litmus test is to join a broken machine to a workgroup, then Refresh the PC to restore default security.  If that fixes it and re-joining the domain breaks you again, the domain admin will need to investigate what security settings are being pushed that may be removing "All Application Packages".

    -AaronMax

    Monday, April 23, 2012 7:11 PM

All replies

  • All other Metro apps work, just not the store.  I did try deleting and recreating the OLE registry key but there was no change.  Also, only one profile is impacted, my other profile (local account) works fine so I suspect it's something in the local user profile or registry keys rather than the system itself.

    Thanks

    Tuesday, April 10, 2012 11:43 PM
  • Same here. I have a domain account that wont launch the store or remote desktop no matter how many times I try to delete the profile. It does however work if using a temporary profile or a local account.

    The error in the event log is is Event 10001, DistributedCOM, System Log:

    Unable to start a DCOM Server: Windows.Store as Unavailable/Unavailable. The error:
    "2"
    Happened while starting this command:
    "C:\Windows\System32\WWAHost.exe" -ServerName:Windows.Store

    Things I've tried:

    • Removing cruft entries, and the domain account from HKLM\Software\Microsoft\AllUserInstallAgent, including removing a local user account that I had then deleted causing the error "The Windows All-User Install Agent cannot determine if user SID S-1-5-21-2189219270-3957301540-110416671-1013 is a valid user account. "
    • Verified the DCOM registry key mentioned above.
    • The display resolution is not an issue - 1920x1200
    Thursday, April 12, 2012 8:19 PM
  • Ooh, just saw this in the application log:

    Event 6003, Winlogon

    The winlogon notification subscriber <AUInstallAgent> was unavailable to handle a critical notification event.

    Followed by event 6000:

    The winlogon notification subscriber <AUInstallAgent> was unavailable to handle a notification event.

    Thursday, April 12, 2012 8:23 PM
  • I've yet to fix this. Anyone got any ideas?

    Can also confirm I have that SChannel error too: 

    System -> Schannel -> Event ID: 36888

    "A fatal alert was generated and sent to the remote endpoint. This may result in termination of the connection. The TLS protocol defined fatal error code is 70. The Windows SChannel error state is 105."

    Tuesday, April 17, 2012 9:35 PM
  • Some folks have reported this issue being resolved after running a Win8 Refresh and I suggest giving that a try. (Search / Settings / Refresh Your PC)

    If this is only occurring on Domain-joined machines, you probably have a group policy that's pushing a custom security template or other security setting that removes "All Application Packages" group from a file, registry or COM ACL.  The easiest litmus test is to join a broken machine to a workgroup, then Refresh the PC to restore default security.  If that fixes it and re-joining the domain breaks you again, the domain admin will need to investigate what security settings are being pushed that may be removing "All Application Packages".

    -AaronMax

    Monday, April 23, 2012 7:11 PM
  • Exactly same problem here. To check if this is a domain problem, created a test account and logged on - no problems at all.

    BTW My install is on a "normal" PC with a SSD as the primary drive.

    1st error:
    Unable to start a DCOM Server: Windows.Store as Unavailable/Unavailable. The error:"2"
    Happened while starting this command:"C:\Windows\System32\WWAHost.exe" -ServerName:Windows.Store

    2nd error:
    The machine-default permission settings do not grant Local Activation permission for the COM Server application with CLSID {9BA05972-F6A8-11CF-A442-00A0C90A8F39} and APPID {9BA05972-F6A8-11CF-A442-00A0C90A8F39} to the user mydomain\myuserid SID (mySID) from address LocalHost (Using LRPC). This security permission can be modified using the Component Services administrative tool.

    Thursday, April 26, 2012 12:19 PM
  • I found that I had a similar problem with my local migrated/moved account, but not newly created accounts. You can try this...

    Install Process Explorer from http://technet.microsoft.com/en-us/sysinternals/bb896653

    Run Process Explorer and add a filter that looks like: "Path, begins with, C:\Users\Paul\AppData\Local\Packages". Replace "Paul" with your account name/path, etc. :)

    Start capturing events in Process Explorer

    Try to run the Store App

    Stop capturing events in Process Explorer

    Examine the events. Notice what WWAHost.exe is trying to open. open result = unknown. Access Denied or something...

    10:58:07.9768507 PM WWAHost.exe 1468 CreateFile C:\Users\Paul\AppData\Local\Packages\winstore_cw5n1h2txyewy\AC\PRICache REPARSE Desired Access: Read Data/List Directory, Synchronize, Dis, Options: Directory, Synchronous IO Non-Alert, Open Reparse Point, Attributes: N, ShareMode: Read, Write, AllocationSize: 0, OpenResult: <unknown>
    10:58:07.9772496 PM WWAHost.exe 1468 CreateFile C:\Users\Paul\AppData\Local\Packages\winstore_cw5n1h2txyewy\AC\PRICache REPARSE Desired Access: Read Data/List Directory, Synchronize, Dis, Options: Directory, Synchronous IO Non-Alert, Open Reparse Point, Attributes: N, ShareMode: Read, Write, AllocationSize: 0, OpenResult: <unknown>
    10:58:08.0142931 PM WWAHost.exe 1468 CreateFile C:\Users\Paul\AppData\Local\Packages\winstore_cw5n1h2txyewy\AC\PRICache REPARSE Desired Access: Read Data/List Directory, Synchronize, Dis, Options: Directory, Synchronous IO Non-Alert, Open Reparse Point, Attributes: N, ShareMode: Read, Write, AllocationSize: 0, OpenResult: <unknown>
    10:58:08.0241068 PM WWAHost.exe 1468 CreateFile C:\Users\Paul\AppData\Local\Packages\winstore_cw5n1h2txyewy\AC\PRICache REPARSE Desired Access: Read Data/List Directory, Synchronize, Dis, Options: Directory, Synchronous IO Non-Alert, Open Reparse Point, Attributes: N, ShareMode: Read, Write, AllocationSize: 0, OpenResult: <unknown>

    So let's go examine folder permissions. Open an admin/elevated cmd.exe shell so you can run icacls.exe with elevated privileges.

    Examine an account where the Store App opens (go create a local account and try it, if you wish, for comparison)...

    C:\Users\TempUser\AppData\Local\Packages\WinStore_cw5n1h2txyewy>icacls ac
    ac S-1-15-2-2608634532-1453884237-1118350049-1925931850-670756941-1603938316-3764965493:(OI)(CI)(F)
       NT AUTHORITY\SYSTEM:(I)(OI)(CI)(F)
       BUILTIN\Administrators:(I)(OI)(CI)(F)
       PAULBROHOME\TempUser:(I)(OI)(CI)(F)
       Mandatory Label\Low Mandatory Level:(OI)(CI)(NW)

    Now examine your account where the Store App fails to open. Oops, I don't have an AC folder. Let's go make one...

    C:\Users\Paul\AppData\Local\Packages\WinStore_cw5n1h2txyewy>md AC

    But it needs some ACEs in its ACL...

    C:\Users\Paul\AppData\Local\Packages\WinStore_cw5n1h2txyewy\icacls ac
    ac S-1-15-2-2608634532-1453884237-1118350049-1925931850-670756941-1603938316-3764965493:(OI)(CI)(F)
       NT AUTHORITY\SYSTEM:(I)(OI)(CI)(F)
       BUILTIN\Administrators:(I)(OI)(CI)(F)
       PAULBROHOME\Paul:(I)(OI)(CI)(F)

    Let's give it what it needs and create the PRICache folder while we are at it...

    C:\Users\Paul\AppData\Local\Packages\WinStore_cw5n1h2txyewy>icacls AC\ /grant *S-1-15-2-2608634532-1453884237-1118350049-1925931850-670756941-1603938316-3764965493:(OI)(CI)(F) /setintegritylevel (OI)(CI)L

    C:\Users\Paul\AppData\Local\Packages\WinStore_cw5n1h2txyewy>cd AC

    C:\Users\Paul\AppData\Local\Packages\WinStore_cw5n1h2txyewy\AC>md PRICache

    Note that PRICache has the ACEs it needs because the ACEs on the AC folder are inheritable (I)(OI)(CI)...

    C:\Users\Paul\AppData\Local\Packages\WinStore_cw5n1h2txyewy\AC>icacls PRICache
    PRICache S-1-15-2-2608634532-1453884237-1118350049-1925931850-670756941-1603938316-3764965493:(I)(OI)(CI)(F)
             NT AUTHORITY\SYSTEM:(I)(OI)(CI)(F)
             BUILTIN\Administrators:(I)(OI)(CI)(F)
             PAULBROHOME\Paul:(I)(OI)(CI)(F)
             Mandatory Label\Low Mandatory Level:(I)(OI)(CI)(NW)

    Run the Store App. Launched for me without problems.

    Hope this works for you. I'll push this info to other related posts, as well.


    Microsoft Expression Setup Developer

    Tuesday, March 19, 2013 6:55 AM
  • What if Packages\WinStore_cw5n1h2txyewy is missing?
    Friday, May 17, 2013 6:41 PM