CMD: Difference between revisions

From Piszczynski
piszczynski>Aleks
Line 12: Line 12:
*net view
*net view


List Tasks:
*tasklist
Stop process
*taskkill /im "name of program"
*taskkill /f /in "name"  - to force close
*taskkill /pid "id number off process"
*taskkill /s "other computer name" /im "name of program"
*taskkill /f /fi "status eq not responding" - kill all not responding processes using filter "/fi" and force "/f"


Log people off servers
Log people off servers

Revision as of 22:04, 2 December 2018

Handy CMD commands

Check network settings

  • ipconfig


Check DNS and resolve ip to host

  • nslookup


View network resources

  • net view

List Tasks:

  • tasklist


Stop process

  • taskkill /im "name of program"
  • taskkill /f /in "name" - to force close
  • taskkill /pid "id number off process"
  • taskkill /s "other computer name" /im "name of program"
  • taskkill /f /fi "status eq not responding" - kill all not responding processes using filter "/fi" and force "/f"

Log people off servers

  • qwinsta /server:Servername
  • logoff /server:Servername id


Open control panel items

  • control /name microsoft.<controlpanelitem>
  • eg "control /name microsoft.credentialmanager"


Change prompt text

  • prompt