You are on page 1of 4

Turn Windows features on or off environment variable temp %USERPROFILE%\AppData\Local\Temp TMP %USERPROFILE%\AppData\Local\Temp netplwiz kalo di run: control userpasswords2

cmd powercfg -h off RUN Device Manager devmgmt.msc eventvwr.msc Services control panel: services.msc nbtstat - List NetBIOS stats and information netstat - List TCP/IP stats and information ipconfig - List TCP/IP configuration for a system netsh - Network configuration for a system sc - manage services net - whole slew of commands to manage users and groups, shares, connections , etc. ping - makes sure a system is up on the network tracert - trace the hops between two hosts. useful to see if there's a break in between and where it is. nslookup - Query DNS for information dcdiag - check health of the domain controller setspn - check SPNs for Kerberos configuration shutdown.exe allow you to shutdown or reboot a machine. You can even reboot a remote machine with shutdown -m \\server -t 0 -r It even comes with a graphical user interface shutdown -i and you can abort a shutdown with shutdown -a -------------------Robocopy is really useful. It mirrors directories. It is great for backups, restoring, and transferring large amounts of files. It only transfers files which have changed and can resume from where it left off. It comes standard in Windows Vista and later, but Windows XP users can get it as part of the Windows Server 2003 Resource Kit (free) or later. ----------------(Not really a command per-se, but a way to get there.) For those of you that find yourself going to Start > Run > "cmd" a lot, you can cut down some steps. Say you want to get your IP address. You would normally go Start > Run > "cmd" [ enter] then...

ipconfig [enter] Now instead, go... Start > Run > "cmd /k ipconfig" This will run cmd and the command 'ipconfig', and it will keep the window open. So if I want to quickly get my MAC address (physical address), I'd do: cmd /k ipconfig /all ...all from the run menu in one line.

&& - Command Chaining %SYSTEMROOT%\System32\rcimlby.exe -LaunchRA - Remote Assistance (Windows XP) appwiz.cpl - Programs and Features (Formerly Known as "Add or Remove Program s") appwiz.cpl @,2 - Turn Windows Features On and Off (Add/Remove Windows Compon ents pane) arp - Displays and modifies the IP-to-Physical address translation tables us ed by address resolution protocol (ARP) at - Schedule tasks either locally or remotely without using Scheduled Tasks bootsect.exe - Updates the master boot code for hard disk partitions to swit ch between BOOTMGR and NTLDR cacls - Change Access Control List (ACL) permissions on a directory, its sub contents, or files calc - Calculator chkdsk - Check/Fix the disk surface for physical errors or bad sectors cipher - Displays or alters the encryption of directories [files] on NTFS pa rtitions cleanmgr.exe - Disk Cleanup clip - Redirects output of command line tools to the Windows clipboard cls - clear the command line screen cmd /k - Run command with command extensions enabled color - Sets the default console foreground and background colors in console - Default Operating System Shell compmgmt.msc - Computer Management control.exe /name Microsoft.NetworkAndSharingCenter - Network and Sharing Ce nter control keyboard - Keyboard Properties control mouse(or main.cpl) - Mouse Properties control sysdm.cpl,@0,3 - Advanced Tab of the System Properties dialog control userpasswords2 - Opens the classic User Accounts dialog desk.cpl - opens the display properties devmgmt.msc - Device Manager diskmgmt.msc - Disk Management diskpart - Disk management from the command line dsa.msc - Opens active directory users and computers dsquery - Finds any objects in the directory according to criteria dxdiag - DirectX Diagnostic Tool eventvwr - Windows Event Log (Event Viewer) explorer . - Open explorer with the current folder selected. explorer /e, . - Open explorer, with folder tree, with current folder select ed. F7 - View command history find - Searches for a text string in a file or files

findstr - Find a string in a file firewall.cpl - Opens the Windows Firewall settings fsmgmt.msc - Shared Folders fsutil - Perform tasks related to FAT and NTFS file systems ftp - Transfers files to and from a computer running an FTP server service getmac - Shows the mac address(es) of your network adapter(s) gpedit.msc - Group Policy Editor gpresult - Displays the Resultant Set of Policy (RSoP) information for a tar get user and computer httpcfg.exe - HTTP Configuration Utility iisreset - To restart IIS InetMgr.exe - Internet Information Services (IIS) Manager 7 InetMgr6.exe - Internet Information Services (IIS) Manager 6 intl.cpl - Regional and Language Options ipconfig - Internet protocol configuration lusrmgr.msc - Local Users and Groups Administrator msconfig - System Configuration notepad - Notepad? ;) mmsys.cpl - Sound/Recording/Playback properties mode - Configure system devices more - Displays one screen of output at a time mrt - Microsoft Windows Malicious Software Removal Tool mstsc.exe - Remote Desktop Connection nbstat - displays protocol statistics and current TCP/IP connections using N BT ncpa.cpl - Network Connections netsh - Display or modify the network configuration of a computer that is cu rrently running netstat - Network Statistics net statistics - Check computer up time net stop - Stops a running service. net use - Connects a computer to or disconnects a computer from a shared res ource, displays information about computer connections, or mounts a local share with different privileges (documentation) odbcad32.exe - ODBC Data Source Administrator pathping - A traceroute that collects detailed packet loss stats perfmon - Opens Reliability and Performance Monitor ping - Determine whether a remote computer is accessible over the network powercfg.cpl - Power management control panel applet qfecheck - Shows installed Hotfixes applied to the server/workstation. quser - Display information about user sessions on a terminal server qwinsta - See disconnected remote desktop sessions reg.exe - Console Registry Tool for Windows regedit - Registry Editor rasdial - Connects to a VPN or a dialup network robocopy - Backup/Restore/Copy large amounts of files reliably rsop.msc - Resultant Set of Policy (shows the combined effect of all group p olicies active on the current system/login) runas - Run specific tools and programs with different permissions than the user's current logon provides sc - Manage anything you want to do with services. schtasks - Enables an administrator to create, delete, query, change, run an d end scheduled tasks on a local or remote system. secpol.msc - Local Security Settings services.msc - Services control panel set - Displays, sets, or removes cmd.exe environment variables. set DIRCMD - Preset dir parameter in cmd.exe start - Starts a separate window to run a specified program or command start. - opens the current directory in the Windows Explorer. shutdown.exe - Shutdown or Reboot a local/remote machine

subst.exe - Associates a path with a drive letter, including local drives systeminfo -Displays a comprehensive information about the system taskkill - terminate tasks by process id (PID) or image name tasklist.exe - List Processes on local or a remote machine taskmgr.exe - Task Manager telephon.cpl - Telephone and Modem properties timedate.cpl - Date and Time title - Change the title of the CMD window you have open tracert - Trace route whoami /all - Display Current User/Group/Privilege Information wmic - Windows Management Instrumentation Command-line winver.exe - Find Windows Version wscui.cpl - Windows Security Center wuauclt.exe - Windows Update AutoUpdate Client