Advertisement
Guest User

Corrected System Info Report

a guest
Oct 11th, 2016
299
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Batch 6.33 KB | None | 0 0
  1. @echo off
  2. :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
  3. ::   CUSTOMIZATION:
  4. :: "set chosenpath=" determines the location of the script's output.
  5. :: You may enter any path and filename you wish.
  6. :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
  7. set ChosenPath=%USERPROFILE%\Desktop\InfoReport.txt
  8. :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
  9. color 1f
  10. title System Information Report
  11. echo.
  12. echo.
  13. echo.
  14. echo  This script will begin gathering info when you are ready.
  15. echo.
  16. echo  When the script completes, the report will open automatically.
  17. echo.
  18. pause
  19. color 3f
  20. cls
  21. echo.
  22. echo I will begin creating the report now.
  23. echo. >%ChosenPath%
  24. echo ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >>%ChosenPath%
  25. echo IDENTIFICATION and MOTHERBOARD INFORMATION: >>%ChosenPath%
  26. echo. >>%ChosenPath%
  27. wmic /append:%ChosenPath% computersystem get name,model,manufacturer,systemtype,domain
  28. echo Motherboard part # and serial #: >>%ChosenPath%
  29. wmic /append:%ChosenPath% path win32_baseboard get manufacturer, Product, serialnumber
  30. echo Computer Serial # is: >>%ChosenPath%
  31. WMIC BIOS GET SerialNumber | find /V "SerialNumber" >>%ChosenPath%
  32. echo BIOS version: >>%ChosenPath%
  33. wmic BIOS get smbiosbiosversion | find /V "SMBIOSBIOSVersion" >>%ChosenPath%
  34. echo Operating System: >>%ChosenPath%
  35. wmic /append:%ChosenPath% OS get caption, version, osarchitecture
  36. echo ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >>%ChosenPath%
  37. echo PROCESSOR INFORMATION: >>%ChosenPath%
  38. echo. >>%ChosenPath%
  39. wmic /append:%ChosenPath% CPU GET name, caption, maxclockspeed, numberofcores, deviceid, status, addresswidth
  40. echo ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >>%ChosenPath%
  41. echo VIDEO ADAPTER INFORMATION: >>%ChosenPath%
  42. echo. >>%ChosenPath%
  43. echo Capacity is in single bytes. To convert to GB, divide by 1048576. >>%ChosenPath%
  44. wmic /append:%ChosenPath% path win32_videocontroller get name, driverversion, adapterram, videoprocessor
  45. wmic /append:%ChosenPath% path win32_videocontroller get currenthorizontalresolution,currentverticalresolution
  46. wmic /append:%ChosenPath% path win32_videocontroller get currentbitsperpixel,currentrefreshrate
  47. echo ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >>%ChosenPath%
  48. echo MEMORY INFORMATION: >>%ChosenPath%
  49. echo. >>%ChosenPath%
  50. echo Total # of DIMM slots(used AND empty): >>%ChosenPath%
  51. wmic memphysical get memorydevices | find /v "MemoryDevices" >>%ChosenPath%
  52. echo Information on all installed DIMMs: >>%ChosenPath%
  53. echo Capacity is in single bytes. To convert to GB, divide by 1048576. >>%ChosenPath%
  54. wmic /append:%ChosenPath% memorychip get devicelocator,capacity,speed,partnumber,memorytype
  55. echo Memory type codes: >>%ChosenPath%
  56. echo 20=DDR, 21=DDR2, 22=BRAM, 23=FB-DIMM, 24=DDR3, 25=FBD2, 26=DDR4, 27=LPDDR, 28=LPDDR2, 29=LPDDR3, 30=LPDDR4 >>%ChosenPath%
  57. echo If MemoryType = 0, it is unknown. You can find out by searching the part number online. >>%ChosenPath%
  58. echo ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >>%ChosenPath%
  59. echo STORAGE device information: >>%ChosenPath%
  60. echo. >>%ChosenPath%
  61. wmic /append:%ChosenPath% diskdrive get deviceid, manufacturer, model,interfacetype,size
  62. echo Size is in single bytes. To convert to GB, divide by 1048576. >>%ChosenPath%
  63. echo. >>%ChosenPath%
  64. echo ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >>%ChosenPath%
  65. echo NETWORKING INFORMATION for ENABLED INTERFACES:>>%ChosenPath%
  66. echo. >>%ChosenPath%
  67. wmic /append:%ChosenPath% nicconfig where ipenabled=true get dnsdomain,dhcpenabled,dhcpleaseexpires,defaultipgateway,ipaddress,description,dhcpserver,defaultipgateway,dnsserversearchorder,ipsubnet
  68. echo NETWORKING INFORMATION for DISABLED INTERFACES: >>%ChosenPath%
  69. wmic /append:%ChosenPath% nicconfig where ipenabled=false get dnsdomain,dhcpenabled,dhcpleaseexpires,defaultipgateway,ipaddress,description,dhcpserver,defaultipgateway,dnsserversearchorder,ipsubnet
  70. echo ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >>%ChosenPath%
  71. echo PRINTER and FOLDER SHARES: >>%ChosenPath%
  72. net share | find /v "The command completed successfully." >>%ChosenPath%
  73. echo ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >>%ChosenPath%
  74. echo LOCAL and REMOTE PRINTER information: >>%ChosenPath%
  75. echo. >>%ChosenPath%
  76. echo.
  77. echo WORKING...
  78. echo.
  79. wmic /append:%ChosenPath% printer get Name, DriverName, systemname, sharename, PortName, location
  80. echo ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >>%ChosenPath%
  81. echo INSTALLED SOFTWARE (may be incomplete; not all software registers itself in the WMI): >>%ChosenPath%
  82. echo. >>%ChosenPath%
  83. echo.
  84. echo WORKING...
  85. echo.
  86. wmic /append:%ChosenPath% product get vendor,name,version,installlocation
  87. cls
  88. color 2f
  89. echo.
  90. start /MAX notepad.exe "%ChosenPath%"
  91. exit /b
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement