9
13

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Windowsの各種情報収集を行うバッチ

Last updated at Posted at 2014-06-27

Windows Vista以降はワトソン先生居なくなったんですね・・・
本日人に嘘を教えちゃいました。
贖罪のバッチを下記に作成しました(笑)

ststemCheck.cmd
rem ログの収集

mkdir c:\log
c:
cd c:\log

rem ------System関連情報
rem システム情報
systeminfo > systeminfo.txt
msinfo32 /report msinfo32.txt


rem IPアドレス情報
ipconfig /all > ipconfig.txt

rem タスク状況
schtasks /query /V > schtasks.txt

rem ネットワークドライブ情報
net use > netuse.txt

rem ネットワーク統計
netstat -sp > netstat_sp.txt
netstat -e > netstat_e.txt

rem TASKの状態
tasklist > tasklist.txt
tasklist /svc > tasklist_svc.txt
tasklist /m > tasklist_m.txt

rem ------Windows 7 及び 2008のログエクスポート
rem システム
wevtutil qe system /f:TEXT > system_log.txt

rem アプリケーション
wevtutil qe Application /f:TEXT > Application_log.txt
9
13
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
9
13

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?