Thursday, December 13, 2007

Shotscuts in Windows and Firefox

I just found this great list over shotcuts in Windows and other programs.

Here goes:

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



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

VMWare Server has several Keyboard shortcut keys. Below is a complete listing.

  • Ctr-B - Power on.
  • Ctrl-E - Power off.
  • Ctrl-R - Reset the power.
  • Ctrl-Z - Suspend.
  • Ctrl-N - Create a new virtual machine.
  • Ctrl-O - Open a virtual machine.
  • Ctrl-F4 - Close the current virtual machine.
  • Ctrl-D - Edit the virtual machine's configuration.
  • Ctrl-G - Grab input from the keyboard and mouse.
  • Ctrl-P - Edit preferences. See Setting User Preferences for the Vampire Server Host.
  • Ctrl-Alt-Enter - Go to full screen mode.
  • Ctrl-Alt - Return to normal (windowed) mode.
  • Ctrl-Alt-Tab - Switch among open virtual machines while the mouse and keyboard input are grabbed.
  • Ctrl-Tab - Switch among open virtual
    machines while the mouse and keyboard input are not grabbed. VMware
    Server must be the active application.
  • Ctrl-Shift-Tab - Switch among open
    virtual machines while the mouse and keyboard input are not grabbed.
    VMware Server must be the active application.
  • Ctrl-Alt-Fax - Switch among open
    virtual machines while using full screen mode. Fx is a function key
    corresponding to the virtual machine you want to use. The key
    combination to use for a virtual machine is shown in the VMware Server
    title bar when that virtual machine is active and in normal (windowed)
    mode.


Windows Commands: Think You Know It All !?

Powered by ScribeFire.

No comments: