?
Solved

WMI error 0x80070721

Posted on 2006-11-19
3
Medium Priority
?
5,238 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 8

Accepted Solution

by:
YoungBonzi earned 2000 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

Optimize your web performance

What's in the eBook?
- Full list of reasons for poor performance
- Ultimate measures to speed things up
- Primary web monitoring types
- KPIs you should be monitoring in order to increase your ROI

Question has a verified solution.

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

If you don't know how to downgrade, my instructions below should be helpful.
Q&A with Course Creator, Mark Lassoff, on the importance of HTML5 in the career of a modern-day developer.
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…
Introduction to Processes

770 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