• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1734
  • Last Modified:

How is regsvr32 /u used?

I have seen regsvr32 mentioned as a method of validating a file.
When is it used?
What is the procedure?
What are the switches?
0
gonzal13
Asked:
gonzal13
  • 2
  • 2
1 Solution
 
Dufo G. BelskiRetired bureaucrat/desktop supportCommented:
It is used to register and unregister dlls in the registry (which makes the system recognize or not recognize them).  Sometimes a dll gets unregistered for an unknown reason, and sometimes after installing new software you need to register a dll.  

You might use regsvr32 /u if a newer version of a dll becomes available.  You need to unregister it before you can delete it and copy in the new one.

Syntax:  regsvr32 filename.dll registers it
             regsvr32 /u filename.dll unregisters it
             regsvr32 /s filename.dll registers it without prompting you to confirm it

Two other switches, /i and /n, I am not familiar with.
0
 
gonzal13RetiredAuthor Commented:
When does one know when a file needs to be registered.

gonzal13(joe)
0
 
Dufo G. BelskiRetired bureaucrat/desktop supportCommented:
In my experience, when something goes wrong with Windows or a program.  You'll research the fix and be told to run it.  I don't think it's something you would routinely do, unless your a programmer; you might include some regsvr32 commands in your installer.
0
 
gonzal13RetiredAuthor Commented:
You are right. After being on experts-exchange for about 3 hours a day 0n win98, I have very rarely seen a comment instructing one to use it.

Joe
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now