Create an account

Very important

  • To access the important data of the forums, you must be active in each forum and especially in the leaks and database leaks section, send data and after sending the data and activity, data and important content will be opened and visible for you.
  • You will only see chat messages from people who are at or below your level.
  • More than 500,000 database leaks and millions of account leaks are waiting for you, so access and view with more activity.
  • Many important data are inactive and inaccessible for you, so open them with activity. (This will be done automatically)


Thread Rating:
  • 681 Vote(s) - 3.48 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Exporting device manager to a txt file

#1
I am trying to create a .bat file that when ran, it exports all of the devices from device manager to a .txt file.

Everything I have found hasn't been clear.

Just looking for some guidance on the command to execute this export. Thanks
Reply

#2
All the content from the device manager? I believe this is what you are looking for. It does take a minute or two to run though and it is easier to read in .xml format, but here you go.


SET msinfo32="%CommonProgramFiles%\Microsoft Shared\MSInfo\msinfo32.exe"
%msinfo32% /nfo hwdres.nfo /categories +resources
rename hwdres.nfo hwdres.txt

The details listed under the "Components" section is what I believe you are after.
Reply

#3
You can generate a text report like this way in a bacth file :

@echo off
Title Generate a text report for Devices manager
Mode con cols=80 lines=3
cls & color 0A & echo.
Set "LogFile=DeviceManager.txt"
echo Please wait a while we generate the report in %LogFile% .....
start /wait msinfo32 /report %LogFile%
start "" notepad %LogFile%

For more information about `msinfo32`

See here:

[To see links please register here]

Reply



Forum Jump:


Users browsing this thread:
1 Guest(s)

©0Day  2016 - 2023 | All Rights Reserved.  Made with    for the community. Connected through