Click here to Skip to main content
15,902,846 members
Home / Discussions / C#
   

C#

 
QuestionManagementObject Pin
arkiboys22-Sep-08 3:55
arkiboys22-Sep-08 3:55 
AnswerRe: ManagementObject Pin
Mark Salsbery22-Sep-08 6:35
Mark Salsbery22-Sep-08 6:35 
GeneralRe: ManagementObject Pin
arkiboys22-Sep-08 21:09
arkiboys22-Sep-08 21:09 
GeneralRe: ManagementObject Pin
Mark Salsbery23-Sep-08 8:45
Mark Salsbery23-Sep-08 8:45 
GeneralRe: ManagementObject [modified] Pin
arkiboys23-Sep-08 20:52
arkiboys23-Sep-08 20:52 
GeneralRe: ManagementObject Pin
Mark Salsbery24-Sep-08 4:55
Mark Salsbery24-Sep-08 4:55 
GeneralRe: ManagementObject Pin
arkiboys24-Sep-08 6:48
arkiboys24-Sep-08 6:48 
GeneralRe: ManagementObject Pin
Mark Salsbery24-Sep-08 7:02
Mark Salsbery24-Sep-08 7:02 
I gave you a link that worked for me - there's a LOT of pages of
information starting at that link.

I'm a programmer not an IT person, sorry. Smile | :)

Since you're getting access denied, you're already getting
past firewall/routing issues, so that's a start.

What operating system is running on the remote?


FWIW, your code worked fine for me just setting the
ConnectionOptions object as follows:

ConnectionOptions options = new ConnectionOptions();<br />
options.Username = "username";<br />
options.Password = "password";<br />
options.Authority = "NTLMDOMAIN:myDomainName";


Maybe Kerberos authentication will work for you...

Mark Salsbery
Microsoft MVP - Visual C++

Java | [Coffee]

GeneralRe: ManagementObject Pin
arkiboys24-Sep-08 21:00
arkiboys24-Sep-08 21:00 
GeneralRe: ManagementObject Pin
arkiboys24-Sep-08 21:07
arkiboys24-Sep-08 21:07 
GeneralRe: ManagementObject Pin
Mark Salsbery25-Sep-08 5:03
Mark Salsbery25-Sep-08 5:03 
GeneralRe: ManagementObject Pin
arkiboys25-Sep-08 22:44
arkiboys25-Sep-08 22:44 
GeneralRe: ManagementObject Pin
Mark Salsbery26-Sep-08 4:50
Mark Salsbery26-Sep-08 4:50 
GeneralRe: ManagementObject Pin
arkiboys26-Sep-08 10:27
arkiboys26-Sep-08 10:27 
QuestionWindows / Web Pin
ellllllllie22-Sep-08 2:12
ellllllllie22-Sep-08 2:12 
AnswerRe: Windows / Web Pin
Pete O'Hanlon22-Sep-08 2:33
mvePete O'Hanlon22-Sep-08 2:33 
GeneralRe: Windows / Web Pin
ellllllllie22-Sep-08 2:47
ellllllllie22-Sep-08 2:47 
GeneralRe: Windows / Web Pin
Pete O'Hanlon22-Sep-08 4:10
mvePete O'Hanlon22-Sep-08 4:10 
GeneralRe: Windows / Web Pin
Monark23-Sep-08 15:03
Monark23-Sep-08 15:03 
Question"Modal" form that doesn't block the calling thread Pin
arnold_w22-Sep-08 2:12
arnold_w22-Sep-08 2:12 
AnswerRe: "Modal" form that doesn't block the calling thread Pin
Lutosław22-Sep-08 2:29
Lutosław22-Sep-08 2:29 
GeneralRe: "Modal" form that doesn't block the calling thread Pin
arnold_w22-Sep-08 2:39
arnold_w22-Sep-08 2:39 
AnswerRe: "Modal" form that doesn't block the calling thread Pin
Nicholas Butler22-Sep-08 2:54
sitebuilderNicholas Butler22-Sep-08 2:54 
GeneralRe: "Modal" form that doesn't block the calling thread Pin
arnold_w22-Sep-08 3:59
arnold_w22-Sep-08 3:59 
QuestionCheck whether an Email Id exists or not [modified] Pin
pearlswathi22-Sep-08 1:30
pearlswathi22-Sep-08 1:30 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.