scandisk
" resp. "chkdsk /f
"see also: winhistory.de
[alt] + [-] | system menu of a document within an application |
[alt] + [down] | open mru (most recently used) |
[alt] + (shift) + [esc] | cycle tasks (incl. dialogs and others) |
[alt] + [F4] | close active window |
[alt] + [F6] | cycle documents in MDI |
[alt] + [printscreen] | copy active window's content to clipboard |
[alt] + [return] | open properties / change window-fullscreen |
[alt] + [space] | system menu of an application |
[alt] + (shift) + [tab] | cycle applications |
[ctrl] + [a] | select all |
[ctrl] + [c] | copy |
[ctrl] + [f] | find |
[ctrl] + [g] | goto |
[ctrl] + [h] | replace |
[ctrl] + [n] | new window |
[ctrl] + [o] | open |
[ctrl] + [s] | save |
[ctrl] + [v] | paste |
[ctrl] + [x] | cut |
[ctrl] + [y] | redo |
[ctrl] + [z] | undo |
[ctrl] + [f4] | close active document |
[ctrl] + [end] | goto end of document |
[ctrl] + [esc] | special start-menu key |
[ctrl] + [pos1] | goto start of document |
[ctrl] + [tab] | cycle tab control |
[ctrl] + [win] + [f] | find computer |
[esc] | cancel |
[F1] | help |
[F2] | rename |
[F3] | search |
[F4] | location bar |
[F5] | refresh |
[F6] | cycle documents/views/sub-windows (some programs only) |
[F10] | menu |
[printscreen] | copy whole display's content to clipboard |
[shift] + [del] | delete without recycle bin |
[shift] + [F10] | context menu, as it were right mouse button resp. equivalent key |
[shift] + mouseclick | in startmenu don't close menu |
[shift] + "no" | in dialog (overwrite files) for "no, all" |
[win] + [break] | system properties |
[win] + [d] | minimize/restore all windows / show desktop |
[win] + [e] | start windows-explorer |
[win] + [f] | find file |
[win] + [strg] + [f] | find computers |
[win] + [F1] | windows help |
[win] + [l] | lock computer, or fast user switch (if active) |
[win] + (shift) + [m] | minimize (restore) all windows / show desktop (only those that have a taskbar entry, not sole dialog boxes) |
[win] + [q] | user switch (WinXP) |
[win] + [r] | run |
[win] + [tab] | cycle programs in taskbar |
[win] + [u] | accessibility manager |
[ctrl] + [alt] + 2x [del] | in logon screen show old style logon prompt (XP) |
mostly untested and case-sensitive.
Command | Description |
---|---|
advpack,LaunchINFSection <file.inf>[,section] | installation from inf file |
appwiz.cpl,NewLinkHere <folder> | create new link |
desk.cpl,InstallScreenSaver <saver.scr> | install screen saver |
diskcopy,DiskCopyRunDll <0-1> | open floppy copy dialog |
Krnl386.exe,exitkernel | exit windows without request |
Msprint2.dll,RUNDLL_PrintTestPage | print a test page |
maui,RnaDial <provider> | connect to remote network access provider (german: DFÜ-Verbindung) |
maui,RnaWizard[/1] | run remote network access wizard (german: DFÜ-Netzwerk) [without start screen (?)] |
maserv,CallerAccess | run remote network access server (german: DFÜ-Server) |
keyboard,disable | disable keyboard until reboot |
mouse,disable | disable mouse until reboot |
netplwiz,UsersRunDll | control panel - users and passwords |
Rnaserv,CallerAccess | run remote network access server (german: DFÜ-Server) |
Rnaui,RnaWizard | run remote network access wizard (german: DFÜ-Netzwerk) |
setupapi,InstallHinfSection 132 <file.inf> | installation from inf file |
shell,shellexecute | run windows explorer |
shell32,Control_FillCache_RunDLL | initialize system control panel |
shell32,Control_RunDLL | control panel |
shell32,Control_RunDLL access.cpl[,,1] | control panel - accessibility - keyboard |
shell32,Control_RunDLL access.cpl,,2 | control panel - accessibility - sound |
shell32,Control_RunDLL access.cpl,,3 | control panel - accessibility - display |
shell32,Control_RunDLL access.cpl,,4 | control panel - accessibility - mouse |
shell32,Control_RunDLL access.cpl,,5 | control panel - accessibility - general |
shell32,Control_RunDLL appwiz.cpl[,,0] | control panel - software - change or remove programs |
shell32,Control_RunDLL appwiz.cpl,,1 | control panel - software - add new programs |
shell32,Control_RunDLL appwiz.cpl,,2 | control panel - software - windows components |
shell32,Control_RunDLL appwiz.cpl,,3 | control panel - software - program access and standards |
shell32,Control_RunDLL desk.cpl[,,0] | control panel - display (desktop?) (german: Anzeige) - background |
shell32,Control_RunDLL desk.cpl,,1 | control panel - display - screensaver |
shell32,Control_RunDLL desk.cpl,,2 | control panel - display - design (?) (german: Darstellung) |
shell32,Control_RunDLL desk.cpl,,3 | control panel - display - settings |
shell32,Control_RunDLL intl.cpl[,,0] | control panel - regional and language options - general |
shell32,Control_RunDLL intl.cpl,,1 | control panel - regional and language options - numbers |
shell32,Control_RunDLL intl.cpl,,2 | control panel - regional and language options - currency |
shell32,Control_RunDLL intl.cpl,,3 | control panel - regional and language options - time |
shell32,Control_RunDLL intl.cpl,,4 | control panel - regional and language options - date |
shell32,Control_RunDLL intl.cpl,,5 | control panel - regional and language options - input |
shell32,Control_RunDLL joy.cpl[,,0] | control panel - game controller - general |
shell32,Control_RunDLL joy.cpl,,1 | control panel - game controller - advanced |
shell32,Control_RunDLL main.cpl[[,]@0] | control panel - mouse |
shell32,Control_RunDLL main.cpl,@1 | control panel - keyboard |
shell32,Control_RunDLL main.cpl,@2 | control panel - printer |
shell32,Control_RunDLL main.cpl,@3 | control panel - fonts |
shell32,Control_RunDLL main.cpl,@4 | control panel - energy |
shell32,Control_RunDLL mlcfg32.cpl | control panel - microsoft outlook |
shell32,Control_RunDLL mmsys.cpl[,,0] | control panel - sounds and audio devices - sound |
shell32,Control_RunDLL mmsys.cpl,,1 | control panel - sounds and audio devices - audio |
shell32,Control_RunDLL mmsys.cpl,,2 | control panel - sounds and audio devices - hardware |
shell32,Control_RunDLL modem.cpl | control panel - phone and modem options |
shell32,Control_RunDLL netcpl.cpl | control panel - network connections |
shell32,Control_RunDLL password.cpl | control panel - password settings (?) |
shell32,Control_RunDLL sysdm.cpl[,,0] | control panel - system - general |
shell32,Control_RunDLL sysdm.cpl,,1 | control panel - system - network identification |
shell32,Control_RunDLL sysdm.cpl,,2 | control panel - system - hardware |
shell32,Control_RunDLL sysdm.cpl,,3 | control panel - system - user profiles |
shell32,Control_RunDLL sysdm.cpl,,4 | control panel - system - advanced |
shell32,Control_RunDLL timedate.cpl[,,0] | control panel - date and time |
shell32,Control_RunDLL timedate.cpl,,1 | control panel - date and time - time zone |
shell32,Control_RunDLL wgpocpl.cpl | control panel - microsoft mail und postoffice (?) |
shell32,OpenAs_RunDLL <file> | show "run with" dialog |
shell32,ShellAboutA | show about box |
shell32,SHExitWindowsEx 0 | logout user |
shell32,SHExitWindowsEx 1 | exit windows |
shell32,SHExitWindowsEx 2 | reboot windows |
shell32,SHExitWindowsEx 4 | reboot windows (automatically close open applications) |
shell32,SHExitWindowsEx 8 | switch off computer |
shell32,SHExitWindowsEx 13 | execute function 1 + 4 + 8 combined |
shell32,SHExitWindowsEx -1 | restart windows explorer |
shell32,SHFormatDrive | open floppy format dialog |
shell32,SHHelpShortcuts_RunDLL AddPrinter | add printer |
shell32,SHHelpShortcuts_RunDLL Connect | open network drive connect dialog |
shell32,SHHelpShortcuts_RunDLL Disconnect | open network drive disconnect dialog |
shell32,SHHelpShortcuts_RunDLL FontsFolder | show fonts |
shell32,SHHelpShortcuts_RunDLL PrintersFolder | show printers |
syncui,Briefcase_Create | create briefcase (german: Aktenkoffer) on desktop |
syncui,Briefcase_Intro | show briefcase intro |
Sysdm.cpl,InstallDevice_Rundll | quick hardware detect / run hardware assistant (?) |
url,FileProtocolHandler <file/url> | open file or url in browser or explorer |
url,MailToProtocolHandler <mail adress> | open new mail |
url,NewsProtocolHandler <newsgroup> | open news reader |
url,TelnetProtocolHandler [host] | open telnet connection |
User,cascadechildwindows | arrange open tasks in a row |
User,ExitWindows | exit windows (with request for open applications) |
User,ExitWindowsExec | reboot windows (?) |
User,ExitWindows Exec | reboot windows (?) |
User,repaintscreen | refresh screen (F5) |
User,setcursorpos | set mouse cursor to left top corner |
User,swapmousebutton | swap mouse buttons (for the next action) |
User,tilechildwindows | arrange open tasks side by side |
User,wnetcancelconnection <server> | disconnect from netware server |
User,wnetconnectdialog | open network drive connect dialog |
User,wnetdisconnectdialog | open network drive disconnect dialog |
user32,LockWorkStation | lock computer |
cmd /k "cd %L"
-- starts the command line and changes to the selected directory via context menusudo.bat = runas /user:Administrator "cmd /c $*"
-- run a command with superuser priviledgestlist.exe
-- prints tasks and services to console -- from win2k-cd support\tools\support.cabIf you are cloning an installed a Windows NT system from one NTFS volume to another, and you are using simple file copy (not using xcopy/o/x or dd for some reason, e.g., because you want to build up the file system from scratch), you might want to re-set some directory access rights for enhanced security when users log in without admin priviledges. The following table gives direction to some default access rights of Windows 2000. Details on Power-Users and Creator-Users are largely omitted, so you better don't use this in a professional environment.
Directory | SYSTEM | Admins | Powerusers | Users | Creator | User | Other |
---|---|---|---|---|---|---|---|
C:\ | - | - | - | - | - | - | rwx |
C:\Documents and Settings | rwx | rwx | r-x | r-x | - | - | r-x |
C:\Documents and Settings\All Users | rwx | rwx | rwx *1 | r-x | - | - | r-x |
C:\Documents and Settings\User | rwx | rwx | - | - | - | rwx | - |
C:\Program Files | rwx | rwx | rwx *2 | r-x | rwx | - | - |
C:\System Volume Information | rwx | - | - | - | - | - | - |
C:\WINNT | rwx | rwx | rwx *3 | r-x | rwx | - | r-x |
C:\WINNT\$NtUninstall* | rwx | rwx | - | - | - | - | - |
C:\WINNT\CSC | - | rwx | - | - | - | - | - |
C:\WINNT\Installer | rwx | rwx | - | - | - | - | r-x |
C:\WINNT\Registration | rwx | rwx | - | - | - | - | r-x |
C:\WINNT\Temp | rwx | rwx | rwx *3 | --x,add | rwx *2 | - | - |
*1: may do anything but change permissions
*2: may do anything but change the object itself
*3: may do anything but change permissions, or delete items
tasklist
-- prints tasks and services to consoletaskkill
-- allows to kill tasks from consolesysteminfo
-- prints several system info to consoletypeperf
-- prints performance data to console or CSVshutdown
-- shut down, reboot, logout, or cancel shutdown from consoletsshutdn
-- shut down a server from consolereg
-- query or edit the registry from consoledefrag c: -b
... is run automatically every 3 days when system idle - requires task scheduler
set x=%1
set y=%2
set x=%x:/=\%
set y=%y:/=\%
echo %x%
echo %y%
in 05.2001 65% - Windows 9x/ME 22% - Windows 2000 8% - Linux and Windows 3% - Linux 2% - Mac OS |
in 12.2001 33% - Windows XP 32% - Windows 9x 19% - Windows ME 16% - Windows 2000 1% - Windows NT |