Does WMI read user information from windows credentials manager? -


i wanted connect remote windows cluster using wmi read node information. user credentials stored in windows credentials manager. but, wmi not seem read user credentials windows credentials manager.i tried wmi explorer tool , below code (c#). idea how work?

{     connectionoptions options = new connectionoptions();     //options.username = username;     //options.password = password;     options.authority = "ntlmdomain:";     scope = new managementscope(@"\\windowscluster\root\cimv2", options);     scope.connect(); } 

i access denied error if not pass username , password. tried possible authentication modes including default , packet privacy.

as far know not use windows credential manager. need fill out username , password when connecting remotely. also, if connecting machine domain account need add domain name after colon in authority field. otherwise if machine creds don't define authority @ all.

hope helps.


Comments

Popular posts from this blog

assembly - 8086 TASM: Illegal Indexing Mode -

Java, LWJGL, OpenGL 1.1, decoding BufferedImage to Bytebuffer and binding to OpenGL across classes -

javascript - addthis share facebook and google+ url -