Posts Tagged ‘Regsvr32’

Regsvr32 order to repair system failures

Regsvr32 command is a Windows system utility, it registered to the system used to control or uninstall control, use the command, the system can recover lost function. Regsvr32 command-line command to run, the format command: Regsvr32 [/ u] Filename, Filename is the control file name, with no control parameter u is registered with the control parameter u is the unloading.

l. to restore an image preview feature: Windows XP image preview function, the corresponding control file for thurnbvw.dll. If the damage function, click the “Start” one “run” in “Open” input box: “Regsvr32 Thurnbvw. Dll”, click “OK” to implement the order, then the box will pop-up prompt: ” DllRegisterServer in Thumbvw.dll succeeded. “, this indicates that the success of the control register. Restart your computer, WindowsXP picture preview of it restored.

2. To restore ZIP functions: Windows XP system provides ZIP function, although the function is not strong, but it does not need third-party software can open the ZIP file, but can be as ZIP compressed file folder to use, it is more convenient, practical functions. If the function of damaged box implementation can be run “Regsvr32 ZIPfldr.dll” command, and then restart the computer be able to resume.

3. To restore IE hyperlinks open a new window functions: There are two in IE hyperlink, a jump in the current page link, and the other is a link to pop a new window on the first link can also be Shift key to live in a new window. Many people have experienced can not open links in new window trouble thing, the problem is due to loss of control caused by registration information. Solution is: run box in the implementation of the three orders were: “Regsvr32 Actxprxy.dll”, “Regsvr32 Shdocvw.dll”, “Regsvr32 Oleaut32.dll”. These three control the registration of a successful, restart the computer, IE on the resumption of normal.

4. The restoration of FSO functions: There are a lot of people use their computers to build a forum site, forum, or dynamic web site can process online document management, administrators can be operated through the document page, but often reflect their own forum, the site can not be Online management of files, this is because the server does not open or FSO function fails, the solution is: in the server box to run the implementation of the “Regsvr32 Sorrun.dll”, the final restart the server to open / restore function of FSO.

5. The restoration of online upgrade function: in the Windows “Start” menu in the top, there is a “Windows Update” item, you can quick upgrade of the system playing up online. But sometimes can not be found online upgrade, it is necessary to address this failure, as long as the implementation of the run box “Regsvr32 Wupdinfo.dll”, restart the computer to solve.

way to Use Regsvr32

Used activex know, activex, registration is not the system can not be used to identify and, in general the installation process it will be automatically registered to use activex controls, but if you need to get control of a manual how to do registration it? If it is too much trouble to modify the registry, and the system in the windows folder there is a procedure regsvr32.exe, it is the windows built-in anti-activex registration and registration tools. Its usage is:
“Regsvr32 [/ s] [/ n] [/ i (: cmdline)] dllname”. Dllname one file name for the activex control, it is recommended that copies of the system prior to installation folder.
Parameters have the following meanings:
/ U – Anti-Registration Control
/ s – whether the registration was successful or not, do not show the prompt box
/ C – Console output
/ i – the option to skip the installation of controls (with the different registration)
/ n – do not register the control, this option must be consistent with / i option used in conjunction

Regsvr32 usage and error messages

For those who can self-register the Object Linking and Embedding (OLE) controls such as dynamic-link library (DLL) files or ActiveX Controls (OCX) files, you can use the Regsvr32 tool (Regsvr32.exe) to bring them to registration and cancellation of registration.

Regsvr32.exe usage

RegSvr32.exe have the following command-line options: Regsvr32 [/ u] [/ n] [/ i [: cmdline]] dllname
/ u – Unregister server <BR/>
/ i – Call DllInstall passing it an optional [cmdline];
when used with / u calls dll uninstall
/ n – do not call DllRegisterServer; this option must
be used with / i

When you use Regsvr32.exe, it will try to load the component and call its DLLSelfRegister function. If this attempt successful, Regsvr32.exe instructions will display a dialog box success. If this attempt fails, Regsvr32.exe will return an error message, which may include a Win32 error code. To view a list of Win32 error codes, see the following Microsoft Web site:

http://msdn.microsoft.com/library/en-us/netdir/adsi/win32_error_codes.asp

For example, to manually register Sample.ocx ActiveX controls, please MS-DOS prompt, type the following command:
c: \ regsvr32.exe sample.ocx

Regsvr32.exe Error Message
The following list describes RegSvr32 error messages and possible causes.
Unrecognized flag: / invalid_flag
Type of signs or invalid switch combination (see this article in the “Regsvr32.exe Usage” section).
No DLL name specified.
Not included. Dll file name (see this article in the “Regsvr32.exe Usage” section).
Dllname was loaded, but the DllRegisterServer or DllUnregisterServer entry point was not found.
Dllname not. Dll or. Ocx file. For example, type regsvr32 wjview.exe will generate the error message.
Dllname is not an executable file and no registration helper is registered for this file type.
Dllname is not an executable file (. Exe,. Dll or. Ocx). For example, typing regsvr32 autoexec.bat generates this error message.
Dllname was loaded, but the DllRegisterServer or DllUnregisterServer entry point was not found.
Dllname may not export, or memory may be damaged Dllname version. Please consider using Pview to detect the file and delete it.
Dllname is not self-registerable or a corrupted version is in memory.
For example, type regsvr32 icwdial.dll will return the following error message, because the document can not be registered Icwdial.dll. If you suspect that you have a damaged memory Dllname version, please try restarting your computer, or re-extract the original version of the document. If you are running Windows NT, may require the use of Microsoft Windows NT Server 4.0 Resource Kit or the Kill tool Pview. For additional information, click to view the following Microsoft Knowledge Base article:
197155 How to terminate the isolation process
OleInitialize failed (or OleUninitialize failed).
Regsvr32 must initialize the COM library before they can call COM library functions required and the withdrawal of the closure of the initialization of the library. If the COM library is initialized to initialize or withdraw the attempt failed, there will be such an error message. For example, Ole32.dll file may be damaged, or incorrect version.
LoadLibrary ( “Dllname”) failed.GetlastError returns 0×00000485
In Winerror.h in, 0×00000485 = 1157 (ERROR_DLL_NOT_FOUND), that “can not find the application required to run a library file.” For example, type regsvr32 missing.dll, if not Missing.dll document, it will return the error message.
LoadLibrary ( “Dllname”) failed.GetLastError returns 0×00000002
In Winerror.h in, 0×00000002 = 2 (ERROR_FILE_NOT_FOUND), that “the system can not find the file specified.” In other words, the system can not find the relevant DLL. For example, if you type regsvr32 icwdial.dll, while the lack of Tapi32.dll (dependent on item), will return to the error message.
LoadLibrary ( “dskmaint.dll”) failed.GetLastError returns 0x000001f
In Winerror.h in, 0x000001f = 31 (ERROR_GEN_FAILURE), that “the system attached to the device is not working.” If you attempt to register Win16. Dll file, this phenomenon occurs. For example, type regsvr32 dskmaint.dll will return the error message.
DllRegisterServer (or DllUnregisterServer) in Dllname failed. Return code is: string

In the search string in Winerror.h.
Regsvr32.exe and dependence of
RegSvr32.exe dependent on the Kernel32.dll, User32.dll and Ole32.dll files (in Windows NT, it is also dependent on Msvcrt.dll and Advapi32.dll files). Regsvr32.exe will try to load your registration or withdraw the registration of the document and all its dependencies. If the lack of the necessary documents or have been damaged, the process may fail.
You can use Depends.exe to determine you are trying to register or withdraw the registration of the reliance on paper. In Microsoft Windows 98 Resource Kit and Microsoft Windows NT 4.0 Resource Kit Support Tools are provided Depends.exe.
247024 Tools Included with the Microsoft Windows 98 Resource Kit

Regsvr32 usage and error messages that

For those who can self-register the Object Linking and Embedding (OLE) controls such as dynamic-link library (DLL) files or ActiveX Controls (OCX) files, you can use the Regsvr32 tool (Regsvr32.exe) to bring them to registration and cancellation of registration.

Regsvr32.exe usage

RegSvr32.exe have the following command-line options: Regsvr32 [/ u] [/ n] [/ i [: cmdline]] dllname
/ u – Unregister server <BR/>
/ i – Call DllInstall passing it an optional [cmdline];
when used with / u calls dll uninstall
/ n – do not call DllRegisterServer; this option must
be used with / i
When you use Regsvr32.exe, it will try to load the component and call its DLLSelfRegister function. If this attempt successful, Regsvr32.exe instructions will display a dialog box success. If this attempt fails, Regsvr32.exe will return an error message, which may include a Win32 error code. To view a list of Win32 error codes, see the following Microsoft Web site:

http://msdn.microsoft.com/library/en-us/netdir/adsi/win32_error_codes.asp

For example, to manually register Sample.ocx ActiveX controls, please MS-DOS prompt, type the following command:
c: \ regsvr32.exe sample.ocx
Regsvr32.exe Error Message
The following list describes RegSvr32 error messages and possible causes.
Unrecognized flag: / invalid_flag
Type of signs or invalid switch combination (see this article in the “Regsvr32.exe Usage” section).
No DLL name specified.
Not included. Dll file name (see this article in the “Regsvr32.exe Usage” section).
Dllname was loaded, but the DllRegisterServer or DllUnregisterServer entry point was not found.
Dllname not. Dll or. Ocx file. For example, type regsvr32 wjview.exe will generate the error message.
Dllname is not an executable file and no registration helper is registered for this file type.
Dllname is not an executable file (. Exe,. Dll or. Ocx). For example, typing regsvr32 autoexec.bat generates this error message.
Dllname was loaded, but the DllRegisterServer or DllUnregisterServer entry point was not found.
Dllname may not export, or memory may be damaged Dllname version. Please consider using Pview to detect the file and delete it.
Dllname is not self-registerable or a corrupted version is in memory.
For example, type regsvr32 icwdial.dll will return the following error message, because the document can not be registered Icwdial.dll. If you suspect that you have a damaged memory Dllname version, please try restarting your computer, or re-extract the original version of the document. If you are running Windows NT, may require the use of Microsoft Windows NT Server 4.0 Resource Kit or the Kill tool Pview. For additional information, click to view the following Microsoft Knowledge Base article:
197155 How to terminate the isolation process
OleInitialize failed (or OleUninitialize failed).
Regsvr32 must initialize the COM library before they can call COM library functions required and the withdrawal of the closure of the initialization of the library. If the COM library is initialized to initialize or withdraw the attempt failed, there will be such an error message. For example, Ole32.dll file may be damaged, or incorrect version.
LoadLibrary ( “Dllname”) failed.GetlastError returns 0×00000485
In Winerror.h in, 0×00000485 = 1157 (ERROR_DLL_NOT_FOUND), that “can not find the application required to run a library file.” For example, type regsvr32 missing.dll, if not Missing.dll document, it will return the error message.
LoadLibrary ( “Dllname”) failed.GetLastError returns 0×00000002
In Winerror.h in, 0×00000002 = 2 (ERROR_FILE_NOT_FOUND), that “the system can not find the file specified.” In other words, the system can not find the relevant DLL. For example, if you type regsvr32 icwdial.dll, while the lack of Tapi32.dll (dependent on item), will return to the error message.
LoadLibrary ( “dskmaint.dll”) failed.GetLastError returns 0x000001f
In Winerror.h in, 0x000001f = 31 (ERROR_GEN_FAILURE), that “the system attached to the device is not working.” If you attempt to register Win16. Dll file, this phenomenon occurs. For example, type regsvr32 dskmaint.dll will return the error message.
DllRegisterServer (or DllUnregisterServer) in Dllname failed. Return code is: string
In the search string in Winerror.h.
Regsvr32.exe and dependence of
RegSvr32.exe dependent on the Kernel32.dll, User32.dll and Ole32.dll files (in Windows NT, it is also dependent on Msvcrt.dll and Advapi32.dll files). Regsvr32.exe will try to load your registration or withdraw the registration of the document and all its dependencies. If the lack of the necessary documents or have been damaged, the process may fail.
You can use Depends.exe to determine you are trying to register or withdraw the registration of the reliance on paper. In Microsoft Windows 98 Resource Kit and Microsoft Windows NT 4.0 Resource Kit Support Tools are provided Depends.exe.
247024 Tools Included with the Microsoft Windows 98 Resource Kit