RSS

Daily Archives: January 5, 2010

how to register a dll remotely

in the end, i chose to the WMI path, launching a process remotely with a VBscript file instead of psexec which would have been simpler (but was NOT working for some reason!).

regardless of whether you choose psexec or wmi, you still want to know that the dll got registered.
the advantage of the vbscript is that you can collect the processID and look it up using procmon.

so, step 1: create the vbscript file
taken from here:
http://groups.google.com/group/microsoft.public.scripting.vbscript/browse_thread/thread/87d41417c9d5009a?pli=1

step 2: download procmon
install procmon on the server you want to verify

step 3: run the vbs and verify on target server using procmon
filter procmon for processname regsvr32
or
process id generated from the vbs file

 
Leave a comment

Posted by on January 5, 2010 in Uncategorized