Solved

WMI error 0x80070721

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

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Windows 10 new laptop initial install restart 7 43
Difference between List and Array in Python 5 61
moving away from .local domain 4 20
Query Syntax 17 32
This article will show, step by step, how to integrate R code into a R Sweave document
This is an explanation of a simple data model to help parse a JSON feed
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …

785 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