Alert icon
We're changing our privacy policy. This stuff matters.  Learn more  Dismiss

Fix Windows Errors by Re-registering All Your DLL's by Britec

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
3,279
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Oct 12, 2011

Fix Windows Errors by Re-registering All Your DLL's by Britec

The instructions basically get you to dump all DLL files into notepad, then do a find and replace to regsvr32 them all. if you do it from c:\ like it suggests, you might get more than you need. including dll files from the recycle bin.

I am going to assume your windows installation is on C:\ and in C:\ windows

When a DLL is registered, the DllRegisterServer method entry point in your program is invoked. Similarly, DllUnregisterServer is invoked when a DLL is unregistered. As described in this MSDN article: http://msdn.microsoft.com/en-us/library/ms682162%28VS.85%29.aspx

Instructs an in-process server to create its registry entries for all classes supported in this server module. If this function fails, the state of the registry for all its classes is indeterminate.

For COM DLLs, you will need to implement your own DllRegisterServer and DllUnregisterServer entry point methods which do the registering/unregistering as appropriate. Example code for DllRegisterServer can be found here. http://msdn.microsoft.com/en-us/library/dd376682%28VS.85%29.aspx

The end result of registering a DLL is that all of the CLSIDs for the components in the DLL are registered under HKEY_CLASSES_ROOT\CLSID. This allows CoCreateInstance to find the correct server when instantiating COM objects from another DLL or application.

DllUnregisterServer will do the reverse, and remove all of the CLSIDs from the registry that were put in there by DllRegisterServer. more can be found here http://msdn.microsoft.com/en-us/library/aa369359.aspx
---------------------------------------------
need help with your computer?
http://www.briteccomputers.co.uk/forum
----------------------------------------------------
http://www.britec.org.uk
http://www.pcrepairhertfordshire.co.uk

  • likes, 0 dislikes

Link to this comment:

Share to:

Uploader Comments (Britec09)

  • Hi Britec,

    Tks for the good info as usual.

    1. Will rebooting the PC do the same job or is there a difference in Re-registering as you have shown.

    2. Will Re-registering affect any applications which may be running and using some of the DLL files.

    Pls advice.

    Tks.....

  • @utubenagoya I have added What does registering a DLL do? to my description now so you can understand it better. hope this helps.

  • Another great video! Thank you Britec!

  • @SirSilversilk Your welcome mate.

  • Yes I enjoy these videos.

    P.S. Have you tried Windows 8 Metro?

    If so do you think Metro is just a new frontend for Windows 7 ?

  • @Films4You Not tried Windows 8 Metro at any great length, so cannot give you a fair answer.

see all

All Comments (41)

Sign In or Sign Up now to post a comment!
  • Thanks! Subscribed :)

  • @thezirnis Oh. I canceled and removed it from re-registering and tried it again. Everything now working great ( even better )! I just needed to reinstall some programms.

    P.S. Thank you very much :)

  • Hi! I did exactly everything as u said ,but after 4 mins it stoped at nvoglv32.dll and i waited like 30 mins and nothing happened. I dont know should I stop cmd and remove it from re-register or just wait? Thanks!

  • @wetames @TheAbed123zx You delete all of those entries too, just like the winsxs ones. Then follow on exactly as brian did in the video :D

  • wow.thank's so much man,it worked perfectly.great video.very easy.

  • Never mind the thanks it did not work bro.pls make new vid tell me when u do

  • Thanks man alsom

  • i found patchcache wat do i do?

Loading...

Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more