Upload
filipa
View
217
Download
0
Embed Size (px)
DESCRIPTION
Sample with DOS Commands for Windows.
Citation preview
DOS COMMANDS 1
Comandos – EPO 2015
Administrator / Power User Corner
To Access Run Command
Group Policy Editor (XP Prof) gpedit.msc Local Security Settings secpol.msc Local Users and Groups lusrmgr.msc Component Services dcomcnfg Computer Management compmgmt.msc Device Manager devmgmt.msc Indexing Service ciadv.msc Security Center wscui.cpl Resultant Set of Policy (XP Prof) rsop.msc Registry Editor regedit Registry Editor regedit32 Remote Access Phonebook rasphone Remote Desktop mstsc Removable Storage ntmsmgr.msc Removable Storage Operator Requests ntmsoprq.msc Services services.msc Shared Folders fsmgmt.msc System Configuration Editor sysedit System Configuration Utility msconfig System Properties sysdm.cpl User Account Management nusrmgr.cpl Windows Management Infrastructure wmimgmt.msc Windows System Security Tool syskey Windows Update Launches wupdmgr Password Properties password.cpl Performance Monitor perfmon.msc Performance Monitor perfmon Private Character Editor eudcedit SQL Client Configuration cliconfg
User Corner
To Access Run Command
Control Panel control Date and Time Properties timedate.cpl Accessibility Controls access.cpl Accessibility Wizard accwiz Add Hardware Wizard hdwwiz.cpl Add/Remove Programs appwiz.cpl Administrative Tools control
admintools Automatic Updates wuaucpl.cpl Calculator calc Certificate Manager certmgr.msc Direct X Control Panel (If Installed)* directx.cpl Display Properties control desktop Display Properties desk.cpl Display Properties (w/Appearance Tab Preselected)
control color
Java Control Panel (If Installed) jpicpl32.cpl Java Control Panel (If Installed) javaws Mouse Properties control mouse Mouse Properties main.cpl Phone and Modem Options telephon.cpl Phone Dialer dialer Power Configuration powercfg.cpl Printers and Faxes control printers Printers Folder printers Regional Settings intl.cpl Scanners and Cameras sticpl.cpl Scheduled Tasks control
schedtasks Fonts control fonts Game Controllers joy.cpl Folders Properties control folders Fonts Folder fonts Keyboard Properties control keyboard ODBC Data Source Administrator odbccp32.cpl Sounds and Audio mmsys.cpl Tweak UI (if installed) tweakui
Network Configuration / Tools
To Access Run Command
Internet Connection Wizard icwconn1 Internet Explorer iexplore Internet Properties inetcpl.cpl Internet Setup Wizard inetwiz IP Configuration (Display Connection Configuration)
ipconfig /all
IP Configuration (Display DNS Cache Contents)
ipconfig /displaydns
IP Configuration (Delete DNS Cache Contents)
ipconfig /flushdns
IP Configuration (Release All Connections)
ipconfig /release
IP Configuration (Renew All Connections)
ipconfig /renew
IP Configuration (Refreshes DHCP & Re-Registers DNS)
ipconfig /registerdns
IP Configuration (Display DHCP Class ID)
ipconfig /showclassid
IP Configuration (Modifies DHCP Class ID)
ipconfig /setclassid
Network Connections control netconnections
Network Connections ncpa.cpl Network Setup Wizard netsetup.cpl Netmeeting conf Bluetooth Transfer Wizard fsquirt Telnet Client telnet Windows Firewall firewall.cpl Netsh is a command-line scripting utility
netsh
System Maintenance
To Access Run Command
Disk Cleanup Utility cleanmgr Disk Defragment dfrg.msc Disk Management diskmgmt.msc Disk Partition Manager diskpart Check Disk Utility chkdsk System File Checker Utility (Scan Immediately)
sfc /scannow
System File Checker Utility (Scan Once At Next Boot)
sfc /scanonce
System File Checker Utility (Scan On Every Boot)
sfc /scanboot
System File Checker Utility (Return to Default Setting)
sfc /revert
System File Checker Utility (Purge File Cache)
sfc /purgecache
System File Checker Utility (Set Cache Size to size x)
sfc /cachesize=x
Troubleshooting / System Diagnostics / System Information
To Access Run Command
Direct X Troubleshooter dxdiag Dr. Watson System Troubleshooting Utility drwtsn32 Driver Verifier Utility verifier Event Viewer eventvwr.msc File Signature Verification Tool sigverif Task Manager taskmgr TCP Tester tcptest System Information msinfo32 Windows Version (to show which version of windows)
winver
DOS COMMANDS 2
Secuirty
To Access Run Command
Malicious Software Removal Tool mrt
User / session control
To Access Run Command
Logs You Out Of Windows logoff Shuts Down Windows shutdown
Misc
To Access Run Command
Notepad notepad Wordpad write Paint pbrush Utility Manager utilman Windows Media Player wmplayer Windows Messenger msmsgs
Windows Picture Import Wizard (need camera connected)
wiaacmgr
Windows XP Tour Wizard tourstart Character Map charmap Windows Address Book wab Windows Address Book Import Utility wabmig Windows Backup Utility (if installed) ntbackup Windows Explorer explorer Windows Magnifier magnify Clipboard Viewer clipbrd Command Prompt cmd DDE Shares ddeshare Files and Settings Transfer Tool migwiz Findfast findfast.cpl Help and Support helpctr HyperTerminal hypertrm Iexpress Wizard iexpress Microsoft Chat winchat Microsoft Syncronization Tool mobsync Object Packager packager On Screen Keyboard osk Outlook Express msimn
Windows Environment Variables
%ALLUSERSPROFILE% Local returns the location of the All Users Profile.
%APPDATA% Local returns the location where applications store data by default. %CD% Local returns the current directory string. %CMDCMDLINE% Local returns the exact command line used to start the current cmd.exe. %CMDEXTVERSION% System returns the version number of the current Command Processor Extensions. %COMPUTERNAME% System returns the name of the computer. %COMSPEC% System returns the exact path to the command shell executable. %DATE% System returns the current date. This variable uses the same format as the date /t command. Cmd.exe generates this variable. For more
information about the date command, see the Date command. %ERRORLEVEL% System returns the error code of the most recently used command. A non-0 value usually indicates an error. %HOMEDRIVE% System returns which local workstation drive letter is connected to the user's home directory. This variable is set based on the value of the home
directory. The user's home directory is specified in Local Users and Groups. %HOMEPATH% System returns the full path of the user's home directory. This variable is set based on the value of the home directory. The user's home directory is
specified in Local Users and Groups. %HOMESHARE% System returns the network path to the user's shared home directory. This variable is set based on the value of the home directory. The user's home
directory is specified in Local Users and Groups. %LOGONSERVER% Local returns the name of the domain controller that validated the current logon session. %NUMBER_OF_PROCESSORS% System specifies the number of processors installed on the computer. %OS% System returns the OS name. Windows XP and Windows 2000 display the OS as Windows_NT. %PATH% System specifies the search path for executable files. %PATHEXT% System returns a list of the file extensions that the OS considers to be executable. %PROCESSOR_ARCHITECTURE% System returns the processor's chip architecture. Values: x86, IA64. %PROCESSOR_IDENTIFIER% System returns a description of the processor. %PROCESSOR_LEVEL% System returns the model number of the computer's processor. %PROCESSOR_REVISION% System returns the revision number of the processor. %PROGRAMFILES% returns the location of the default install directory for applications. %PROMPT% Local returns the command-prompt settings for the current interpreter. Cmd.exe generates this variable. %RANDOM% System returns a random decimal number between 0 and 32767. Cmd.exe generates this variable. %SYSTEMDRIVE% System returns the drive containing the Windows root directory (i.e., the system root). %SYSTEMROOT% System returns the location of the Windows root directory. %TEMP% System and User return the default temporary directories for applications that are available to users who are currently logged on. Some applications
require TEMP and others require TMP. %TMP% System and User return the default temporary directories for applications that are available to users who are currently logged on. Some applications
require TEMP and others require TMP. %TIME% System returns the current time. This variable uses the same format as the time /t command. Cmd.exe generates this variable. For more
information about the time command, see the Time command. %USERDOMAIN% Local returns the name of the domain that contains the user's account. %USERNAME% Local returns the name of the user currently logged on. %USERPROFILE% Local returns the location of the profile for the current user. %WINDIR% System returns the location of the OS directory