Help Connecting WMI issue

  • Thread starter Thread starter Nadir
  • Start date Start date
N

Nadir

Hi

I am conencting to remote machine using following code:


Set oRegistry = GetObject("winmgmts:{impersonationLevel=impersonate}//" & _
sComputer & "/root/default:StdRegProv")

The problem is that i want to connect to WMI using named user and password,
Can anybody help me how to achieve this?

Regards

Tariq
 
Back
Top