Joel's dev blog

Basic system status checkups for windows

May 06, 2018

2 min read

Windows (.bat)

First, download and add to path:

And run this batch file and save it somewhere (start analyse.bat or analyse.bat)

echo off
@echo ===== date /T ====
date /T

@echo ===== time /T ====
time /T

@echo ===== uptime (net stats srv) ====
net stats srv

@echo ===== psinfo -h -s (system info) ====
psinfo -h -s

@echo ===== pslist -t (process list) ====
pslist -t

@echo ===== psservice (service list) ====
psservice

@echo ===== listdlls (dlls) ====
listdlls 

@echo ===== handle ====
handle 

@echo ===== netstat -an ====
netstat -an

@echo ===== promiscdetect ====
promiscdetect

@echo ===== net user ====
net user

@echo ===== net localgroup ====
net localgroup

@echo ===== net share ====
net share

@echo ===== net session ====
net session

@echo ==== net localgroup administrators ====
net localgroup administrators

@echo ==== nbtstat -c ====
nbtstat -c

@echo ==== ntlast -f -s (fail and success)====
ntlast -f -s

@echo ==== fport /i ====
fport /i

Check internet temp files

  • Temporary Internet Objects %SystemRoot%Downloaded Program Files
  • Temporary Internet Files %USERPROFILE%Local Settings\Temporary Internet Files
  • Opened pages %USERPROFILE%Local Settings\History
  • Temporary cookie files %USERPROFILE%Local Settings\COOKIES

Written by Joel Mun. Joel likes Rust, GoLang, Typescript, Wasm and more. He also loves to enlarge the boundaries of his knowledge, mainly by reading books and watching lectures on Youtube. Guitar and piano are necessities at his home.

© Joel Mun 2024