Results 1 to 7 of 7
  1. #1
    Platinum Lounger
    Join Date
    Jan 2001
    Location
    Quedgeley, Gloucester, England
    Posts
    5,333
    Thanks
    0
    Thanked 1 Time in 1 Post

    REGSVR32 oddity?

    To solve an occasional Volume Shadow Copy virtual memory problem I was getting on tape backups, a Microsoft MVP on a webpage (dealing with a similar problem) suggested that the following list of commands be run in a Command Prompt window:<pre>cd windowssystem32
    regsvr32 ole32.dll
    regsvr32 vss_ps.dll
    vssvc /Register
    regsvr32 /i swprv.dll
    regsvr32 /i eventcls.dll
    regsvr32 es.dll
    regsvr32 stdprov.dll
    regsvr32 vssui.dll
    regsvr32 msxml.dll
    regsvr32 msxml2.dll
    regsvr32 msxml3.dll
    regsvr32 msxml4.dll</pre>

    Unfortunately on the first attempt I left off the Change Directory command and was in one of the Documents and Settings directories, which action caused the Volume Shadow Copy service to fail most utterly on the next backup.

    I've not had that result ever before, so I wonder whether the problem could be tied down to REGSVR32 or to the Vssvc /Register command (about which I can find no information). Has anyone met this sort of thing?
    <font face="Script MT Bold"><font color=blue><big><big>John</big></big></font color=blue></font face=script>

    Ita, esto, quidcumque...

  2. Get our unique weekly Newsletter with tips and techniques, how to's and critical updates on Windows 7, Windows 8, Windows XP, Firefox, Internet Explorer, Google, etc. Join our 480,000 subscribers!

    Excel 2013: The Missing Manual

    + Get this BONUS — free!

    Get the most of Excel! Learn about new features, basics of creating a new spreadsheet and using the infamous Ribbon in the first chapter of Excel 2013: The Missing Manual - Subscribe and download Chapter 1 for free!

  3. #2
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 16 Times in 16 Posts

    Re: REGSVR32 oddity?

    Under normal circumstances, C:WindowsSystem32 is in your Path environment variable, so it shouldn't matter to regsvr32 whether you have made C:WindowsSystem32 the active folder or not. If C:WindowsSystem32 is not in your path, it would have complained that it couldn't find the DLLs. The program vssvc.exe is also in C:WindowsSystem32.

    You'll find a more extensive version under number 5 on BackupAssist Knowledge Base.

  4. #3
    Platinum Lounger
    Join Date
    Jan 2001
    Location
    Quedgeley, Gloucester, England
    Posts
    5,333
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: REGSVR32 oddity?

    Hans

    Yes, I'm well aware that all the DLLs and EXEs are in WindowsSystem32, but that doesn't explain why I had problems when running the commands when the current directory was in Documents and Settings, but which were completely fixed when I changed to WindowsSystem32 and ran the commands there!

    (I forgot to mention also that when I ran the obscure command VSSADMIN LIST WRITERS after my first attempt it gave absolutely nothing, but after the second attempt it gave the usual reams of output, all indicating well-ness.)

    > You'll find a more extensive version under number 5 on BackupAssist Knowledge Base.

    Gosh! And I wonder who is that chap mentioned right at the bottom of the article?!
    <font face="Script MT Bold"><font color=blue><big><big>John</big></big></font color=blue></font face=script>

    Ita, esto, quidcumque...

  5. #4
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 16 Times in 16 Posts

    Re: REGSVR32 oddity?

    Must be the author of "Men are from Mars, Women are from Venus"... <img src=/S/innocent.gif border=0 alt=innocent width=20 height=20>

  6. #5
    Administrator
    Join Date
    Mar 2001
    Location
    St Louis, Missouri, USA
    Posts
    20,517
    Thanks
    1
    Thanked 614 Times in 550 Posts

    Re: REGSVR32 oddity?

    John,

    I recall seeing some issue with regsvr32 not registering the correct path for the registered object when either the path was not included as part of the name or you had not navigated to the correct folder. Now, if I can only find the doc, article, or something other than may increasingly faulty memory.

    Joe

  7. #6
    Platinum Lounger
    Join Date
    Jan 2001
    Location
    Quedgeley, Gloucester, England
    Posts
    5,333
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: REGSVR32 oddity?

    Joe

    That would explain the problem precisely!

    John
    <font face="Script MT Bold"><font color=blue><big><big>John</big></big></font color=blue></font face=script>

    Ita, esto, quidcumque...

  8. #7
    Administrator
    Join Date
    Mar 2001
    Location
    St Louis, Missouri, USA
    Posts
    20,517
    Thanks
    1
    Thanked 614 Times in 550 Posts

    Re: REGSVR32 oddity?

    John,

    When searching around for regsvr32 issues (several word combinations), I saw references to "full path" more than once for the "dllname" parameter. I just can't find anything definitive about how regsvr32 works.

    Joe

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •