WMI performance issue

T

TDM

Hello,

I am wondering if anyone has any comments on WMI performance, especailly
when copying registry hives from one system to another. I have added this to
a script that does this as part of a data migration tool and it seems to
take forever to copy over hives. I am aware of using the registry
executables to export, then import and may have to resort to this but I
am trying to avoid as many external componenets as possible and would prefer
the script to run standalone.

As an example, the recieving system is a PII333/Win2K, the sending system is
a P4/2.4Ghz/XP, it took just about
a half hour to copy HKEY_CURRENT_USER\Software\Microsoft\Windows
NT\CurrentVersion\Windows Messaging SubSystem, both system with 100MB nics.

If anyone has any sample code that uses WMI to copy registry hives, that
would be nice, or is WMI just simply
not the best way to accomplish this.

TIA

TDM
 
T

TDM

I seem to have possibly solved my own problem. I was not setting the
authentication level
on either system, turns out if I set the Authentication level to "Default"
on both systems, it
runs MUCH faster. Not sure why, and have only tested this on 3 systems so
far, but it
looks promising.

TDM
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top