Solved

WMI error 0x80070721

Posted on 2006-11-19
3
5,153 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

MIM Survival Guide for Service Desk Managers

Major incidents can send mastered service desk processes into disorder. Systems and tools produce the data needed to resolve these incidents, but your challenge is getting that information to the right people fast. Check out the Survival Guide and begin bringing order to chaos.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This is about my first experience with programming Arduino.
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.
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

730 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