locked
Getting error message ACCESS_DENIED when opening device handle through Metro app

    Question

  • Metro app is throwing error message ACCESS_DENIED when trying to get handle to the driver.

    Steps followed:

    1. Install device driver successfully
    2. Generate Metadata
    3. Copy experience id from Metadata to the StoreManifest of the Metro app

    Right now I have installed WDF driver with settings as mentioned in link (msdn.microsoft.com/en-us/library/windows/desktop/hh404264%28v=vs.85%29.aspx) enabled in both INF file and driver code

    But still Metro app throwing error message 'Access_Denied'. I have following information:

    1) Metadata file is not getting copied from WindowsMetadataStore to WindowsMetadataCache folder. Is this issue ?

    2) Tried manually copying Metadata file to MetadataCache folder but still getting error message 'Access_Denied’.

    Thanks.

    Wednesday, October 01, 2014 3:47 PM

All replies

  • I'm moving this to the hardware and devices forum.

    Matt Small - Microsoft Escalation Engineer - Forum Moderator
    If my reply answers your question, please mark this post as answered.

    NOTE: If I ask for code, please provide something that I can drop directly into a project and run (including XAML), or an actual application project. I'm trying to help a lot of people, so I don't have time to figure out weird snippets with undefined objects and unknown namespaces.

    Thursday, October 02, 2014 1:51 PM
    Moderator
  • Please respond.

    Thanks.

    Saturday, October 04, 2014 6:12 AM