In the Windows XP operating system, many system functions are related to controls (such as files with extensions DLL, OCX, CPL), and the controls must be registered to implement these corresponding functions.
Normally, when the operating system is installed, the control will automatically register, but due to virus damage, system failure or human cause during use, some control registration information will be lost, resulting in some system functions. malfunction.
Once this happens, we can ask the Regsvr32 command to help resolve the registration of the control.
The Regsvr32 command is a utility provided by the Windows system that allows you to register or uninstall system controls to fix lost functionality. The Regsvr32 command runs as a command line. At the same time, the normal operation of the Regsvr32 command requires the support of Kernel32.dll, User32.dll and Ole32.dll files.
Tip: In the Windows 2000/Xp system, the Regsvr32.exe command file is stored in the folder "X:\\Winnt\\system32"; in the Windows 9X system, the command is stored in "X: \\Windows\\system” folder (assuming the system is installed on the X drive).
The use of the Regsvr32 command is very simple. Let's take a look at a few examples to see how to use the Regsvr32 command to solve the actual problem encountered.
Example 1: Restoring Windows Xp Image Preview Function In the process of using Windiws XP, if the image preview control registration information is lost, it will not be able to preview the picture properly. Since the control file corresponding to the image preview function of Windows XP is thurnbvw.dll, just click “Start/Run", and enter the “Regsvr32 Thurnbvw. dll” command in the pop-up "Run” dialog box. Click the "OK" button, and a message prompt will pop up after execution: "DllRegisterServer in Thumbvw.dll succeeded.", the control registration is successful. After restarting the computer, the Windows XP image preview function will be restored. It is.
Tip: When you can't use the thumbnail function that comes with the system, you can fix it by executing the command “Regsvr32 shimgvw.dll” (Windows XP system) or “Regsvr32 thumbvw.dll” (Windows 2000 system). Features.
Example 2: Restoring Zip function of Windows Xp Windows XP system can directly support ZIP archives, although the function of processing Zip files is not powerful, but when professional decompression software is not installed, The function is also convenient and practical. If the function does not work properly, you can follow the example 1 method in the "Run" box to execute the "Regsvr32 Zipfldr.dll" command, and then restart the computer to recover. Conversely, if you need to uninstall the Zip function of Windows XP, just run “Regsvr32 /u Zipfldr.dll” From the above two examples, we can see that the Regsvr32 command relies on parameters to register and unload controls. When registering, add the name of the control directly after the command, and when uninstalling, you should add “/u” to uninstall the installed control. Now let's take a look at the use of Regsvr32 commands in software applications.
Example 3: Let the new version of WMP player appear on the webpage. Some online music sites need to use Windows Media Player to listen to songs, but WMP9 is obviously installed. When listening to music, only the old version can be seen. WMP player panel, how to make a beautiful WMP9 panel appear? To resolve such a failure, first close the IE browser, click “Start/Run", type "Regsvr32 wmpdxm.dll" in the "Run" dialog box, and click the "OK" button.
Example 4: Resolve the FlashGet right-click menu error on the webpage. In the browser, if you right click on a download connection and select the “Use Internet Express Download” menu item, FlashGet will pop up under normal circumstances. Download the task window, but what if the function is found to be unresponsive? We can first open the FlashGet installation directory, check whether the jc_link.htm, jc_all.htm and jccatch.dll files exist (if it does not exist, it is recommended to copy from other machines); if there are these files in the directory, then click “Start/Run”, enter the “cmd” command to open the “command prompt” window, enter the "cd c:\\program Files\\Flashget (FlashGet default installation location) & rdquo; command in the window, switch to Under the FlashGet installation path, execute the "Regsvr32 jccatch.dll" and "Regsvr32 fgiebar.dll" commands respectively, and re-register these DLL files to solve this problem. Example 5: Let WMP play RM/RMVB files Many friends like to use Windows Media Player (hereinafter referred to as WMP) player, but it does not support RM/RMVB format, what should I do? Take Windows XP as an example. First find the RealMediaSplitter.ax file (this is an RM format plugin) on this CD, copy the file to the directory “"C:\\WINDOWS\\System32\\”; then open “ & rdquo; dialog box, type & ldquo; regsvr32 C: \\ WINDOWS \\ System32 \\ RealMediaSplitter.ax & rdquo;, click & ldquo; OK & rdquo; Then download the decoder, such as RealPack-20050627, after installation, you can use WMP to play RM format audio and video files.
List: Regsvr32 Command Error Prompts and Fixes When Regsvr32.exe is used to register a control, it attempts to load the control and call the DLLSelfRegister function. If this attempt is successful, Regsvr32.exe will display a dialog indicating success. If this attempt fails, Regsvr32.exe returns an error message. The following is a brief introduction to Regsvr32 error messages and possible causes.
Error Prompt Cause or Solution Unrecognized flag: /invalid_flag The Regsvr32 command line uses an invalid parameter or switch combination No DLL name specified. The DLL dynamic link library file name Dllname was loaded is not specified. But the DllRegisterServer or DllUnregisterServer entry point was not found. Dllname is not a .Dll or .Ocx file, such as typing “Regsvr32 wxyz.exe” will generate the error message.
How to add PHP support for IIS7 in Vista/Windows Server 2008 Many websites are currently written in
In Windows Server 2008 system environment, we sometimes see the recycle bin icon on the system deskt
windows2008 system password is forgotten solution: use a magnifying glass vulnerability to reset yo
Step one: Open Administrative Tools -Internet Information Services (IIS) Manager, open the Web site,
Configure HTTPS Binding for Windows Server 2008 CA
Windows Server 2003 Application Tips Set
How to remotely maintain Win2003 server using web interface
Windows 2003 reminds Microsoft: In the next two years, it will show its strengths
How to configure Win 2003 DNS server
Solve the problem that Windows 2000 can't start.
Windows2008 restartable AD configuration guide
windows2008R2WEB server environment build
Windows2003 installed dual hard drive can not recognize the fault
Open DirectX Acceleration in Win 2003
What should I do if the win10 start menu and cortana do not work and need to log in again?
LOLS5 Global Finals SKT VS KOO fourth super clear video watch
Application treasure connection mobile phone detailed steps tutorial
Win7 Ultimate prompts the server to run failed. How to solve
Win8 closes the sleep setting skill
Teach you Mac virtual machine with Win8 dual system
64-bit Win7 system prompts have stopped working How to solve