Hello guys,
I have code that works fine in Windows Forms application:
Dim objWMIService As Object
objWMIService = GetObject("winmgmts: " _
& "{impersonationLevel=impersonate}!\\" & lcServerIP & "\root\cimv2")
Same code crashes when I call it from Windows Service application doing the same thing. I run service under both Local System and my user name.
lcServerIP - is remote server name.
Any ideas anybody?