Windows Commands: Think You Know It All !?

Think you know it all, huh!? Talking about Windows commands…
Look at the list below and think twice!
Here is the list of Windows "keyboard" commands that come very handy when working with (mostly fixing or configuring) something in Windows. Quick example on how to run these commands: go to "Start -> Run" type the command name, and … magic! a corresponding GUI window appears in front of your eyes!

For example to see "network connections" window all you need to do is to go to "Start -> Run", type "ncpa.cpl" and click Enter as shown above - that’s all!
Here is the magic list of commands compiled by xakep.ru and updated by me. Enjoy:
| Accessibility Controls | access.cpl |
| Add Hardware Wizard | hdwwiz.cpl |
| Add/Remove Programs | appwiz.cpl |
| Administrative Tools | control admintools |
| Automatic Updates | wuaucpl.cpl |
| Bluetooth Transfer Wizard | fsquirt |
| Calculator | calc |
| Certificate Manager | certmgr.msc |
| Character Map | charmap |
| Check Disk Utility | chkdsk |
| Clipboard Viewer | clipbrd |
| Command Prompt | cmd |
| Component Services | dcomcnfg |
| Computer Management | compmgmt.msc |
| Control Panel | control panel |
| Date and Time Properties | timedate.cpl |
| DDE Share | ddeshare |
| Device Manager | devmgmt.msc |
| Direct X Control Panel (If Installed)* | directx.cpl |
| Direct X Troubleshooter | dxdiag |
| Disk Cleanup Utility | cleanmgr |
| Disk Defragment | dfrg.msc |
| Disk Management | diskmgmt.msc |
| Disk Partition Manager | diskpart |
| Display Properties | control desktop |
| Display Properties | desk.cpl |
| Display Properties (w/Appearance Tab Preselected) | control color |
| Dr. Watson System Troubleshooting Utility | drwtsn32 |
| Driver Verifier Utility | verifier |
| Event Viewer | eventvwr.msc |
| File Signature Verification Tool | sigverif |
| Findfast | findfast.cpl |
| Folders Properties | control folders |
| Fonts | control fonts |
| Fonts Folder | fonts |
| Free Cell Card Game | freecell |
| Game Controllers | joy.cpl |
| Group Policy Editor (XP Prof) | gpedit.msc |
| Hearts Card Game | mshearts |
| Iexpress Wizard | iexpress |
| Indexing Service | ciadv.msc |
| Internet Properties | inetcpl.cpl |
| 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 |
| Java Control Panel (If Installed) | jpicpl32.cpl |
| Java Control Panel (If Installed) | javaws |
| Keyboard Properties | control keyboard |
| Local Security Settings | secpol.msc |
| Local Users and Groups | lusrmgr.msc |
| Logs You Out Of Windows | logoff |
| Microsoft Chat | winchat |
| Minesweeper Game | winmine |
| Mouse Properties | control mouse |
| Mouse Properties | main.cpl |
| Network Connections | control netconnections |
| Network Connections | ncpa.cpl |
| Network Setup Wizard | netsetup.cpl |
| Notepad | notepad |
| Nview Desktop Manager (If Installed) | nvtuicpl.cpl |
| Object Packager | packager |
| ODBC Data Source Administrator | odbccp32.cpl |
| On Screen Keyboard | osk |
| Opens AC3 Filter (If Installed) | ac3filter.cpl |
| Password Properties | password.cpl |
| Performance Monitor | perfmon.msc |
| Performance Monitor | perfmon |
| Phone and Modem Options | telephon.cpl |
| Power Configuration | powercfg.cpl |
| Printers and Faxes | control printers |
| Printers Folder | printers |
| Private Character Editor | eudcedit |
| Quicktime (If Installed) | QuickTime.cpl |
| Regional Settings | intl.cpl |
| Registry Editor | regedit |
| Registry Editor | regedit32 |
| Remote Desktop | mstsc |
| Removable Storage | ntmsmgr.msc |
| Removable Storage Operator Requests | ntmsoprq.msc |
| Resultant Set of Policy (XP Prof) | rsop.msc |
| Scanners and Cameras | sticpl.cpl |
| Scheduled Tasks | control schedtasks |
| Security Center | wscui.cpl |
| Services | services.msc |
| Shared Folders | fsmgmt.msc |
| Shuts Down Windows | shutdown |
| Sounds and Audio | mmsys.cpl |
| Spider Solitare Card Game | spider |
| SQL Client Configuration | cliconfg |
| System Configuration Editor | sysedit |
| System Configuration Utility | msconfig |
| 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 |
| System Properties | sysdm.cpl |
| Task Manager | taskmgr |
| Telnet Client | telnet |
| User Account Management | nusrmgr.cpl |
| Utility Manager | utilman |
| Windows Explorer | explorer |
| Windows Firewall | firewall.cpl |
| Windows Magnifier | magnify |
| Windows Management Infrastructure | wmimgmt.msc |
| Windows System Security Tool | syskey |
| Windows Update Launches | wupdmgr |
| Windows Version | winver |
| Windows XP Tour Wizard |
tourstart |
| Wordpad | write |
Think you don’t need that cause you use Linux or Mac? Well, I use Ubuntu myself, but guess what - still deal with Windows machines on a daily bases, and trust me - Windows is not going anywhere… well at least untilt tomorrow it is not
You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.
November 26th, 2007 at 17:25:33
quite a list, man - thx!
I like “winver” a lot, cause on the old and faulty Windows box it takes time to retrieve this info with mouse.
November 26th, 2007 at 17:27:11
Like it! “tourstart” is cool - I’ll use it next time I am in a computer store (BestBuy…) or malls- should be fun to load all the PCs with it
November 26th, 2007 at 17:28:35
Who needs this crap!?
Windows is obsolete the way I look at it. I love my Mac, and do not interact with MS PCs anymore, which makes me very happy!
November 26th, 2007 at 17:30:05
This is a very nice list, however it misses som stuff like “iexplorer” for Internet Explorer, etc..
November 26th, 2007 at 17:31:20
Well, yea - make sure you can type “firefox” alright, and forget “iexplorer”
December 2nd, 2007 at 16:54:00
MAC’S SUCK ASS. I’m sorry, but they do. I use Unbuntu. iexplorer doesn’t open a browser, dumbass. BTW, If you don’t use firefox, you are in fact computer retarded.
December 3rd, 2007 at 14:25:54
The irony kills me. Get a life twat.
wtf wrote:
“MAC’S SUCK ASS. I’m sorry, but they do. I use Unbuntu. iexplorer doesn’t open a browser, dumbass. BTW, If you don’t use firefox, you are in fact computer retarded.”
December 3rd, 2007 at 17:10:04
@Jenk Yoki & Edward Ten:
Actually, it’s not ‘iexplorer;’ it’s ‘iexplore.’
Great list. Thanks-
December 3rd, 2007 at 19:14:52
Sucks to be you Mac and Linux users. I’m going to play the latest cutting edge games while you stare at your desktop! Suck it!
J/K =)
Instead of making idiot remarks about other peoples OS why don’t you give reasons why you think it’s better than any other OS. I’ve used linux a lot BUT I can’t get any of the games I play to work no matter what. (Yes i’ve used wine). I’ve never used a mac before simply because.. Why? My windows box can do anything a mac can do for what I need it for. But that doesn’t mean I won’t love it if I ever get the opportunity to get one! Anyway good article.
December 3rd, 2007 at 21:00:21
[…] Fonte: http://blog.dotkam.com/index.php/2007/11/26/windows-commands-think-you-know-it-all/ […]
December 3rd, 2007 at 21:57:01
There’s a program that let’s you make you own commands: http://www.softpedia.com/get/Programming/Other-Programming-Files/Batch-File-Maker.shtml
December 4th, 2007 at 15:07:56
@tsk tsk- u tried Cedega? yea u have to pay for it but i hear its good for making game work on linux.
my personal choice for gaming tho is my 360 leaving my linux pc for game programming ^^
December 4th, 2007 at 18:56:33
@drezta
Thanks for the tip. I checked it out (cedega) and it seems to be 55 dollars a year, or 5 dollars a month depending on your options.
As for consoles I have no money haha. I’m currently going to school for computer networking and have a 3 year old and another on the way! I’m still trying to scrape money to take my certifications! So maybe in a year or so I can get a console. Everybody else I know has a PS3 or 360 and I’m jealous.
@ Andrew
Thanks I’ll have to check it out
December 4th, 2007 at 19:20:20
I think it’s great that the on screen keyboard has a shortcut except for the fact that if you need the on screen keyboard you can’t type in the shortcut lol
December 4th, 2007 at 19:26:21
I’ve never published my personal list except for on a private forum of mine but you guys may like, I apologize for duplicates from above but I’m not going to go through to delete all the duplicates:
Firefox Shortcuts
Spacebar (page down)
Shift-Spacebar (page up)
Ctrl+K (go to search box)
Ctrl+L (go to address bar)
Ctrl+F (find)
Alt-N (find next)
Ctrl+D (bookmark page)
Ctrl+T (new tab)
Ctrl+= (increase text size)
Ctrl+- (decrease text size)
Ctrl-W (close tab)
F5 (reload)
Alt-Home (go to home page)
Go to the address bar (Control-L) and type the name of the site without the “www” or the “.com”. Let’s say “google”. Then press Control-Enter, and it will automatically fill in the “www” and the “.com” and take you there - like magic! For .net addresses, press Shift-Enter, and for .org addresses, press Control-Shift-Enter.
Open a command window executing a command leaving window up
cmd /k commandhere
ex: cmd /k ipconfig
tip: combine multiple commands with & ipconfig & ping 192.168.1.1
View Last Reboot Time
net statistics server | more
Open a command window executing a command closing window
cmd /c commandhere
ex: cmd /c ipconfig>C:\ipconfig.txt (saves ipconfig to ipconfig.txt then closes cmd window)
Run a program as another user
runas /user:domain\username appname
ex: runas /user:jeffk cmd.exe
Tip: it’s useful to open a cmd.exe and run all your commands from this cmd.exe as all children will be ran with it’s credentials. Then just goto task manager and right click the cmd.exe and kill the tree so you don’t leave any privledged programs up
Tip2: Since you can’t do a runas on explorer.exe you can run internet explorer with runas credentials and then type the path in like C: in the location bar you then are effectively in a runas of explorer
Note: You must have the Secondary Logon Service on for this to work
Reset a local users Password:
net user USERNAME *
ex: net user jeffk *
Remote Desktop into Console of specific computer
Mstsc /v:computername /console
Ex: mstsc /v:deserver /console
Map a network Drive
Net use drivename: \\server\share
Net use z: \\daserver\music
Force network credentials
Net use \\server\sharename /user:domain\user
Ex: net user \\daserver\music /user:jeffk
Tip: Before using this you may want to issue net use * /d to delete previously stored credentials, or you can view your credentials by just typing net use
Find Current Hostname
In cmd.exe type hostname
Tip:use cmd /k hostname from run
Windows Key Shortcuts
Windows+D (Show Desktop)
Windows+R (Same as clicking start>Run)
Windows+L (Lock Computer)
Windows+Pause/Break (System Properties)
Windows+E (Explorer)
Misc Shortcuts
\ - When typed at the Run dialog brings you to your root drive.
Home/End - Begining/End of line, not really a shortcut but overlooked
Ctrl+Home/End - Position the cursor to the very first/last position in the file.
F2 – Rename A file (while file is selected)
F3 Open Search/Find
Shift+F5 (Refresh Page and Cache in IE)
F4 Pull down drop down list in explorer
F6 Select Location Bar in IE and firefox
Shift+Del – Delete with sending to recycling bin
Ctrl+H Is Search & Replace in most editors
Alt+Space (Bring Up Minimize Maximize context window)
Ctrl+Esc (Windows Key Equivalent)
Ctrl+Alt+End (Send Ctrl+Alt+Del to remote desktop)
Ctrl+Shift+Esc (Task Manager)
Ctrl+Ins (Copy Text from Message Box)
Alt+Printscreen (Printscreen only the focused window)
Ctrl+Arrow Key (Left or Right) (Move the cursor over one word at a time, hold shift also to select the words)
ALT+Double Click on an Icon (Open Properties)
Ctrl+Drag (Copy Whatever is selected to dropped location, works on text, files, icons…)
Ctrl+Scroll Wheel (Increase/Decrease font size in IE/Firefox)
Ctrl+Enter in the location bar in IE (adds www. and .com to whatever you typed)
Ctrl+G Takes you to a specific line in notepad
Regjump from sysinternals (jumps you to a specific key in the registry)
http://www.microsoft.com/technet/sysinternals/Miscellaneous/Regjump.mspx
Put regjump.exe in your %windir%\system32 folder…
Start>run regjump keyname
Ex: regjump hklm\software
Environmental Variables (use these at start>run to quickly goto or anywhere in explorer) (Also see This)
Tip: Type set to see your variables
%windir%
%systemdrive%
%appdata%
%userprofile%
%programfiles%
%allusersprofile%
Start>Run>system or Start>Run>system32 {enter} to bring up the corresponding folder
Tip: Sadly some people don’t know that when asked to save you can type in a drive letter or an environmental variable and press enter it’ll take you to that folder/drive then you can specify a filename to save.
Tip2: When Saving a file if you type the filename in quotes it doesn’t matter what you select in the drop down list to save as so put like “blah.cmd” in notepad when saving it and it’ll save it as .cmd not .txt without having to select *.* from the drop down
Tip3: In explorer when saving or opening you can filter them by typing *.extension. For example to view only mp3 files type *.mp3 and press enter
Tip4:
In explorer make sure one icon is selected then just start typing the filename and it’ll take you to it.
Tip5: The icons in the top left of the title bar in explorer are fully functional, so if you right click it you’ll have the same options as if you’d right click the folder up a level.
Create a new folder
Do this in sequence: Right Click>press w>press f
Create a new text file
Do this in sequence: Right Click>press w>press t
For all the commands below click Start>Run or press Windows+R then type the following:
Control Panel Applets
appwiz.cpl (Add/Remove Programs)
ncpa.cpl (Network Connections)
sysdm.cpl (System)
nusrmgr.cpl (User Account Management)
desk.cpl (Display Properties)
inetcpl.cpl (Internet Settings)
powercfg.cpl (Power Configuration Settings)
firewall.cpl (Firewall Settings)
Domain Administration (Install support tools)
dsa.msc (Active Directory Users and computers)
dssite.msc (Active Directory Sites & Services)
adsiedit.msc (ADSI edit)
wuauclt /detectnow (automatically detect if new WSUS updates are available)
GPResult (Resultant Set of Policy)
Gpupdate /force /boot /logoff /target:computername
dsquery computer -name %hostname% (Find the OU the computer resides in)
dsquery user -name %username% (Finds the OU the user resides in)
dsquery computer -desc “text here*” (Finds a computer name based on info in the desc)
Other MMC stuff
fsmgmt.msc (Shared Folders)
compmgmt.msc (Computer Management)
gpedit.msc (Policy Editor)
devmgmt.msc (Device Manager)
diskmgmt.msc (Disk Management)
lusrmgr.msc (Local User Management)
Misc Run Commands
shutdown –a (Abort a shutdown)
control (Open the Control Panel)
control folders (Folder Options)
control printers (Printer Folder)
logoff (Log Off Windows)
eventvwr (Event Viewer)
winver (Show Your Version Of Windows)
firefox
photoshop
excel
winword
nero
pbrush - Microsoft Paint
taskmgr - Task Manager
tasklist – Task Manager
wmplayer (Windows Media Player)
odbcad32 (ODBC Administrator)
sndvol32 - Launch Volume control
osk - On Screen Keyboard
control schedtasks - Scheduled Tasks
wupdmgr - Launch windows update
December 5th, 2007 at 4:00:54
Thank you “kacklinator”, great list! Feels like there is a lot of your own time behind it..
It really is a very cool addition to my post - thank you!
Toly
December 5th, 2007 at 15:31:24
In Windows XP Pro you can type
wmic csproduct > csproduct.txt
This creates a text file with info about your PC System info like Motherboard type and serial number, etc.
wmic cpu > cpu.txt (gives alot of info about your processor(s))
Type WMIC /? for all the nifty things you can query on your PC. Some of the information is displayed in a very wide format so it’s good to pipe it into a txt file so you can scroll to the right.
December 7th, 2007 at 10:38:29
Good one. Thank you for all these commands!
December 8th, 2007 at 3:20:37
Very cool I like it so much Good work
December 9th, 2007 at 22:13:22
nice stuff yo
http://squidoo.com/japanesegrammar89/
December 13th, 2007 at 7:26:23
Very nice. I have needed some of these in the past. thanks
December 14th, 2007 at 10:37:49
kacklinator
great list! you just give me a lot a very useful tips, thank you very much
The original post is good but it´s a little easier to find, thanks anyway
December 14th, 2007 at 11:47:45
[…] men jeg har aldri tatt meg tid til å finne ut av disse kommandoene – før nå: Windows Commands: Think You Know It All!? Del dette innlegget: These icons link to social bookmarking sites where readers can share and […]
December 15th, 2007 at 9:21:10
Great list. Thanks!
December 17th, 2007 at 3:45:33
[…] Илүү дэлгэрэнгүй ба эх үүсвэр: blog.dotkam.com […]
December 17th, 2007 at 10:10:54
There is one more command to direct bootup without typing password: just type “Control Userpasswords2″ without “.
December 18th, 2007 at 11:08:10
nice list, probably handy when i need to fix something, but surely I wont remember where i founf it when that happens..
omg, can we not talk about which is the best OS? whatever, let each one use the one they like! man…
December 19th, 2007 at 18:23:11
I own 8 Windows computers (3 laptops, a couple servers, 3 desktops) with O/S incl Vista, XP, Win2k, WinME. I also own 2 MACs … OSX (MacBookPro) and OS 8.5
Before I get flamed with wise-ass questions like “why?”, it’s because I’m a network engineer and use this home network to recreate real world problems.
Bottom line is that MACs are essentially for simplistic people that don’t “Get it”. If you crawled out from under a rock yesterday and do not have the mind/will to invest in a learning curve, the MAC is for you. There’s a reason Windows dominates the rest of the world … it’s relatively open and far more robust. Linux / Unix are far leaner and you get more bang for your buck, but there’s far less apps avail for this platform.
MACs have some cool features … some of which are cool enough to even show up in Vista. Widgets, for instance, are a very handy tool. But overall, MACs are anemic. And if you use Safari for your browser, you’re really hating life.
People that invest in MACs feel the need to justify their position, so they make stupid remarks like the one you see elsewhere on this page. Just blow them off and smile … they deserve the waste of money and narrow perspective they support.
December 20th, 2007 at 13:13:27
On windows or guidos whatever you may prefer, the best thing ever is to get freedom from mouse and click - that’s what these commands (CLI) are all about.
Wnnna get real freedom while on gui - get “launchy”. and what not you can do.
Believe me not but you yourself, try launchy once and you will love the keyboard. Tell me if not.
btw, launchy ver 2.0 is not cool, its chilly man.
oh yes you will need all those command (the fuel) to drive this super car - launchy.
December 22nd, 2007 at 22:54:11
You could also make a folder and then make these shortcuts.
December 27th, 2007 at 10:56:10
[…] read more | digg story […]
December 27th, 2007 at 13:30:41
[…] bütün windows komutlarını bildiğinizi düşünüyorsanız burada verilen komutlara bir göz atmanızı […]
December 27th, 2007 at 20:36:52
[…] per la rete sul blog Dotkam ho trovato questo post dal quale ho tradotto la lista che trovate qui sotto.La lista è molto utile soprattutto in quelle […]
January 7th, 2008 at 21:53:44
[…] per la rete sul blog Dotkam ho trovato questo post dal quale ho tradotto la lista che trovate qui sotto. La lista è molto utile soprattutto in quelle […]
January 12th, 2008 at 18:24:40
Very informative site. Thanks for making the time to keep it up to date and informative. Visit us often as well.
January 16th, 2008 at 10:20:00
The most influential tech products…
Windows Vista Whether you love it, hate it or are still undecided, Microsoft’s Windows Vista operating system was without…
January 28th, 2008 at 10:05:00
Great Post! I really like ipconfig /displaydns and ipconfig /registerdns. Thanks Again!
February 2nd, 2008 at 17:17:15
[…] command in your run window “Start -> Run” (more about the second approach in this arcticle “Windows Commands: Think You Know It All !?”). So here is an example of a Windows Task […]
February 18th, 2008 at 9:42:57
Great info. Thanks for sharing
March 15th, 2008 at 11:37:10
You should Add:
Power Options Properties — PowerCfg.cpl
i never see this one on any of these “list’s”.
August 14th, 2008 at 12:51:37
[…] can be executed from the comamnd line (the run command too), and a big list of those can be found at this website. These are all well and good (especially coming from a Vista standpoint, where we can build […]
August 24th, 2008 at 18:08:37
5kThank’s for greate post.4g I compleatly agree with last post. zia
паркет и ламинат 0t
September 1st, 2008 at 8:12:41
These icons link to social bookmarking. agree with you