Regsvr32.exe (registration files and BAT files cannot be directly run under UAC)

Source: Internet
Author: User

Regsvr32.exe is used to register Dynamic Link Libraries and ActiveX controls for Windows operating systems. This program is very important to the normal operation of your system

We recommend that you modify the permissions. to delete all users, only save the permissions of administrators and system.
Regsvr32.exe is a DLL registration and anti-registration tool used in 32-bit systems. It must be used through the command line;

Format:
Regsvr32 [/u] [/S] [/n] [/I [: using line] DLL file name.

Command:

You can write commands in the "Start> Run" text box or in the bat batch processing document in advance. If no parameters are provided, the DLL file registration function is provided. Other parameters correspond to the following functions:
/U: registers DLL files;
/S: run the command in silent mode, that is, the result prompt box is not displayed when the DLL file is successfully registered or unregistered.
/C: control port;
/I: Call dllinstall when using/u anti-registration;
/N: do not call the dllregisterserver. It must be used with/I.

Note: (if some bat or EXE files are not allowed to run directly under UAC, right-click to use the Administrator identity instead of the Administrator permission selection box, writing the file to a directory such as system32 and running it again may prompt it to pop up)
When you enter the DLL file name, if the file to be processed is not a system file,The absolute path of the file must be added before the file name.,Because the system disk is not necessarily a C disk, you can use % WINDIR % or % Program Files % to obtain some directories of the system, such as Windows or program files,Note that the file path does not contain Chinese characters. Otherwise, the processing may fail. If regsvr32is not normal, the system file may be damaged. When regsvr32.exe is used, three files kernel32.dll, user32.dll, and ole32.dll will be called, which can be solved by replacing normal files in DOS mode or other systems.

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.