Common command line COMMANDS IN WINDOWS

Source: Internet
Author: User
Tags net time domain list net send nslookup

From: http://blog.csdn.net/blog51/archive/2006/09/18/1236425.aspx

Net view ------- displays the domain list, computer list, or the total number of specified computers
Winver --------- check the Windows version
Wmimgmt. msc ---- open the windows management architecture
Wupdmgr -------- Windows Update Program
Wscript -------- Windows Script Host settings
Write ---------- WordPad winmsd ----- system information
Wiaacmgr ------- scanner and camera wizard
Winchat -------- XP built-in LAN chat
Mem.exe -------- Display memory usage
Msconfig.exe --- System Configuration Utility
Mplayer2 ------- simple Widnows Media Player
Mspaint -------- graphic Board
Mstsc ---------- Remote Desktop Connection

Net use // ip/IPC $ ""/User: "" Create an empty IPC Link
Net use // ip/IPC $ "password"/User: "User Name" Create an IPC non-empty Link
Net use H: // IP/C $ "password"/User: "User Name". After you log on directly, map the other party C: H to the local device:
Net use H: // IP/C $ after login ing to the other Party C: to the local is h:
Net use // ip/IPC $/del Delete IPC Link
. Net use H:/DEL: Delete the H ing from the ing peer to the local host that is H:
Net user username and password/Add create user
Net user guest/active: yes to activate the Guest user
. Net user.
Net user account name view account attributes
Net localgroup administrators user name/Add add the "user" to the administrator so that it has administrator permissions. Note: Add s to the Administrator and use the plural
Net start to check which services are enabled
. Net start service name. (For example, Net start Telnet and Net start Schedule)
Net stop service name to stop a service
NET Time // view the target IP address's time
NET Time // the destination IP address/set sets the time synchronization between the local computer time and the "Destination IP" host. The parameter/Yes can be used to cancel the confirmation.
. Net view.
Net view // ip address to view which shares are enabled in the Peer LAN
Net config display system network settings
. Net logoff disconnection sharing
. Net pause service name: suspend a service
Net send IP "Text Information" sends information to the recipient
Network Connection type and information being used in the net ver LAN
. NET Share
NET Share IPC $ enable IPC $ share
NET Share IPC $/del Delete IPC $ share
NET Share C $/del Delete C: Share
Net user guest 12345 after logging in with the guest user, change the password to 12345
Net Password Change System Login Password
Netstat-A is usually used to check which ports are enabled.
Netstat-N is commonly used to view the network connection of a port.
Netstat-V view ongoing work
Netstat-P protocol name example: netstat-p tcq/IP to view the usage of a protocol (view the usage of TCP/IP protocol)
Netstat-S: view all protocol usage in use
If an nbtstat-a ip address is enabled on one of the ports from 136 to 139, you can view the user name that the other party recently logged on to (the user name is before 03). Note: Parameter-A must be capitalized.
Tracert-parameter IP (or computer name) Tracking routing (packet), parameter: "-W number" is used to set the timeout interval.
Ping An IP address (or domain name) to send 32-byte data to the host. Parameter: "-l [space] data packet size"; "-N data transmission count "; "-T" indicates that the Ping is always performed.
Ping-T-l 65550 IP address death Ping (send a file larger than 64 KB and ping it until the ping ends)
Ipconfig (winipcfg) is used for Windows NT and XP (Windows 95 98) to view the local IP address. The "/all" parameter of ipconfig shows all configuration information.
Tlist-T displays processes in the tree line list (this is an additional system tool, which is not installed by default and is in the support/tools folder of the installation directory)
After the kill-f process name is added with the-F parameter, a process is forcibly terminated. (This is an additional tool of the system. It is not installed by default. It is in the support/tools folder of the installation directory)
After the Del-F file name and the-F parameter are added, the read-only files can be deleted./AR,/AH,/As, And/AA respectively indicate the deletion of read-only, hidden, system, and archive files, /A-R,/a-h,/a-s,/A-A means to delete files except read-only, hidden, system, archive. For example, "del/AR *. *" means to delete all read-only files in the current directory, "del/A-S *. *" means to delete all files except system files in the current directory

Net user test 123456/Add add a test user password of 123456
Net localgroup administrators test/Add add him to the Administrator Group
Net start telnet to open the peer's Telnet Service
Net use Z: // 127.0.0.1 // C $ maps the C disk of the other party
Net user guest/active: Yes activates the Guest user
Net user guest 123456 change the password of guest to 123456
. Net user
. Net user username/delete deleted
NET Time // The time when the IP address gets the peer address,

Mplayer2 ------- Media Player
Magnify -------- magnifier Utility
MMC ------------ open the Console
Mobsync -------- synchronization command
Dxdiag --------- check DirectX Information
Drwtsn32 ------ system doctor
Devmgmt. msc --- Device Manager
Dfrg. msc ------- disk fragment Program
Diskmgmt. msc --- disk Management Utility
Dcomcnfg ------- open the system component service
Ddeshare ------- enable DDE sharing settings
Dvdplay -------- DVD player
Net stop messenger ----- stop the Messenger Service
Net start messenger ---- start the Messenger Service
Notepad -------- open notepad
NSLookup ------- network management tool wizard
Ntbackup ------- system backup and Restoration
NARRATOR ------- screen "narrator"
Ntmsmgr. msc ---- mobile Storage Manager
Ntmsoprq. msc --- mobile storage administrator Operation Request
Netstat-An ---- (TC) command Check interface
Syncapp -------- create a briefcase
Sysedit -------- System Configuration Editor
Sigverif ------- file signature verification program
Sndrec32 ------- Recorder
Shrpubw -------- create a shared folder
Secpol. msc ----- Local Security Policy
Syskey --------- system encryption. Once encrypted, it cannot be unlocked. This protects Windows XP dual passwords.
Services. msc --- local service settings
Sndvol32 ------- Volume Control Program
Sfc.exe -------- System File Checker
SFC/scannow --- Windows File Protection
NSLookup ------- 60 seconds countdown shutdown command
Tourstart ------ XP introduction (roaming XP program displayed after installation)
Taskmgr -------- Task Manager
Eventvwr ------- Event Viewer
Eudcedit ------- Word Creation Program
Explorer ------- open the Resource Manager
Packager ------- object package
Perfmon. msc ---- computer performance monitoring program
Progman -------- Program Manager
Regedit.exe ---- Registry
Rsop. msc ------- group policy result set
Regedt32 ------- Registry Editor
Rononce-P ---- shutdown in 15 seconds
Regsvr32/u *. dll ---- stop DLL file running
Regsvr32/u zipfldr. dll ------ cancel zip support
Cmd.exe -------- cmd Command Prompt
Chkdsk.exe ----- chkdsk disk check
Certmgr. msc ---- Certificate Management Utility
Calc ----------- start Calculator
Charmap -------- start character ing table
Cliconfg ------- SQL Server Client Network Utility
Clipbrd -------- clipboard Viewer
Conf ----------- Start netmeeting
Compmgmt. msc --- Computer Management
Cleanmgr ------- ** organize
Ciadv. msc ------ Indexing Service Program
Osk ------------ enable the Screen Keyboard
Odbcad32 ------- ODBC data source Manager
Oobe/msobe/A ---- check whether XP is activated
Lusrmgr. msc ---- local users and groups
Logoff --------- logout command
Iexpress ------- Trojan bundle tool, which comes with the System
NSLookup ------- IP address Detector
Fsmgmt. msc ----- Shared Folder Manager
Utilman -------- auxiliary tool Manager
Gpedit. msc ----- Group Policy

From: http://www.microsoft.com/technet/prodtechnol/windowsserver2003/zh-chs/library/ServerHelp/3558c421-ba3d-4b8f-a107-b9058cc0f286.mspx? MFR = true

Directory Service command line tool
The directory service command line tool is a set of tools used to manage various objects in Active Directory and query the information in the directory. The following list briefly describes each command line tool and its functions:
• Dsadd-add an object to the directory.
• Dsget-displays the attributes of objects in the directory.
• Dsmod-Modify the selected attributes of existing objects in the directory.
• Dsquery-searches for objects matching the specified search criteria in the directory.
• Dsmove-move an object from its current location to a new parent location.
• Dsrm-delete an object, a complete subdirectory tree under an object in the directory, or both.

 

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.