What is the registry?
Registry is an important database in Microsoft Windows, which is used to store the setup information of system and application. As early as Windows 3.0 launched OLE technology, the registry has appeared. The subsequent Windows NT was the first operating system to make extensive use of registries at the system level. However, from the beginning of Microsoft Windows 95 operating system, the registry has really become the content that Windows users often contact, and continues to be used in subsequent operating systems to this day.
That is to say, the registry is a comprehensive database of windows. Comparing with Linux, the software and hardware configurations of windows and other databases are placed in the registry, which is a large "database", while Linux is decentralized.
What's the use of the registry?
Registry is a core database in Windows operating system, which stores various parameters, directly controls the start of windows, the loading of hardware drivers and the running of some windows applications, thus playing a central role in the whole system. These functions include relevant configuration and status information of software and hardware, such as initial conditions, preferences and uninstall data of application and resource manager shells in registry, settings and permissions of the whole system of networked computers, Association of file extensions with applications, description of hardware components, etc. State and attributes, performance records and other underlying system state information, as well as other data.
How to Use Registry
-
Regedit or regedit.exe
-
Regedt32 or regedt32.exe
- When opened, the registry looks like this
What key values are commonly used in registries?
"HomePage"=dword:00000001 ;Do not change home page settings〖0=Modifiable〗 "Cache"=dword:00000001 ;Prohibition of change Internet Temporary File Settings〖0=Modifiable〗 "History"=dword:00000001 ;Disable changing history settings〖0=Modifiable〗 "Colors"=dword:00000001 ;Do not modify the colours of [text] and [background]〖0=Modifiable〗 "Links"=dword:00000001 ;Do not modify [link] color settings〖0=Modifiable〗 "Languages"=dword:00000001 ;Disable modifying language settings〖0=Modifiable〗 "Accessibility"=dword:00000001 ;Do not modify the color settings of Auxiliary Functions〖0=Modifiable〗 "Rating"=dword:00000001 ;No modification of hierarchical settings〖0=Modifiable〗 "Certificates"=dword:00000001 ;Do not change certificate settings〖0=Modifiable〗 "FormSuggestPasswords"=dword:00000001 ;Prohibit the use of saved passwords〖0=Modifiable〗 "Profiles"=dword:00000001 ;Disable Change Profiles〖0=Modifiable〗 "ConnwizAdminLock"=dword:00000001 ;Prohibit Internet connection wizard〖0=Modifiable〗 "ConnectionSettings"=dword:00000001 ;Do not change connection settings〖0=Modifiable〗 "Proxy"=dword:00000001 ;Proxy Server Settings Forbidden to be Modified〖0=Modifiable〗 "Messaging"=dword:00000001 ;Prohibit modification of associated procedures(Mail, newsgroup, call)〖0=Modifiable〗 "CalendarContact"=dword:00000001 ;Prohibit modification of associated procedures(Calendar, Contact List)〖0=Modifiable〗 "Check_If_Default"=dword:00000001 ;Disable modifying default browsers〖0=Modifiable〗 "Advanced"=dword:00000001 ;Prohibit modification of advanced tabs〖0=Modifiable〗 "GeneralTab"=dword:00000001 ;Shield the General tab〖0=display〗 "SecurityTab"=dword:00000001 ;Shield the Security tab〖0=display〗 "ContentTab"=dword:00000001 ;Shield the Content tab〖0=display〗 "ConnectionsTab"=dword:00000001 ;Shield the Connection tab〖0=display〗 "ProgramsTab"=dword:00000001 ;Shield the Program tab〖0=display〗 "AdvancedTab"=dword:00000001 ;Shield the Advanced tab〖0=display〗 "NoFavorites"=dword:00000001 ;Screen the menu〖0=display〗 "NoBrowserContextMenu"=dword:00000001 ;Shielding [Right mouse button]〖0=display〗 "NoFileNew"=dword:00000001 ;Disable New Menu Items〖1=prohibit〗 "NoFileOpen"=dword:00000001 ;Shield [Open] commands〖1=prohibit〗 "NoBrowserSaveAs"=dword:00000001 ;Shield [save as] commands〖1=prohibit〗 "NoBrowserSaveWebComplete"=dword:00000001 ;Shielding Web Page] Command〖0=All types can be saved〗 "NoBrowserColse"=dword:00000001 ;Restriction [closure] IE window〖1=limit〗 "NoTheaterMode"=dword:00000001 ;Restrict [full screen] display〖1=limit〗 "NoViewSource"=dword:00000001 ;Restrict Viewing [Source Files]〖1=limit〗 "NoBrowserOptions"=dword:00000001 ;Restriction of use[ Internet Options] commands〖1=limit〗 "NoHelpItemTipOfTheDay"=dword:00000001 ;Shielding [Daily Tips]〖1=Shield〗 "NoHelpItemNetscapeHelp"=dword:00000001 ;Screen [ Netscape User] command〖1=Shield〗 "NoHelpItemTutorial"=dword:00000001 ;Shield [tutorial] commands〖1=Shield〗 "NoHelpItemSendFeedback"=dword:00000001 ;Shield [Send Feedback] Order〖1=Shield〗 "NoOpenInNewWnd"=dword:00000001 ;Shield [Open in New Window] command〖1=Shield〗 "NoSelectDownloadDir"=dword:00000001 ;Restriction [Target Save as] Order〖1=limit〗 "NoFindFiles"=dword:00000001 ;Screen [ F3]Search command〖1=Shield〗 [HKEY_CURRENT_USER\Software\Policies\Microsoft\Internet Explorer\Infodelivery\Restrictions];〖offline Web Webpage〗 "NoAddingChannels"=dword:00000001 ;Disable Channel Addition〖1=Shield〗 "NoRemovingChannels"=dword:00000001 ;Disable [Delete Channels]〖1=Shield〗 "NoScheduledUpdates"=dword:00000001 ;Disable all planned offline pages〖1=Shield〗 "NoAddingsSubscriptions"=dword:00000001 ;Disable [Add offline page plan]〖1=Prohibit〗 "NoRemovingSubscriptions"=dword:00000001 ;Disable [Delete offline page plan]〖1=Shield〗 "NoChannelLogging"=dword:00000001 ;Disable offline page counting〖1=Shield〗 "NoChannelUI"=dword:00000001 ;Completely disable Channel User Interface〖1=Shield〗;〖Establishment of predefined limitation criteria〗 "MaxSubscriptionSize"="" ;Maximum capacity of website reservation KB Upper limit "MaxSubscriptionCount"="" ;Upper limit on number of offline pages "MinUpdateInterval"="" ;Minimum score of planned update interval "UpdateExcludeBegin"="" ;Disable the start time of scheduled updates "UpdateExcludeEnd"="" ;Disable the end time of scheduled updates [HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\TcpIp\Parameters] "ArpRetryCount"=dword:00000000 ;Setup transfer ASP Number 1-3 "DefaultTTL"=dword:00000000 ;Set up TTL(Time to Live)Time 1-255 "DisalbeDHCPMediaSense"=dword:00000000 ;Obtain DHCP Agreement〖0=Close〗 "IPEnableRouter"=dword:00000000 ;allow IP Route(Delivery of packages to the entire network)〖0=allow〗 "DatabasePath"="" ;Storage standard Internet Database Path "ForwardBufferMemory"=dword:00000000 ;Define an integer multiple of forwarding buffer size 1480 "EnableBcastArpReply"=dword:00000000 ;No, it's not unicast. ARP Response to requests〖1=response〗 "UseDomainNameDevolution"=dword:00000000 ;Use DNS Name explanation〖1=Use〗 "DefaultRegistrationTTL"=dword:00000000 ;Appoint TTL Time 0 X0-0XFFFFFFFF "DisableReplaceAddressesInConflicts"=dword:00000000;Does it cover existing resource records?〖0=DNS Use itself IP address〗 [HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\RasMan\Parameters] "ProhibitIpSec"=dword:00000000 ;Use RAS Of L2TP function〖1=Close〗 "DisableSavePassWord"=dword:00000000 ;Uncached login password〖1=Force password entry〗 "Logging"=dword:00000000 ;Record Connection Port〖1=Record〗 "AuthenticateTime"=dword:00000000 ;Waiting for confirmation time(second) "AutoDisconnect"=dword:00000000 ;Automatic disconnection time(0X1-0XFFFFFFFF) "TimeoutBase"=dword:00000000 ;increase NetBios Gateway pair RAS Waiting time for(second) "NetBiosRouting"=dword:00000000 ;RAS NetBIOS Broadcast mode 0 does not lead 1 client to WAN 2 and 1 reverse 3 bidirectional [HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\RasMan\ParametersNetBiosGateway] "EnableBroadcast"=dword:00000000 ;Use RAS data broadcasting〖1=Radio broadcast〗 "MaxBcastDgBuffered"=dword:00000000 ;Appoint RAS Maximum broadcast value(RAS Client) "MaxDgBufferedGroupName"=dword:00000000 ;Appoint RAS Maximum broadcast value(Working group) "SettingMeaningRemark"=dword:00000000 ;control RAS Level of Use of Connections [HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\WINS\Parameters] "DoBackupOnTerm"=dword:00000000 ;Discontinue use WINS Automatic backup of database at service time〖1=Automatic backup〗 "InitTimePause"=dword:00000000 ;WINS Service startup is suspended(Make sure there is no new registration before rewriting) "LogDetailedEvents"=dword:00000000 ;WINS Record Level 0 of Service=Recording error 1=All events "LoggingOn"=dword:00000000 ;hold WINS Record changes are written to the record file〖1=Record〗 "LogFilePath"="" ;Path to Record Files "NoOfWordThreads"=dword:00000000 ;control WINS Number of threads for services 1-40 [HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\RemoteAccessParameters] "NetBiosGatewayEnable"=dword:00000000 ;Restrict access to the entire network〖0=limit〗 "CallbackTime"=dword:00000000 ;RAS Callback waiting time(The unit is seconds.) "AuthenticateRetries"=dword:00000000 ;RAS Maximum number of connection retries allowed "EnabledAudit"=dword:00000000 ;Yes RAS Inspection〖1=inspect〗 [HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\RemoteAccessParameters\NetBiosGateway] "McastFwdWhenSessionTraffic"=dword:00000000 ;increase RAS Network traffic〖1=Increase flow〗 "EnableNetBiosSessionsAuditing"=dword:00000000;Record NetBios flow〖1=Record〗 "RemoteListen"=dword:00000000 ;Enhance access to local networks〖1=Greater authority〗 [HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\RemoteAccessParameters\IP] "WINSNameServer"="" ;modify RAS WINS Server name(The server IP Or name) [HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\DHCPServer] "Activity [HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\PoliciesExplorer] "ForceActiveDesktopOn"=dword:00000001 ;Mandatory use of [active desktop] "NoActiveDesktop"=dword:00000001 ;Prohibit Active Desktop "NoActiveDesktopChanges"=dword:00000001 ;Prohibition of amendment Active Desktop "ClassicShell"=dword:00000001 ;Use traditional enclosures "NoComponents"=dword:00000001 ;Disable all functions of the Active Desktop "NoInternetIcon"=dword:00000001 ;Hide the desktop[ IE Icon "NoNetHood"=dword:00000001 ;Hide [Online Neighbors] "NoComputersNearMe"=dword:1 ;Hide [adjacent computers] from [online neighbors] "NoRecentDocsNetHood"=dword:00000001 ;Documents are not recorded in the online neighborhood window(2000) "NoDesktop"=dword:00000001 ;Disable display properties(Hide all icons on the desktop)! "NoCommonGroups"=dword:00000001 ;Sharer in Hidden Menu "NoFavoritesMenu"=dword:00000001 ;cancel〖Favorites〗term "NoRun"=dword:00000001 ;cancel〖Function〗term "NoFind"=dword:00000001 ;cancel〖lookup〗term "NoSetActiveDesktop"=dword:00000001 ;Close Setting in Active Desktop term "NoChangeStartMenu"=dword:00000001 ;Prohibit drag-and-drop changes to start menu items "NoFolderOptions"=dword:00000001 ;Close Setting Chinese Folder Options "NoSMHelp"=dword:00000001 ;cancel〖Help〗term "NoSMMyDocs"=dword:00000001 ;cancel〖File〗term "NoRecentDocsMenu"=dword:00000001 ;cancel〖File〗term "NoRecentDocsHistory"=dword:00000001 ;Do not record information in document entries "MaxRecentDocs"=dword:00000001 ;0X0 To 0 XFFFFFFFF–Number of records in the document "ClearRecentDocsOnExit"=dword:00000001 ;Clear Up On Exit〖File〗content "StartMenuLogoff"=dword:00000001 ;cancel〖Cancellation〗term(No impact on security mode) "NoLogoff"=dword:00000001 ;cancel〖Cancellation〗term "ForceStartMenuLogoff"=dword:00000001 ;Mandatory display〖Cancellation〗term "NoClose"=dword:00000001 ;cancel〖Shutdown〗term "NoSetFolders"=dword:00000001 ;Shield Start Menu->Setting up Control Panel and Printer "NoFolderOptions"=dword:00000001 ;Shield Folder Options Command "NoSetTaskbar"=dword:00000001 ;Prohibition of amendment Taskbar and Start Menu Settings "NoTrayContextMenu"=dword:00000001 ;Disable Taskbar Properties Menu "Nostarbanner"=dword:00000001 ;Close〖Click here to start〗 "NoStartMenuSubFolder"=dword:00000001 ;hide Program Folder(Win2000 Hide user files in) "ClassicShell"=dword:00000001 ;activation Classic Shell Double-click Desktop=1 "NoFileMenu"=dword:00000001 ;stay Shell Close in folder File menu/Cancel Running in Resource Manager "NoViewContextMenu"=dword:000000001 ;Disable right-clicking on desktop "EnforceShellExtensionSecurity"=dword:000000001;Activate recognition only Shell extend "LinkResolveIgnoreLinkInfo"=dword:000000001 ;No tracking during browsing Shell Shortcut keys "NoDrives"=hex:000000000 ;Hidden disk "NoDrives"=dword:000000000 ;Hidden disk //This value is 26 bits from the lowest bit (position 0) to the 25th bit, representing driver A-Z, respectively. If position 0 is 1, it does not show A, and position 3 is 1, D. If no driver icon is displayed, it can be changed to 03ffffff. "NoViewOnDrive"=hex:00000000 ;Restrict the operation of hard disk, floppy disk and CD-ROM(26 Bits represent 26 letters) "NoNetConnextDisconnect"=dword:000000001 ;Close network connection and disconnect "NoNetworkConnections"=dword:00000001 ;Hide network and dial-up icons in the control panel "NoPrinterabs"=dword:000000001 ;stay Printer Properties Implicit content General and Details tab "NoDeletePrinter"=dword:000000001 ;Close Printer Of Delete "NoAddPrinter"=dword:000000001 ;Close Printer Of Add "RestrictRun"=dword:000000001 ;Run only the specified Windows application program "NoControlPanle"=dword:00000001 ;Shielding control panel "NoSaveSettings"=dword:00000001 ;No Preservation System "NoWindowsUpdata"=dword:00000001 ;Delete 98 Upgrade Items from the Start Menu "Intellimenus"=dword:00000001 ;Disable Personalized Menu(2000 in∨Hidden commands) "NoFileAssociate"=dword:00000001 ;Restrict Modification File Association "DisablePersonalDirChange"=dword:00000001 ;Restrict the path to modify my document(2000) "NoManageMyComputerVerb"=dword:00000001 ;Shield the administrative commands of my computer(2000) "NoShellSearchButton"=dword:00000001 ;Delete the search button "NoHardwareTab"=dword:00000001 ;Shielding Hardware tab in system properties "NoAddPrinter"=dword:00000001 ;Prohibit Adding Printers "NoDeletePrinter"=dword:00000001 ;Prohibit deletion of printers "NoMovingBands"=dword:00000001 ;Restrict Adjustment Taskbar "NoCloseDragDropBands"=dword:00000001 ;Limit adding shortcut 0 to Quick Start Menu=Can drag "NoDeletePrinter"=dword:00000001 ;Prohibit deletion of printers [HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Polici [HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\PoliciesSystem] "NoDispAppearancePage"=dword:00000001 ;Shielding Appearance Tab "NoDispBackgroundPage"=dword:00000001 ;Shield Background Tab "NoDispScrSavPage"=dword:00000001 ;Screen Protection Tab "NoDispSettingsPage"=dword:00000001 ;Shield Settings Tab "Nodevmgrpage"=dword:00000001 ;device management "Noconfigpage"=dword:00000001 ;Hardware Profile "Novirtmempage"=dword:00000001 ;virtual memory "Nofilesyspage"=dword:00000001 ;file system "Disableregistrytools"=dword:00000001 ;No modification of registry "NoDispCPL"=dword:00000001 ;Display Program in Shielding Control Panel "Wallpaper"="" ;Background Picture Path "WallpaperStyle"="" ;Picture display mode(0=Center 1=Tile 2=stretching) [HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\PoliciesUninstall] "NoAddRemovePrograms"=dword:00000001 ;Limit additions in control panel/Delete program "NoRemovePage"=dword:00000001 ;Shielding addition/Delete Programs tab, Change or Delete Programs page "NoAddPage"=dword:00000001 ;Shielding addition/Delete the Add Program page in the Program Tab "NoWindowsSetupPage"=dword:00000001 ;Shielding addition/Delete the Program tab and add/delete Windows Component page "NoAddFromCDorFloppy"=dword:00000001 ;Shielding addition/Delete the "Install from floppy disk" page in the Program Tab "NoAddFromInternet"=dword:00000001 ;Shielding addition/Delete the "Install from the Network" page in the Program Tab "NoSupportInfo"=dword:00000001 ;Shielding addition/Delete the Support Information page in the Program Tab "NoAddFromNetwork"=dword:00000001 ;Shielding addition/Delete the "Install from LAN" page in the Program Tab [HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Uninstall] //The DisplayName key value in each Key corresponds to the name of the program shown in the Add/Delete Program tab, which can be changed or deleted by itself. If deleted, the program is no longer in the program list in the Add/Delete Program tab. [HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\PoliciesActiveDesktop] "NoChangingWallPaper"=dword:00000001 ;No Wallpaper Change "NoHTMLWallPaper"=dword:00000001 ;Only Bitmap Wallpaper is allowed "NoAddingComponents"=dword:00000001 ;Prohibit adding active desktop items(Display attribute) "NoDeletingComponents"=dword:00000001 ;Prohibit deletion of active desktop items(Display attribute) "NoChangingWallPaper"=dword:00000001 ;No Wallpaper Change "NoClosingComponents"=dword:00000001 ;Prohibit closing the set active desktop and modifying display properties Web Page options [HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\PoliciesActiveDesktop\Admin Component] "Add"="" ;The address to be added "Delete"="" ;The address to be deleted [HKEY_CURRENT_USER\Control Panel\desktop] "HungAppTimeout"="1" ;Waiting time for program error "MenuShowDelay"="0" ;Menu display speed "WaitToKillAppTimeout"="1" ;Ctrl+Alt+Shift Close the waiting time of the program "PaintDesktopVersion"="1" ;On the desktop win98 Version number "ScreenSaverIssecure"=dword:00000001 ;Start Screen Secret Code [HKEY_USERS.DEFAULT\Control Panel\desktop] "DragFullWindows"="1" ;Show window contents while dragging "FontSmoothing"="1" ;Smooth font edge "ScreenSaveActive"=dword:00000001 ;Do not log in and start screen saver 0=Shield [HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Update] "UpdateMode"=hex:00000000 ;(0/1)"0"Automatic refresh [HKEY_LOCAL_MACHINE\Software\CLASSES\Folder\shell\lin123] @="lin123" ;Add an item to the right-click [HKEY_LOCAL_MACHINE\Software\CLASSES\Folder\shell\lin123\command]:\?.exe" ;command line [HKEY_CLASSES_ROOT\Lnkfile] "IsShortcut"="" ;Delete this sentence and remove the shortcut arrow "NeverShowExt"="" ;Delete this sentence and remove the extension. [HKEY_LOCAL_MACHINE\Software\CLASSES.reg] @="regfile" ;@="txtfile"Prohibit.reg file [HKEY_LOCAL_MACHINE\Software\CLASSES.inf] @="inffile" ;@="txtfile"Prohibit.inf file [HKEY_USERS.DEFAULT\Software\Microsoft\Windows\CurrentVersion\ExplorerAdvanced] "Hidden"=dword:00000001 ;Whether to display hidden files(2 latent/0 latent&system/1All) "ShowCompColor"=dword:00000000 ;Whether to display component color "HideFileExt"=dword:00000001 ;Hide known file extensions "DontPrettyPath"=dword:00000000 ;Allow full capitalization names "ShowInfoTip"=dword:00000001 ;Give prompts under the mouse "HideIcons"=dword:00000001 ;Press web Hide desktop icons when viewing pages
Registry is fun, but don't play badly.~~
End LINE