RSS

how to register a dll remotely

05 Jan

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

Advertisements
 
Leave a comment

Posted by on January 5, 2010 in Uncategorized

 

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

 
%d bloggers like this: