保护自己电脑安全的几个有用Windows命令

1.查看正在运行的服务

net start 

 

2. 查看正在执行的进程

tasklist /svc

tasklist /svc |find "876"

 

3. 查看进程监听的端口

netstat –ano  

netstat -ano|find "3389"

 

4.查看进程的执行路径

wmic process get name,executablepath,processid

wmic process get name,executablepath,processed | find “876”

 

5.查看自启动程序和启动位置

wmic startup get name,location

 

6.查看用户

wmic useraccount get name,passwordrequired

 

7.中止进程

taskkill /pid 524 /t

ntsd -c q -p 2312

 

 

 

 

你可能感兴趣的:(职场,休闲,windows命令)