René Nyffenegger's collection of things on the web | |
René Nyffenegger on Oracle - Most wanted - Feedback
- Follow @renenyffenegger
|
Windows Registry | ||
Some keys for the windows registry:
Private Application Key:
HKLM\SOFTWARE\company name\product name\version
Add/Remove List:
HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall
DisplayName=....
Application Search Paths:
HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths
Running Programs at Startup:
HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Run
Operationg System Directories:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\CommonFilesDir HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\ProgramFilesDir My preferred valuesConsole@rem buffer width: 200, buffer height: 9999 (200 dec = c8 hex, 9999 dec = 270f hex) @rem window width: 200 window height: 78 (78 dec = 4e hex) @rem Font size: 10 @rem QuickEdit: allow sort-of copy/paste @reg add "HKEY_CURRENT_USER\Console\%%SystemRoot%%_system32_cmd.exe" /f @reg add "HKEY_CURRENT_USER\Console\%%SystemRoot%%_system32_cmd.exe" /t REG_DWORD /v ScreenColors /d 0x0000000f /f @reg add "HKEY_CURRENT_USER\Console\%%SystemRoot%%_system32_cmd.exe" /t REG_DWORD /v ScreenBufferSize /d 0x270f00c8 /f @reg add "HKEY_CURRENT_USER\Console\%%SystemRoot%%_system32_cmd.exe" /t REG_DWORD /v WindowSize /d 0x004e00c8 /f @reg add "HKEY_CURRENT_USER\Console\%%SystemRoot%%_system32_cmd.exe" /t REG_DWORD /v FontSize /d 0x000a0000 /f @reg add "HKEY_CURRENT_USER\Console\%%SystemRoot%%_system32_cmd.exe" /t REG_DWORD /v FontWeight /d 0x00000190 /f @reg add "HKEY_CURRENT_USER\Console\%%SystemRoot%%_system32_cmd.exe" /t REG_DWORD /v FontFamily /d 0x00009036 /f @reg add "HKEY_CURRENT_USER\Console\%%SystemRoot%%_system32_cmd.exe" /t REG_DWORD /v QuickEdit /d 0x00000001 /f @reg add "HKEY_CURRENT_USER\Console\%%SystemRoot%%_system32_cmd.exe" /t REG_SZ /v FaceName /d "Lucida Console" /f Explorer@rem disable autoplay, show file extensions and show hidden files and show contents of system folders: @rem to hide hidden files (what an oxymoron) set hidden to 2 @reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\AutoplayHandlers" /t REG_DWORD /v DisableAutoplay /d 1 /f @reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /t REG_DWORD /v HideFileExt /d 0 /f @reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /t REG_DWORD /v Hidden /d 1 /f @reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /t REG_DWORD /v SuperHidden /d 0 /f @reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /t REG_DWORD /v ShowSuperHidden /d 1 /f Keyboard layout@reg add "HKCU\keyboard layout\preload" /t REG_SZ /v 1 /d "00000409" @reg add "HKCU\keyboard layout\preload" /t REG_SZ /v 2 /d "00000807" Disable autoplay@reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\AutoplayHandlers" /t REG_DWORD /v DisableAutoplay /d 1 /f Prompt directory@reg add "HKEY_CLASSES_ROOT\Directory\shell\prompt" /t REG_SZ /v "" /d "Open cmd in directory" /f @reg add "HKEY_CLASSES_ROOT\Directory\shell\prompt\command" /t REG_SZ /v "" /d "cmd.exe /k cd ^"%1^"" /f Open with gVim@reg add "HKEY_CLASSES_ROOT\*\shell\open_with_gvim" /t REG_SZ /v "" /d "Open with gVim" /f @reg add "HKEY_CLASSES_ROOT\*\shell\open_with_gvim\command" /t REG_SZ /v "" /d "gvim ^"%1^"" /f Links
regjump is a tool that allows me to open a particular registry key in the registry editor from the console (cmd.exe) with something like
c:\> regjump HKCU\Software\Microsoft\Windows\CurrentVersion
|