click below
click below
Normal Size Small Size show me how
Windows commands
common windows commands
Question | Answer |
---|---|
nslookup | used to test name resolution problems with DNS servers by allowing you to request information from a DNS server's zone data. |
shutdown | restarts the local computer |
ping | tests for connectivity using IP address. If the remote computer responds, the round-trip times are displayed. |
netstat | Lists statistics about the network connection, including the IP addresses of active connections. |
dism | repairs corrupted windows system files when SFC cannot do the job or windows Update is corrupted. |
sfc | verifies and, if necessary, refreshes a windows system file, replacing it with one kept in a cache of current system files or downloaded from the internet with the help of windows Updates. |
taskkill | uses the process ID to kill the task or process. Use taskkill to end a process when task manager is unable to do so. |
ipconfig | displays network configuration information and refresh the TCP/IP assignments for a connection, including its IP address. |
tasklist | reports the process identifier (PID) which is a number that identifies each running process. |
tracert | useful when you're trying to resolve a problem reaching a destination host such as an FTP site or website. |
chkdsk | fixes file system errors and recovers data from bad sectors. |
diskpart | a windows command to manage hard drives, partitions, and volumes. |
gpresult | finds out which group polices are currently applied to system for the computer or user. |
format | prepare a hard drive volume, logical drive, or USB flash drive for use this process erases all data on the device |
xcopy | a windows command more powerful than the copy command that is used to copy files and folders. |
copy | the windows command to copy a single file, a group of files or a folder and its contents. |
bootrec | repairs the BCD and boot sectors |
robocopy | a Windows command that is similar to and more powerful than the xcopy command; it is used to copy files and folders. |
net use | a windows TCP/IP command that connects or disconnects a computer from a shared resource or can display information about connections. |
msconfig | temporarily disable programs from launching at startup in order to troubleshoot a startup problem. |
net user | a windows TCP/IP command used to manage user accounts. |
gpupdate | refreshes local group policies as well as group policies set in AD on a windows domain. |