Solved

WMI error 0x80070721

Posted on 2006-11-19
3
5,056 Views
Last Modified: 2008-01-09
I am tring to install an application on clients computers.
So I need to use WMI from computer#1 to launch the an application that resides on computer#3 on the client computer#2.

I am using WMI to do it.
If the application resides on the client computer#2 than I use "RPC_C_IMP_LEVEL_IMPERSONATE"
CoSetProxyBlanket(pI,RPC_C_AUTHN_WINNT, RPC_C_AUTHZ_NONE,NULL,  
            RPC_C_AUTHN_LEVEL_DEFAULT, RPC_C_IMP_LEVEL_IMPERSONATE, &cID, EOAC_NONE);  
and it works OK.
BUT
if the application resides on computer#3 (or #1) than I must use "RPC_C_IMP_LEVEL_DELEGATE"
CoSetProxyBlanket(pI,RPC_C_AUTHN_WINNT, RPC_C_AUTHZ_NONE,NULL,  
            RPC_C_AUTHN_LEVEL_DEFAULT, RPC_C_IMP_LEVEL_DELEGATE,  &cID, EOAC_NONE);  
But now I get error 0x80070721 (A security package specific error occurred.)
    from GetObject(ClassName, 0, NULL, &pClass, NULL);
   
 

0
Comment
Question by:VapiSoft
3 Comments
 
LVL 8

Accepted Solution

by:
YoungBonzi earned 500 total points
ID: 17992962
Hi, try to give this a shot: http://archives.neohapsis.com/archives/microsoft/various/dcom/2002-q2/0226.html

...the 'Network Security:LAN Manager authentication level' setting
was configured to 'Send NTLM response only'. When we changed it _any_ other
setting (e.g. Send NTLMv2 response only), it worked.

To modify the setting on the client, open up the 'Local Security Policy'
console (in the Admin tools program group). Expand 'Local Policies' and
then select 'Security options', the setting is listed in the right hand
pane.
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

This article will show, step by step, how to integrate R code into a R Sweave document
If you’re thinking to yourself “That description sounds a lot like two people doing the work that one could accomplish,” you’re not alone.
An introduction to basic programming syntax in Java by creating a simple program. Viewers can follow the tutorial as they create their first class in Java. Definitions and explanations about each element are given to help prepare viewers for future …
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…

759 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

24 Experts available now in Live!

Get 1:1 Help Now