Windows 10: How to read the .pnp file exported by PnpUtil?

Discus and support How to read the .pnp file exported by PnpUtil? in Windows 10 Drivers and Hardware to solve the problem; I heard that PnPUtil.exe had a parameter '/export-pnpstate' which can support analysis of PnP activities. Is there any document to describe how to read... Discussion in 'Windows 10 Drivers and Hardware' started by Kevin JM Liang, May 28, 2021.

  1. How to read the .pnp file exported by PnpUtil?


    I heard that PnPUtil.exe had a parameter '/export-pnpstate' which can support analysis of PnP activities. Is there any document to describe how to read the .pnp file exported by PnpUtil /export-pnpstate?Thanks.

    :)
     
    Kevin JM Liang, May 28, 2021
    #1
  2. SamuelLV Win User

    'Generic PnP monitor' issue

    Hello Angelica,

    I would suggest you follow steps to update the monitor driver:

    Press Windows + X keys

    Choose Device manager

    Click on Monitors

    Right click on ‘Generic PnP monitor’ and click on update driver

    Tap on Browse my computer for driver software

    Tap on Let me pick from a list of available drivers

    Choose ‘Generic PnP monitor’ and tap on Next

    When you are done please restart the computer.
     
    SamuelLV, May 28, 2021
    #2
  3. How to export photos windows 10

    Hi,

    Thank you for posting your query in Microsoft Community.

    I suggest you to follow the below steps & check if it helps.

    If you were using other application apart from file explorer, you may follow the below steps to export to pen drive/flash drive.

    • Open the location where the Photos are located using File Explorer.
    • Select the files you want to Export.
    • Right click on the file and select ‘Send to’ from its context menu.
    • Now select the Jump drive from the sub menu.
    • Once the transfer is done, you may open the jump hard disk drive from the File Explorer and check if the file is present there.
    Please get back with the above information to assist you better.

    Thank you.
     
    Mohammed AliAli, May 28, 2021
    #3
  4. ddelo Win User

    How to read the .pnp file exported by PnpUtil?

    Export All Administrative Events to Excel

    To analyze events, from the Windows Event Viewer, there is a simple way to export all Administrative Events to Excel, with PowerShell.

    Exporting all Administrative Events to Excel is a simple two Step process, as described here:

    Step 1 - Create the Administrative Events View .xml file
    1. Open Eventviewer (%windir%\system32\eventvwr.msc)
    2. Navigate to: Event Viewer (Local) > Custom Views > Administrative Events
    3. In the “Actions” pane select “Filter Current Custom View”.
    4. Select the the XML tab.
    5. Press Ctrl+A to select all the XML code of the Custom View.
    6. Open a notepad, paste the selected code and save the file to your Desktop as AdmEvtView.xml


    Step 2 - Create the csv file with the events
    1. Download the ExportEvtCSV.zip file, which contains the script ExportEvtCSV.ps1 and unzip it, on your Desktop.
      It's not a fancy script, just basic PowerShell commands to create a csv file on the Desktop.
    2. In Windows Search, type “ISE” (without the quotes) to open “Windows PowerShell ISE” and Run as administrator
    3. To allow running the script, change the ExecutionPolicy, for this session. To do that, in the Console pane type:
      Code:
    4. In the Windows PowerShell ISE, open and run the script: ExportEvtCSV.ps1
      The script will create a csv file with a name YYYYMMDD.HHMM.csv on the Desktop
    5. When done, open the newly created .csv file, format the columns as needed and optionally save it as .xlsx, if you wish.
    That’s it! You now have all the Administrative Events in Excel for filtering and further analysis. How to read the .pnp file exported by PnpUtil? :)

    Now to the more technical hard stuff... *Confused

    There is a reason for running the script from within PowerShell ISE!

    It would be great if everything was also working perfectly, when running the script from an elevated PowerShell too.

    We can run it from an elevated PowerShell, which means that you just follow the Step 1, as above but for the Step 2 instead of the ISE you run the script from an elevated PowerShell.

    The problem is that it will work only for anybody who has en-US format for the dates. Everyone else, who has another format (i.e. en-GB, fr-FR, el-GR etc.), the dates are not translated properly by Excel (although the script uses the –UseCulture switch) and remain as text in the en-US format.

    I'm not sure if this a bug of the "export-csv" cmdlet, but although it runs the way it supposed to from within the ISE, from PowerShell there is a problem with the dates format.
    As I haven’t found a way to overcome this obstacle, any suggestion from the PowerShell gurus of the forum (like my good friend Shawn @Brink, for instance), is welcome.
     
    ddelo, May 28, 2021
    #4
Thema:

How to read the .pnp file exported by PnpUtil?

Loading...
  1. How to read the .pnp file exported by PnpUtil? - Similar Threads - read pnp file

  2. How to export Management Log files in Windows 11

    in Windows 10 News
    How to export Management Log files in Windows 11: [IMG]If you are using an enrolled device managed by an admin team, they only have to fix any errors you see on the device. To inspect and get to a fix for the error, they need to have a diagnostic log of the error. It will help them with the details of the error, which […]...
  3. How to safely export a volatile paint 3D file

    in Windows 10 Gaming
    How to safely export a volatile paint 3D file: I have solved my prior problem and made a project I am creating on paint 3D stable enough to interact with through selectively deleting certain parts, however I find when I attempt to export it paint 3D will shut itself down effectively crashing...
  4. How to safely export a volatile paint 3D file

    in Windows 10 Software and Apps
    How to safely export a volatile paint 3D file: I have solved my prior problem and made a project I am creating on paint 3D stable enough to interact with through selectively deleting certain parts, however I find when I attempt to export it paint 3D will shut itself down effectively crashing...
  5. How to export a file created in open office to pdf

    in Windows 10 Gaming
    How to export a file created in open office to pdf: How do I export a document created in Open Office to pdf https://answers.microsoft.com/en-us/windows/forum/all/how-to-export-a-file-created-in-open-office-to-pdf/b2c1683b-5b6a-4582-aef8-e265ba8ad7c7
  6. How to export a file created in open office to pdf

    in Windows 10 Software and Apps
    How to export a file created in open office to pdf: How do I export a document created in Open Office to pdf https://answers.microsoft.com/en-us/windows/forum/all/how-to-export-a-file-created-in-open-office-to-pdf/b2c1683b-5b6a-4582-aef8-e265ba8ad7c7
  7. Export file format / file

    in Windows 10 Network and Sharing
    Export file format / file: I am exporting financial data from a bank web site. The default file is .CSV - which changes the numbers to text. How do I change the default to .XLSX so that the number format is retained in the export file?...
  8. Exporting .3MF file with textures

    in Windows 10 Software and Apps
    Exporting .3MF file with textures: Hi, I am trying to export a .3mf file that has textures that I applied in 3D Builder. However when I open the exported file in another program (eg. 3D Viewer or Paint 3D) the textured surfaces are just gray??? Surfaces with plain colors show up fine. Thanks...
  9. Gmail File > Import/Export > Export to file > Browse to desired place

    in Windows 10 Support
    Gmail File > Import/Export > Export to file > Browse to desired place: Is there a Gmail forum 120054
  10. How to read dump files?

    in Windows 10 BSOD Crashes and Debugging
    How to read dump files?: I just got my first BSOD! I wasn't quick enough to note down the full error as Windows did a crash dump, but I did notice the offending file was an Atheros driver. This was confirmed by Control Panel | Reliability Monitor Source Windows Summary Shut down...