Najeebsk

PC-Information-Scanner.bat

May 7th, 2022 (edited)
188
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Batch 2.15 KB | None | 0 0
  1. @echo off
  2. Title Najeeb PC Information Scanner
  3. color 1B
  4. echo ############################################################
  5. echo ####                                                    ####
  6. echo #######       Najeeb PC Information Scanner          #######  
  7. echo ####                                                    ####
  8. echo ############################################################  
  9. echo.
  10. echo Gathering information...
  11.  
  12. ::User Information
  13. whoami > %COMPUTERNAME%-IS.txt
  14. whoami /priv >> %COMPUTERNAME%-IS.txt
  15. echo %username% >> %COMPUTERNAME%-IS.txt
  16. net user >> %COMPUTERNAME%-IS.txt
  17. cmdkey /list >> %COMPUTERNAME%-IS.txt
  18.  
  19. ::System Information
  20. systeminfo >> %COMPUTERNAME%-IS.txt
  21. getmac >> %COMPUTERNAME%-IS.txt
  22. dir C:\ >> %COMPUTERNAME%-IS.txt
  23. dir E:\ >> %COMPUTERNAME%-IS.txt
  24. dir F:\ >> %COMPUTERNAME%-IS.txt
  25. dir C:\Users >> %COMPUTERNAME%-IS.txt
  26. dir C:\"Program Files" >> %COMPUTERNAME%-IS.txt
  27. dir /S /B /A  "C:\" >> %COMPUTERNAME%-LISTC.txt
  28. dir /S /B /A  "D:\" >> %COMPUTERNAME%-LISTD.txt
  29. dir /S /B /A  "E:\" >> %COMPUTERNAME%-LISTE.txt
  30. dir /S /B /A  "F:\" >> %COMPUTERNAME%-LISTF.txt
  31. dir /S /B /A  "G:\" >> %COMPUTERNAME%-LISTG.txt
  32. dir /S /B /A  "H:\" >> %COMPUTERNAME%-LISTH.txt
  33. dir /S /B /A  "I:\" >> %COMPUTERNAME%-LISTI.txt
  34. dir /S /B /A  "J:\" >> %COMPUTERNAME%-LISTJ.txt
  35. dir /S /B /A  "K:\" >> %COMPUTERNAME%-LISTK.txt
  36. ::dir C:\"Program Files (x86)" >> %COMPUTERNAME%-IS.txt
  37. tasklist >> %COMPUTERNAME%-IS.txt
  38. wmic startup list full >> %COMPUTERNAME%-IS.txt
  39.  
  40. ::Software Information
  41. wmic product get >> %COMPUTERNAME%-IS.txt
  42. wmic product get /format:csv > %COMPUTERNAME%-IS.csv
  43.  
  44. ::Network Information
  45. ipconfig /all >> %COMPUTERNAME%-IS.txt
  46. net share >> %COMPUTERNAME%-IS.txt
  47. netsh lan show interfaces >> %COMPUTERNAME%-IS.txt
  48. netsh wlan show networks mode=bssid >> %COMPUTERNAME%-IS.txt
  49. netsh wlan show profiles >> %COMPUTERNAME%-IS.txt
  50. netsh wlan export profile folder=. key=clear
  51. netstat -ao >> %COMPUTERNAME%-IS.txt
  52. net view >> %COMPUTERNAME%-IS.txt
  53. arp -a >> %COMPUTERNAME%-IS.txt
  54. ipconfig /displaydns >> %COMPUTERNAME%-IS.txt
  55. ping www.google.com >> %COMPUTERNAME%-IS.txt
  56. tracert www.google.com >> %COMPUTERNAME%-IS.txt
  57.  
  58. exit
Add Comment
Please, Sign In to add comment