Basic Principles and modification methods of DLL files in Windows

Source: Internet
Author: User

1. DLL file knowledge
  
DLL is short for Dynamic Link Library, meaning Dynamic Link Library. In Windows, many applications are not a complete executable file. They are divided into relatively independent dynamic link libraries, that is, DLL files, which are placed in the system. When we execute a program, the corresponding DLL file will be called. An application may have multiple DLL files, and a DLL file may be shared by several applications. Such DLL files are called shared DLL files. DLL files are generally stored in the C: WindowsSystem directory.
  
Ii. modify the application of DLL files
  
In the system group policy and registry, We can modify some key values to optimize our system and enhance the security of the operating system. However, the above operations cannot be used to restrict download and prohibit file deletion. This can only be done by modifying the system DLL file. Currently, by modifying the DLL file of the system, you can disable file deletion, IE download, saving IE, and file opening.
  
Iii. Functions of some DLL files in the system
  
1. It is the prototype of the library file dll that Browselc. dll ie needs to call.
  
2. Shdoclc. dll System window and settings, such as deleting files and renaming
  
3. Shell32.dll System window and settings, such as deleting files and renaming
  
4. Download The Cryptui. dll IE control and the prompt Dialog Box program
  
Iv. Methods for modifying DLL files
  
1. Download DLL file modification tool EXESCOPE6.0-6.3 or 6.4 Tool
  
2. Obtain the following link files: Browselc. dll, Shdoclc. dll, Shell32.dll, and Cryptui. dll. When looking for these files, it is best to mount the hard disks of other machines to the local machine, and then start and copy these files with the local operating system.
  
3. When modifying the DLL file, open the key value and disable the key value to be modified in the dialog box on the right. Do not delete it for future recovery.
  
5. DLL file modification tips
  
1. Download prohibition modification method: Open the Shdoclc. dll modify resource -- Dialog Box --- 4416, and disable the 4416 key value.
  
2. Disable adding a webpage to favorites. Open the Shdoclc. dll modify resource -- Dialog Box --- 21400, and disable the key value.
  
3. Prohibit malicious web pages from loading controls and modifying Cryptui. dll file, you need to modify 5 places at the same time to completely disable resources -- Dialog Box --- 130 resource -- Dialog Box --- 230 resource -- Dialog Box --- 4101 resource -- Dialog Box --- 4104 the corresponding items in each dialog box key value, change to disabled.
  
4. Prohibit the system from deleting files and modifying Shell32.dll. This file must be modified in five places to prohibit the system from deleting files. Resource -- Dialog Box --- 1011 resource -- Dialog Box --- 1012 resource -- Dialog Box --- 1013 resource -- Dialog Box --- 1021 disable the key values of the preceding five addresses!
  
5. Prohibit the file from being renamed. Modify shell32.dll. Modify the resource in two places: Dialog Box --- 1018 resource -- Dialog Box --- 1019 set the corresponding key values in the preceding two places, change to disabled!
  
6. Disable the run menu, modify shell32.dll, and set resource -- Dialog Box --- 1018 to disabled.
  
7. Prohibit system files from being moved to modify shell32.dll. You need to modify four local resources -- Dialog Box --- 1014 resource -- Dialog Box --- 1015 resource -- Dialog Box --- 1016 resource -- Dialog Box --- 1017
  
8. Disable the target from being saved as and modify Shdoclc. dll file, you need to modify three local resources -- menu -- 258---257 resources -- menu -- 258---252 resources -- menu -- 24641--2268 in this modification, We need to delete the corresponding key values. After this key value is opened, you can right-click it and choose delete from the shortcut menu. In resource -- menu -- 24641-2268, there are multiple key values. Please delete them one by one.
  
9. Disable the custom folder option to modify the Shell32.dll file, you need to modify the following four local resources -- menu -- 215---28719 resources -- menu -- 216---28719 resources -- menu -- 217---28719 resources -- menu -- 216---28719 to find the above four key values. You just need to delete them, not disabled.
  
10. Disable the IE folder option and modify Browselc. dll file, you need to modify three key-value resources -- menu -- 263 (here there are multiple please delete) --- 41251 (delete) Resource -- menu -- 266 (there are also multiple please delete) --- 41329 (delete) Resource -- menu -- 268---41251 (delete) there are multiple key values in the preceding three key values. Please delete them one by one.
  
11. Disable the 98 file sharing control and modify the Msshrui. dll, You need to modify two local resources --- dialog box ---- 1 --- AutoRadioButton resources --- dialog box ---- 30 --- AutoRadioButton to disable the key values in the above two places. You can modify other options as needed. Find the corresponding function key value and disable unnecessary functions.
  
12. prohibit file opening mode. Modify Url. dll. Modify two local resources --- dialog box --- 7000 resource --- dialog box --- 7005 disable the key values in the above two places.
  
13. Do not change the system desktop. Modify Shdoc401.dll. There are two places where you need to modify resources --- dialog box --- 29952 --- PushButton: browse resources --- dialog box --- 29952 --- PushButton: disable the key values in the above two places.
  
14. Disable system folder customization and modify Shd401lc. dll. There are two places where you need to modify the resource --- dialog box --- 29957 resource --- dialog box --- 29958 disable the key values in the above two places.
  
15. prohibit file storage path and open, modify Comdlg32.dll, there are two places to modify the resource --- dialog box --- 1547 resource --- dialog box --- 1548 disable the key values of the above two places.
  
Vi. Precautions
  
1. This article takes the DLL file modification of Windows XP/2000 operating system as an example and does not necessarily apply to Windows 98 operating system. Please note when modifying the DLL file.
  
2. In the download prohibited operation, in addition to modifying the Shdoclc. dll link file, you must also modify the Shdoclc. dll linked file. If you cannot modify a link file to implement the corresponding functions, check whether the key values to be modified exist in other link files.
  
3. The modified DLL link file must be imported and restarted in DOS mode.
  
4. This article only describes the DLL modification options that are frequently used in daily operations. For other options, see the specific options in the DLL file.
  
5. before modifying the DLL file, back up the original DLL file of the system in case of modification failure and recovery.
  
DLL instance Modification
  
※Changes to the system tray icon ※
  
Network connection and volume ~~~
  
Both are in the C: WINDOWSsystem32 folder.
  
(Network connection) the icon is in the netshell. dll icon #1915 -- #1918
  
(Volume) 230--231 of the stobject. dll icon
  
There is also (volume) stobject. dll icon item 230--231
  
※Modify button in the upper-right corner of the open/save dialog box ※
  
Many people have mentioned the problem of opening and saving the bitmap in the upper-right corner of the dialog box. Here we are talking about it again: it is the bitmap item 124--131 in comctl32.dll, in the two folders below.
  
X: WINDWOSWinSxSx86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.0.0_x-ww_1382d70a
  
X: WINDWOSWinSxSx86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.10.0_x-ww_f7fb5805
  
※About how to modify the animation in the IE Download Dialog Box ※
  
Many people have asked about AVI downloaded by IE.
  
256 of AVI resources in C: WINDOWSsystem32SHDOCVW. DLL
  
※Resource Manager/IE toolbar button modification ※
  
Replace the toolbar buttons of IE and explorer with the shell32.dll bitmap 204--217.
  
On the IE corner, the image is replaced by the bitmap 240-242 in shell32.dll.
  
※Modification to the shutdown/logout dialog box ※
  
The most frequently asked questions are the shutdown and logout dialog boxes.
  
Shutdown is msgina. dll,
  
Log out as shell32.dll.
  
※Modification to the Windows Image Viewer ※
  
The image and fax viewer are also common ~~~ You can modify the first entry of the character string in the title bar.
  
The following row of buttons is the shimgvw. dll bitmap item 104 ~ 107
  
※Changes to control panel items ※
  
The icons in the classification view of the control panel are located in the shell32.dll icon item 268 ~ 276
  
The icons in the classic view of the control panel are generally in the. cpl file corresponding to C: WINDOWSsystem32, which are:
  
Modem. cpl modem icon
Main. cpl Mouse icon
Netcpl. cpl network connection icon
ODBCCP32.CPL ODBC Data Source
Powercfg. cpl power options
Main. cpl printer and fax icon
Intl. cpl region and language settings icon
Appwiz. cpl Add/delete application icons
Mmsys. cpl sound and multimedia icons
Sysdm. cpl System icon
Inetcpl. cpl user icon
Access. cpl auxiliary function options
Sysdm. cpl add new hardware
Datetime. cpl Date and Time icon
Desk. cpl Display Properties
Main. cpl font icon
Joy. cpl game controller icon
Inetcpl. cpl Internet option icon
Main. cpl keyboard icon
Mstask. dll Task Plan icon
And so on ~~~~~~
  
Add/delete application dialog box
  
Many people cannot find the icon that sets the program access and default value at the bottom. Here I also post a comment '~~
  
The above three appwiz. cpl items are in the 101--103 of the bitmap item, rather than the normal icon item.
  
The bottom icon is in the moricons. dll icon item 114.
  
※Modify the System Properties dialog box ※
  
Many people want to change the words in the System Properties dialog box and corresponding icons and bitmaps. I have collected the following files for you:
  
Computer Name netid. dll (word in the dialog box, dialog box item 112)
  
Remote remotepg. dll (the words in the dialog box, dialog box item 510)
  
Automatically update wuaueng. dll (word in the dialog box, dialog box item 501)
  
General, hardware, and advanced options sysdm. cpl (words in the dialog box, dialog box item 101)
  
System Restore srrstr. dll (the words in the dialog box, dialog box Item 11)
  
※Modify the display attribute dialog box ※
  
The display attribute dialog box is also a top consideration for personalization ~~
  
Yu

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.