Unsubscribe IP service with Bulk Administration Tool

I can subscribe IP service to IP Phone with Bulk Administration Tool, but how to unsubscribe IP service form 1000 IP phones. I can’t delete IP service, because IP service is subscribe to User Device Profile. CCM version is 3.3.3.

BAT doesn't have a feature to unsubscribe/delete IP
services. It is not on the roadmap either.

Similar Messages

  • Unity Bulk Administration Tool update

    I just ran the 10/30/06 update of the Cisco Bulk Administration Tool from http://www.cicsounitytools.com. BAT no longer works. The browser comes up with a blank (white) page....It looks like I ran the CUC version of the tool update. Any suggestions that will keep me from tearing apart the Unity box?

    Hi Mike,
    Have you tried using Bulk Edit (with .csv)?
    User with Voicemail > Users referenced in this CSV file > Next
    Here's a clip that speaks to how this is run now. You first search and select all
    the users you want to change and then choose Bulk Edit;
    To Edit User Account Information in Bulk Edit Mode (some editing from original this example
    is for Caller Input settings but you'll see the point)
    Step 1 In Cisco Unity Connection Administration, on the Search Users page, check the applicable user check boxes, and select Bulk Edit.
    If the user accounts that you want to edit in bulk do not all appear on  one Search page, check all applicable check boxes on the first page,  then go to the next page and check all applicable check boxes, and so  on, until you have selected all applicable users. Then select Bulk Edit.
    Step 2 On the Edit Caller Input page, change settings as applicable.
    Note The  Status message at the top of the Edit Caller Input page tells you how  many user accounts are being edited. Also note that the page is  populated only with the fields that you are allowed to edit in bulk  mode, and that the fields available for edit also depend on whether all  of the user accounts reside on the local server.
    Step 3 If applicable, set the Bulk Edit Task Scheduling Fields to schedule the Bulk Edit operation for a later date and/or time.
    Step 4 Select Submit.
    Step 5 If  applicable, continue to change settings for these user accounts on the  related pages available from the Edit menu. As you make changes on each  page, select Submit before going on to the next page to make additional changes.
    http://www.cisco.com/en/US/docs/voice_ip_comm/connection/8x/user_mac/guide/8xcucmac090.html#wp1049545
    Try a couple of test users first to come up with the exact plan.
    Cheers!
    Rob
    "Clocks go slow in a place of work
    Minutes drag and the hours jerk" 
    -The Clash

  • Deploy a web service with the deploy tool (J2EE)

    Hi!
    I want to deploy a web service with the Deploy Tool (J2EE 1.4).
    (For info, I'm working on Win 2000.)
    I have the following error when I'm trying to deploy:
    distribute: C:\monHello2\monApp.ear
    Deploy action running...
    Deployment failed on target localhost:4848_server : Fatal Error from EJB Compiler -- jaxrpc compilation exception
    !!! Operation Failed !!!
    Someone can help me, please? What's the problem?
    Other question: when I create the WAR file, I have to add : my interface class, my implementation class, my others java classes, my WSDL file and my mapping.xml file.
    Should I add the .jar that is used by one of my class???? I think yes, but...
    thank you and excuse me for my english... ;o)

    Only primitive types can be returned? Is thatcorrect????
    true - for more details check out section 3.4.1.3 of
    this book which is available for purchase or online
    http://java.sun.com/blueprints/guidelines/designing_w
    ebservices/I meant to say primitive type and "special POJOs" called "JAXRPC Value Types" - check out the reference I listed

  • Changing alias with Bulk Admin Tool - Unity 9

    I have a Unity Connection 9 server that had been updated from Unity v5.  My users were all created with an arbitrary alias that does not match my active directory usernames.
    I would like to complete my AD integration by updating my existing users' alias to match their AD username (600 users)
    I've exported my unity users, and I have added a column that has my AD user name matched to their unity alias.  It appears that normally the alias is used as the unique ID for any Bulk Admin tool updates, but I would like to do a update that would *change the alias*.  The extension could be my unique ID in this case.
    Can anyone offer a suggestion on how to use the Bulk Admin tool to update aliases?  
    Thanks in advance,
    Keith

    The alias and extension update utility can help here:
    http://www.ciscounitytools.com/Applications/CxN/AliasAndExtensionUpdate/AliasAndExtensionUpdate.html
    there's a help and training video out there to give you and idea of how it works - it's a remapping strategy so it looks up the old alias (and/or extension) as the unique identifier and changes it to a new alias - so there's both a new and old alias and (optionally) a new and old extension in the CSV file for this purpose.
    Try it with a few users and make sure the SMTP address format is correct and such when you're done and such.

  • Problem deploying web service with the deploy tool (J2EE)

    Hello,
    I am trying to deploy a sample Web Service on the Sun Java System Application Server Platform Edition 8.1 2005Q1.
    I run into a deployment problem ("jaxrpc compilation exception") when I have one of the web methods declared (in the endpoint interface) to throw a service-specific exception. The problem disappears when I change the declaration to throw an Exception.
    Here is the exception class:
    public class StockNotFoundException extends Exception {
    private String message;
    public StockNotFoundException(String message) {
    super(message);
    this.message = message;
    public String getMessage() {
    return message;
    the endpoint interface:
    public interface StockServiceIF extends Remote {
    // the service methods
    public boolean sellStocks(String ticker, int quantity)
    throws RemoteException, StockNotFoundException;
    and here are the error messages I am seeing:
    in the deploy tool dialog:
    distribute: C:\Beginning J2EE 1.4\Ch13\StockServiceApp\StockServiceApp.ear
    deployment started : 0%
    Deploying application in domain failed; Fatal Error from EJB Compiler -- jaxrpc compilation exception
    ; requested operation cannot be completed
    !!! Operation Failed !!!
    !!! With The Following Failure Messages !!!
    Deploying application in domain failed; Fatal Error from EJB Compiler -- jaxrpc compilation exception
    ; requested operation cannot be completed
    Fatal Error from EJB Compiler -- jaxrpc compilation exception
    and in the server log:
    [#|2005-02-01T18:30:47.856-0600|INFO|sun-appserver-pe8.1|javax.enterprise.system.tools.deployment|_ThreadID=12;|DPL5109: EJBC - START of EJBC for [StockServiceApp]|#]
    [#|2005-02-01T18:30:47.856-0600|INFO|sun-appserver-pe8.1|javax.enterprise.system.tools.deployment|_ThreadID=12;|Processing beans ...|#]
    [#|2005-02-01T18:30:47.936-0600|INFO|sun-appserver-pe8.1|javax.enterprise.system.stream.out|_ThreadID=12;|
    error: incorrect fault part name for fault "StockNotFoundException" of operation "sellStocks": "StockNotFoundException"|#]
    [#|2005-02-01T18:30:47.966-0600|INFO|sun-appserver-pe8.1|javax.enterprise.system.tools.deployment|_ThreadID=12;|Total Deployment Time: 1001 msec, Total EJB Compiler Module Time: 0 msec, Portion spent EJB Compiling: 0%|#]
    [#|2005-02-01T18:30:47.966-0600|SEVERE|sun-appserver-pe8.1|javax.enterprise.system.tools.deployment|_ThreadID=12;|Exception occured in J2EEC Phase
    com.sun.enterprise.deployment.backend.IASDeploymentException: Fatal Error from EJB Compiler -- jaxrpc compilation exception
         at com.sun.enterprise.webservice.codegen.JaxRpcRICodegen.accept(JaxRpcRICodegen.java:206)
         at com.sun.enterprise.deployment.EjbBundleDescriptor.visit(EjbBundleDescriptor.java:584)
         at com.sun.enterprise.deployment.Application.visit(Application.java:1333)
         at com.sun.enterprise.webservice.codegen.JaxRpcRICodegen.run(JaxRpcRICodegen.java:103)
         at com.sun.ejb.codegen.IASEJBC.doCompile(IASEJBC.java:785)
         at com.sun.ejb.codegen.IASEJBC.ejbc(IASEJBC.java:563)
         at com.sun.enterprise.deployment.backend.EJBCompiler.preDeployApp(EJBCompiler.java:340)
         at com.sun.enterprise.deployment.backend.EJBCompiler.compile(EJBCompiler.java:209)
         at com.sun.enterprise.deployment.backend.AppDeployer.runEJBC(AppDeployer.java:284)
         at com.sun.enterprise.deployment.backend.AppDeployer.deploy(AppDeployer.java:176)
         at com.sun.enterprise.deployment.backend.AppDeployer.doRequestFinish(AppDeployer.java:107)
         at com.sun.enterprise.deployment.phasing.J2EECPhase.runPhase(J2EECPhase.java:146)
         at com.sun.enterprise.deployment.phasing.DeploymentPhase.executePhase(DeploymentPhase.java:71)
         at com.sun.enterprise.deployment.phasing.PEDeploymentService.executePhases(PEDeploymentService.java:633)
         at com.sun.enterprise.deployment.phasing.PEDeploymentService.deploy(PEDeploymentService.java:188)
         at com.sun.enterprise.deployment.phasing.PEDeploymentService.deploy(PEDeploymentService.java:520)
         at com.sun.enterprise.management.deploy.DeployThread.deploy(DeployThread.java:143)
         at com.sun.enterprise.management.deploy.DeployThread.run(DeployThread.java:171)
    |#]
    I would appreciate any pointers to resolving this issue.
    Thanks,
    Satyen

    Can you post the WSDL that was generated by the tool
    for this interface ?I generate the WSDL using "wscompile -define -nd . -classpath ..\build\classes -f:wsi service-config.xml", and here it is:
    <?xml version="1.0" encoding="UTF-8"?>
    <definitions name="StockService" targetNamespace="urn:stockService" xmlns:tns="urn:stockService" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/">
    <types>
    <schema targetNamespace="urn:stockService" xmlns:tns="urn:stockService" xmlns:soap11-enc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns="http://www.w3.org/2001/XMLSchema">
    <complexType name="StockNotFoundException">
    <sequence>
    <element name="message" type="string" nillable="true"/></sequence></complexType>
    <element name="StockNotFoundException" type="tns:StockNotFoundException"/></schema></types>
    <message name="StockServiceIF_sellStocks">
    <part name="String_1" type="xsd:string"/>
    <part name="int_2" type="xsd:int"/></message>
    <message name="StockServiceIF_sellStocksResponse">
    <part name="result" type="xsd:boolean"/></message>
    <message name="StockNotFoundException">
    <part name="StockNotFoundException" element="tns:StockNotFoundException"/></message>
    <portType name="StockServiceIF">
    <operation name="sellStocks" parameterOrder="String_1 int_2">
    <input message="tns:StockServiceIF_sellStocks"/>
    <output message="tns:StockServiceIF_sellStocksResponse"/>
    <fault name="StockNotFoundException" message="tns:StockNotFoundException"/></operation></portType>
    <binding name="StockServiceIFBinding" type="tns:StockServiceIF">
    <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="rpc"/>
    <operation name="sellStocks">
    <soap:operation soapAction=""/>
    <input>
    <soap:body use="literal" namespace="urn:stockService"/></input>
    <output>
    <soap:body use="literal" namespace="urn:stockService"/></output>
    <fault name="StockNotFoundException">
    <soap:fault name="StockNotFoundException" use="literal"/></fault></operation></binding>
    <service name="StockService">
    <port name="StockServiceIFPort" binding="tns:StockServiceIFBinding">
    <soap:address location="REPLACE_WITH_ACTUAL_URL"/></port></service></definitions>
    ---------------------------------------------------------------------------------------------------------

  • Getting the "401 : Unauthorized" exception with bulk edit tool in Project Server 2010

    Hi all,
    We are using the Bulkedit tool in our Project server 2010 environment.
    When users click the button "bulk edit projects" from the ribbon, it is giving the error with a correlation id.
    I checked the id in uls logs and find that it is giving the below message.
    Does anyone know why we are getting this error ?
     Best Regards
    Anil Kumar Alladi

    Hi Paul,
    Thanks for your reply.
    The loopbackcheck was already disabled. The users who are accessing the url from the client machines also getting this error.
    Best Regards
    Anil Kumar Alladi

  • Bulk Administration Tool for VG224

    Is there a way to bulk import VG224's into CallManger 4.1(3). I have about 75 VG224's and must assign a directory number for each. I've tried VGC,and Virtual VGC templates that end up with a VG248 config. Any ideas would be great for the VG224. Thanks.

    CSCeg88823
    Add support to BAT for vg224 ports
    The status of this defect is still New and there is not ETA
    //G

  • Using Bulk Administration to remove services?

    I know I can add phones services using bulk administration and a phone template. How would I go about removing IP phone services using bulk administration? I have tried to remove the services from the template I used to put the services in place, then run the bulk admin tool and the services were still on the IP phones even though the updated template is not subscribed. Can anyone help me with what I am missing here? Any assistance would be great!
    Rgds,
    Vicky

    It also seems not possible to modify services with BAT.
    So is there an easy way to remove an IP Service from multiple phones ?
    I added a service with incorrect parameters and need to delete the service and re-add it.

  • Netweaver Administrator Tool

    Can any one help me with Netweaver Administrator Tool.
    Docs or links on this would help me
    -naveen.

    Hi Naveen
    SAP recommends to use VISUAL ADMINISTRATOR to carry out administration tasks and control and services.
    Check the link give in Prakash's reply for more info on administration tools.
    Regards.
    Praveen

  • Web services with servicegen i Weblogic 7

    I am trying to create web services with Weblogic's tool servicegen and
    ANT. It works great until I have a web service method that return a PK
    class of an EJB. I get the error "Error: bean property and public
    field found with the same name: id" (full stacktrace below). After
    some investigating I found out that it was my PK class that was the
    bad guy. But my PK class MUST have the field "id" public, otherwise
    ejbc complains...
    Am I doing anything wrong or does anyone have a solution?
    /Weasel
    webservices:
    [servicegen] Generating service "HelloWorldEJB" ...
    [servicegen] Generating XML types and serializers from ejb-jar
    (E:\java\projects\CMP20CMR-xdoclet\build\ejb\weblogic-ejb\samples-ejb.jar)
    [servicegen] weblogic.xml.schema.binding.BindingException: Error: bean
    property and public field found with the same name: id
    [servicegen]      at weblogic.ant.taskdefs.webservices.autotype.AutoTypeTask.execute(AutoTypeTask.java:356)
    [servicegen]      at weblogic.ant.taskdefs.webservices.servicegen.ServiceGenTask.generateService(ServiceGenTask.java:248)
    [servicegen]      at weblogic.ant.taskdefs.webservices.servicegen.ServiceGenTask.execute(ServiceGenTask.java:141)
    [servicegen]      at org.apache.tools.ant.Task.perform(Task.java)
    [servicegen]      at org.apache.tools.ant.Target.execute(Target.java)
    [servicegen]      at org.apache.tools.ant.Target.performTasks(Target.java)
    [servicegen]      at org.apache.tools.ant.Project.executeTarget(Project.java)
    [servicegen]      at org.apache.tools.ant.Project.executeTargets(Project.java)
    [servicegen]      at org.apache.tools.ant.Main.runBuild(Main.java)
    [servicegen]      at org.apache.tools.ant.Main.start(Main.java)
    [servicegen]      at org.apache.tools.ant.Main.main(Main.java)
    [servicegen] --- Nested Exception ---
    [servicegen] weblogic.xml.schema.binding.BindingException: Error: bean
    property and public field found with the same name: id
    [servicegen]      at weblogic.ant.taskdefs.webservices.autotype.ComponentAutoTyper.mapComponent(ComponentAutoTyper.java:157)
    [servicegen]      at weblogic.ant.taskdefs.webservices.autotype.EJBAutoTyper.run(EJBAutoTyper.java:100)
    [servicegen]      at weblogic.ant.taskdefs.webservices.autotype.AutoTypeTask.execute(AutoTypeTask.java:350)
    [servicegen]      at weblogic.ant.taskdefs.webservices.servicegen.ServiceGenTask.generateService(ServiceGenTask.java:248)
    [servicegen]      at weblogic.ant.taskdefs.webservices.servicegen.ServiceGenTask.execute(ServiceGenTask.java:141)
    [servicegen]      at org.apache.tools.ant.Task.perform(Task.java)
    [servicegen]      at org.apache.tools.ant.Target.execute(Target.java)
    [servicegen]      at org.apache.tools.ant.Target.performTasks(Target.java)
    [servicegen]      at org.apache.tools.ant.Project.executeTarget(Project.java)
    [servicegen]      at org.apache.tools.ant.Project.executeTargets(Project.java)
    [servicegen]      at org.apache.tools.ant.Main.runBuild(Main.java)
    [servicegen]      at org.apache.tools.ant.Main.start(Main.java)
    [servicegen]      at org.apache.tools.ant.Main.main(Main.java)
    [servicegen] --- Nested Exception ---
    [servicegen] weblogic.xml.schema.binding.BindingException: Error: bean
    property and public field found with the same name: id
    [servicegen]      at weblogic.xml.schema.binding.internal.codegen.JavaInspector.checkForFieldConflict(JavaInspector.java:384)
    [servicegen]      at weblogic.xml.schema.binding.internal.codegen.JavaInspector.addPropertiesToScalar(JavaInspector.java:345)
    [servicegen]      at weblogic.xml.schema.binding.internal.codegen.JavaInspector.fillDescriptor(JavaInspector.java:152)
    [servicegen]      at weblogic.xml.schema.binding.internal.codegen.JavaInspector.getDescriptor(JavaInspector.java:115)
    [servicegen]      at weblogic.xml.schema.binding.internal.codegen.JavaInspector.createDescriptorForClass(JavaInspector.java:90)
    [servicegen]      at weblogic.xml.schema.binding.internal.codegen.Compiler.compile(Compiler.java:121)
    [servicegen]      at weblogic.xml.schema.binding.internal.XSDTypeMappingBuilder.mapClass(XSDTypeMappingBuilder.java:88)
    [servicegen]      at weblogic.xml.schema.binding.internal.XSDTypeMappingBuilder.mapClass(XSDTypeMappingBuilder.java:101)
    [servicegen]      at weblogic.xml.schema.binding.internal.TypeMappingBuilderBase.addMapping(TypeMappingBuilderBase.java:176)
    [servicegen]      at weblogic.ant.taskdefs.webservices.autotype.ComponentAutoTyper.addMapping(ComponentAutoTyper.java:85)
    [servicegen]      at weblogic.ant.taskdefs.webservices.autotype.ComponentAutoTyper.mapComponent(ComponentAutoTyper.java:113)
    [servicegen]      at weblogic.ant.taskdefs.webservices.autotype.EJBAutoTyper.run(EJBAutoTyper.java:100)
    [servicegen]      at weblogic.ant.taskdefs.webservices.autotype.AutoTypeTask.execute(AutoTypeTask.java:350)
    [servicegen]      at weblogic.ant.taskdefs.webservices.servicegen.ServiceGenTask.generateService(ServiceGenTask.java:248)
    [servicegen]      at weblogic.ant.taskdefs.webservices.servicegen.ServiceGenTask.execute(ServiceGenTask.java:141)
    [servicegen]      at org.apache.tools.ant.Task.perform(Task.java)
    [servicegen]      at org.apache.tools.ant.Target.execute(Target.java)
    [servicegen]      at org.apache.tools.ant.Target.performTasks(Target.java)
    [servicegen]      at org.apache.tools.ant.Project.executeTarget(Project.java)
    [servicegen]      at org.apache.tools.ant.Project.executeTargets(Project.java)
    [servicegen]      at org.apache.tools.ant.Main.runBuild(Main.java)
    [servicegen]      at org.apache.tools.ant.Main.start(Main.java)
    [servicegen]      at org.apache.tools.ant.Main.main(Main.java)
    BUILD FAILED
    E:\java\projects\CMP20CMR-xdoclet\script\build.xml:498:
    weblogic.xml.schema.binding.BindingException: Error: bean property and
    public field found with the same name: id

    Web services can only be published to BEA if you install Apache SOAP on BEA and use the Apache SOAP option of JDeveloper. The J2EE Web Services implementation framework is specific to Oracle9iAS.
    The PL/SQL Web Services server implementation is based on the J2EE Web Services option and as a result is not really portable to BEA.
    To publish a PL/SQL Web service on BEA with JDeveloper you would have to write the Java wrapper code to invoke the stored procedure using standard JDBC and then publish that Java class as a Web service using Apache SOAP. Then if you had Apache SOAP installed on BEA you would be set.
    Portability of Web services implementations is a big feature coming with JAX-RPC - currently what most vendors have is interoperability between implementations because of things like SOAPBuilders and WS-I. When JAX-RPC becomes part of J2EE 1.4 roughly in June and vendors start putting out implementations on it you should get closer to portability.
    In the meantime, the easiest way to get portability is to use the same SOAP server on both servers - Apache SOAP is a good example.
    Hope this helps.
    Mike

  • How to import tables to the physical layer of the Administration Tool.

    Friends could help me with this issue. I'm just starting in OBIEE
    How to connect a ORACLE database 11g R2 installed on Linux with OBIEE administration tool that I have installed Windows Server 2003 to create a subject area.
    Basically I want to import the tables from the database on Linux to the physical layer of the administration tool that is installed on Windows Server 2003.
    I can tell how to make this connection step by step.
    Beforehand thanks for the support.

    hi,
    How to connect a ORACLE database 11g R2 installed on Linux with OBIEE administration tool that I have installed Windows Server 2003 to create a subject area.create DSN by taking correct ODBC driver for 11g R2 in windows 2003 with linux DB credentials
    thanks,
    Saichand.V

  • How can I get Apple Mobile Device to appear in the Administrative Tools\Services folder?

    My iPhine still won't sync with iTunes. I was instructed to go to Control Panel\Administrative Tools\Services to locate Apple Mobile Devices, but it isn't there. How can I get it there?

    See Here...
    AMDS for Windows
    http://support.apple.com/kb/TS1567

  • How to launch an application with elevated administrator account privilege from windows service even if the account has not yet logon

    Here is the case:
    OS environment: Windows 7
    There are two user accounts in my system, standard user "S" and administrator account "A", and there is a windows service running with "Local System" privilege.
    Now i logged-in with account "S", and i want to launch an application with elevated administrator account "A" from that service program, so here is the code snippet:
    int LaunchAppWithElevatedPrivilege (
    LPTSTR lpszUsername, // client to log on
    LPTSTR lpszDomain, // domain of client's account
    LPTSTR lpszPassword, // client's password
    LPTSTR lpCommandLine // command line to execute e.g. L"C:\\windows\\regedit.exe"
    DWORD dwExitCode = 0;
    HANDLE hToken = NULL;
    HANDLE hFullToken = NULL;
    HANDLE hPrimaryFullToken = NULL;
    HANDLE lsa = NULL;
    BOOL bResult = FALSE;
    LUID luid;
    MSV1_0_INTERACTIVE_PROFILE* profile = NULL;
    DWORD err;
    PTOKEN_GROUPS LocalGroups = NULL;
    DWORD dwLength = 0;
    DWORD dwSessionId = 0;
    LPVOID pEnv = NULL;
    DWORD dwCreationFlags = 0;
    PROCESS_INFORMATION pi = {0};
    STARTUPINFO si = {0};
    __try
    if (!LogonUser( lpszUsername,
    lpszDomain,
    lpszPassword,
    LOGON32_LOGON_INTERACTIVE,
    LOGON32_PROVIDER_DEFAULT,
    &hToken))
    LOG_FAILED(L"GetTokenInformation failed!");
    __leave;
    if( !GetTokenInformation(hToken, (TOKEN_INFORMATION_CLASS)19, (VOID*)&hFullToken,
    sizeof(HANDLE), &dwLength))
    LOG_FAILED(L"GetTokenInformation failed!");
    __leave;
    if(!DuplicateTokenEx(hFullToken, MAXIMUM_ALLOWED, NULL,
    SecurityIdentification, TokenPrimary, &hPrimaryFullToken))
    LOG_FAILED(L"DuplicateTokenEx failed!");
    __leave;
    DWORD dwSessionId = 0;
    WTS_SESSION_INFO* sessionInfo = NULL;
    DWORD ndSessionInfoCount;
    bResult = WTSEnumerateSessions(WTS_CURRENT_SERVER_HANDLE, 0, 1, &sessionInfo, &ndSessionInfoCount);
    if (!bResult)
    dwSessionId = WTSGetActiveConsoleSessionId();
    else
    for(unsigned int i=0; i<ndSessionInfoCount; i++)
    if( sessionInfo[i].State == WTSActive )
    dwSessionId = sessionInfo[i].SessionId;
    if(0 == dwSessionId)
    LOG_FAILED(L"Get active session id failed!");
    __leave;
    if(!SetTokenInformation(hPrimaryFullToken, TokenSessionId, &dwSessionId, sizeof(DWORD)))
    LOG_FAILED(L"SetTokenInformation failed!");
    __leave;
    if(CreateEnvironmentBlock(&pEnv, hPrimaryFullToken, FALSE))
    dwCreationFlags |= CREATE_UNICODE_ENVIRONMENT;
    else
    pEnv=NULL;
    if (! ImpersonateLoggedOnUser(hPrimaryFullToken) )
    LOG_FAILED(L"ImpersonateLoggedOnUser failed!");
    __leave;
    si.cb= sizeof(STARTUPINFO);
    si.lpDesktop = L"winsta0\\default";
    bResult = CreateProcessAsUser(
    hPrimaryFullToken, // client's access token
    NULL, // file to execute
    lpCommandLine, // command line
    NULL, // pointer to process SECURITY_ATTRIBUTES
    NULL, // pointer to thread SECURITY_ATTRIBUTES
    FALSE, // handles are not inheritable
    dwCreationFlags, // creation flags
    pEnv, // pointer to new environment block
    NULL, // name of current directory
    &si, // pointer to STARTUPINFO structure
    &pi // receives information about new process
    RevertToSelf();
    if (bResult && pi.hProcess != INVALID_HANDLE_VALUE)
    WaitForSingleObject(pi.hProcess, INFINITE);
    GetExitCodeProcess(pi.hProcess, &dwExitCode);
    else
    LOG_FAILED(L"CreateProcessAsUser failed!");
    __finally
    if (pi.hProcess != INVALID_HANDLE_VALUE)
    CloseHandle(pi.hProcess);
    if (pi.hThread != INVALID_HANDLE_VALUE)
    CloseHandle(pi.hThread);
    if(LocalGroups)
    LocalFree(LocalGroups);
    if(pEnv)
    DestroyEnvironmentBlock(pEnv);
    if(hToken)
    CloseHandle(hToken);
    if(hFullToken)
    CloseHandle(hFullToken);
    if(hPrimaryFullToken)
    CloseHandle(hPrimaryFullToken);
    return dwExitCode;
    I passed in username and password of account "A" to method "LaunchAppWithElevatedPrivilege", and also the application i want to launch, e.g. "C:\windows\regedit.exe", but when i run the service program, i found it do launch
    "regedit.exe" with elevated account "A", but the content of regedit.exe is pure back. screenshot as below:
    Can anyone help me on this?

    You code is not dealing with the DACL access to Winsta0\Default.  Only the LocalSystem account will have full access and the interactively logged on user which is why regedit is not displaying properly.  You'll need to grant access to your user. 
    You also need to deal with UAC since that code is going to give you a non-elevated token via LogonUser().  You need to get the full token via a call to GetTokenInformation() + TokenLinkedToken.
    thanks
    Frank K [MSFT]
    Follow us on Twitter, www.twitter.com/WindowsSDK.

  • Upgrade to Windows 8.1 Pro from Windows 8 Pro causing issues with Remote Server Administration Tools

    Last night I received the Windows 8.1 update and it has caused Remote Server Administration Tools to stop working. I tried to reinstall the tools using Windows8.1-KB2693643-x64.msu but get the following error:
    Windows Update Standalone Installer
    Installer encountered an error: 0x8007000d
    The data is invalid.
    In the event log I have the following error
    Windows update  could not be installed because of error 2147942413 "The data is invalid." (Command line: ""C:\WINDOWS\system32\wusa.exe" "C:\RSAT\Windows8.1-KB2693643-x64.msu" ")
    System
    Provider
    [ Name]
    Microsoft-Windows-WUSA
    [ Guid]
    {09608C12-C1DA-4104-A6FE-B959CF57560A}
    EventID
    3
    Version
    0
    Level
    2
    Task
    0
    Opcode
    0
    Keywords
    0x8000000000000000
    TimeCreated
    [ SystemTime]
    2014-11-05T12:14:18.035865000Z
    EventRecordID
    1562
    Correlation
    Execution
    [ ProcessID]
    5224
    [ ThreadID]
    5132
    Channel
    Setup
    Computer
    removed
    Security
    [ UserID]
    S-1-5-21-1644491937-764733703-854245398-1794
    EventData
    UpdateTitle
    ErrorCode
    2147942413
    ErrorString
    The data is invalid.
    CommandLine
    "C:\WINDOWS\system32\wusa.exe" "C:\RSAT\Windows8.1-KB2693643-x64.msu" 
    I did have the Remote Server Administration Tools installed previously when I was running windows 8 pro and everything was fine. I've tried to remove the older version but according to the below it isn't even installed and Remote Server Administration
    Tools doesn't appear in Turn Windows features on or off.
    c:\RSAT>dism /online /Get-Packages
    Deployment Image Servicing and Management tool
    Version: 6.3.9600.17031
    Image Version: 6.3.9600.17031
    Packages listing:
    Package Identity : Microsoft-Windows-Client-LanguagePack-Package~31bf3856ad364e35~amd64~en-US~6.3.9600.16384
    State : Installed
    Release Type : Language Pack
    Install Time : 24/09/2014 06:33
    Package Identity : Microsoft-Windows-Embedded-EmbeddedLockdown-Package-TopLevel~31bf3856ad364e35~amd64~~7.3.9600.17116
    State : Installed
    Release Type : Update
    Install Time : 24/09/2014 10:03
    Package Identity : Microsoft-Windows-Foundation-Package~31bf3856ad364e35~amd64~~6.3.9600.16384
    State : Installed
    Release Type : Foundation
    Install Time : 22/08/2013 14:46
    Package Identity : Package_for_KB2891214~31bf3856ad364e35~amd64~~6.3.1.0
    State : Installed
    Release Type : Update
    Install Time : 05/11/2014 01:39
    Package Identity : Package_for_KB2902816~31bf3856ad364e35~amd64~~6.3.1.0
    State : Installed
    Release Type : Update
    Install Time : 05/11/2014 01:39
    Package Identity : Package_for_KB2919355~31bf3856ad364e35~amd64~~6.3.1.14
    State : Installed
    Release Type : Update
    Install Time : 24/09/2014 10:03
    Package Identity : Package_for_KB2920189~31bf3856ad364e35~amd64~~6.3.1.1
    State : Installed
    Release Type : Security Update
    Install Time : 24/09/2014 10:03
    Package Identity : Package_for_KB2931358~31bf3856ad364e35~amd64~~6.3.1.2
    State : Installed
    Release Type : Security Update
    Install Time : 24/09/2014 10:03
    Package Identity : Package_for_KB2931366~31bf3856ad364e35~amd64~~6.3.1.4
    State : Installed
    Release Type : Security Update
    Install Time : 24/09/2014 10:03
    Package Identity : Package_for_KB2932046~31bf3856ad364e35~amd64~~6.3.1.5
    State : Installed
    Release Type : Feature Pack
    Install Time : 24/09/2014 10:03
    Package Identity : Package_for_KB2934018~31bf3856ad364e35~amd64~~6.3.1.5
    State : Installed
    Release Type : Feature Pack
    Install Time : 24/09/2014 10:03
    Package Identity : Package_for_KB2937220~31bf3856ad364e35~amd64~~6.3.1.0
    State : Installed
    Release Type : Update
    Install Time : 24/09/2014 10:03
    Package Identity : Package_for_KB2937592~31bf3856ad364e35~amd64~~6.3.1.0
    State : Installed
    Release Type : Feature Pack
    Install Time : 24/09/2014 10:03
    Package Identity : Package_for_KB2938439~31bf3856ad364e35~amd64~~6.3.1.0
    State : Installed
    Release Type : Feature Pack
    Install Time : 24/09/2014 10:03
    Package Identity : Package_for_KB2938772~31bf3856ad364e35~amd64~~6.3.1.0
    State : Installed
    Release Type : Update
    Install Time : 24/09/2014 10:03
    Package Identity : Package_for_KB2939153~31bf3856ad364e35~amd64~~6.3.1.1
    State : Installed
    Release Type : Update
    Install Time : 24/09/2014 10:03
    Package Identity : Package_for_KB2939576~31bf3856ad364e35~amd64~~6.3.1.1
    State : Installed
    Release Type : Security Update
    Install Time : 24/09/2014 10:03
    Package Identity : Package_for_KB2949621~31bf3856ad364e35~amd64~~6.3.2.0
    State : Installed
    Release Type : Hotfix
    Install Time : 24/09/2014 10:03
    Package Identity : Package_for_KB2950153~31bf3856ad364e35~amd64~~6.3.1.0
    State : Installed
    Release Type : Update
    Install Time : 24/09/2014 10:03
    Package Identity : Package_for_KB2954879~31bf3856ad364e35~amd64~~6.3.2.0
    State : Installed
    Release Type : Update
    Install Time : 24/09/2014 10:03
    Package Identity : Package_for_KB2955164~31bf3856ad364e35~amd64~~6.3.1.3
    State : Installed
    Release Type : Update
    Install Time : 24/09/2014 10:03
    Package Identity : Package_for_KB2956575~31bf3856ad364e35~amd64~~6.3.1.3
    State : Installed
    Release Type : Update
    Install Time : 24/09/2014 10:03
    Package Identity : Package_for_KB2958262~31bf3856ad364e35~amd64~~6.3.1.2
    State : Installed
    Release Type : Update
    Install Time : 24/09/2014 10:03
    Package Identity : Package_for_KB2958263~31bf3856ad364e35~amd64~~6.3.1.2
    State : Installed
    Release Type : Update
    Install Time : 24/09/2014 10:03
    Package Identity : Package_for_KB2959626~31bf3856ad364e35~amd64~~6.3.3.0
    State : Installed
    Release Type : Update
    Install Time : 24/09/2014 10:03
    Package Identity : Package_for_KB2959977~31bf3856ad364e35~amd64~~6.3.1.1
    State : Installed
    Release Type : Update
    Install Time : 24/09/2014 10:03
    Package Identity : Package_for_KB2961072~31bf3856ad364e35~amd64~~6.3.1.1
    State : Installed
    Release Type : Security Update
    Install Time : 24/09/2014 10:03
    Package Identity : Package_for_KB2962140~31bf3856ad364e35~amd64~~6.3.1.0
    State : Installed
    Release Type : Update
    Install Time : 24/09/2014 10:03
    Package Identity : Package_for_KB2962872~31bf3856ad364e35~amd64~~6.3.1.4
    State : Installed
    Release Type : Security Update
    Install Time : 24/09/2014 10:03
    Package Identity : Package_for_KB2964718~31bf3856ad364e35~amd64~~6.3.1.0
    State : Installed
    Release Type : Security Update
    Install Time : 24/09/2014 10:03
    Package Identity : Package_for_KB2965142~31bf3856ad364e35~amd64~~6.3.1.0
    State : Installed
    Release Type : Update
    Install Time : 24/09/2014 10:03
    Package Identity : Package_for_KB2965500~31bf3856ad364e35~amd64~~6.3.1.0
    State : Installed
    Release Type : Update
    Install Time : 24/09/2014 10:03
    Package Identity : Package_for_KB2966407~31bf3856ad364e35~amd64~~6.3.1.0
    State : Installed
    Release Type : Update
    Install Time : 24/09/2014 10:03
    Package Identity : Package_for_KB2966870~31bf3856ad364e35~amd64~~6.3.1.4
    State : Installed
    Release Type : Update
    Install Time : 24/09/2014 10:03
    Package Identity : Package_for_KB2967162~31bf3856ad364e35~amd64~~6.3.1.1
    State : Installed
    Release Type : Update
    Install Time : 24/09/2014 10:03
    Package Identity : Package_for_KB2968296~31bf3856ad364e35~amd64~~6.3.1.0
    State : Installed
    Release Type : Security Update
    Install Time : 04/11/2014 17:56
    Package Identity : Package_for_KB2968599~31bf3856ad364e35~amd64~~6.3.1.1
    State : Installed
    Release Type : Update
    Install Time : 24/09/2014 10:03
    Package Identity : Package_for_KB2969817~31bf3856ad364e35~amd64~~6.3.1.0
    State : Installed
    Release Type : Update
    Install Time : 24/09/2014 10:03
    Package Identity : Package_for_KB2971203~31bf3856ad364e35~amd64~~6.3.1.1
    State : Installed
    Release Type : Update
    Install Time : 24/09/2014 10:03
    Package Identity : Package_for_KB2971850~31bf3856ad364e35~amd64~~6.3.1.2
    State : Installed
    Release Type : Security Update
    Install Time : 24/09/2014 10:03
    Package Identity : Package_for_KB2972103~31bf3856ad364e35~amd64~~6.3.2.0
    State : Installed
    Release Type : Security Update
    Install Time : 04/11/2014 17:56
    Package Identity : Package_for_KB2972280~31bf3856ad364e35~amd64~~6.3.1.1
    State : Installed
    Release Type : Security Update
    Install Time : 24/09/2014 10:03
    Package Identity : Package_for_KB2973201~31bf3856ad364e35~amd64~~6.3.1.3
    State : Installed
    Release Type : Security Update
    Install Time : 24/09/2014 10:03
    Package Identity : Package_for_KB2973351~31bf3856ad364e35~amd64~~6.3.2.0
    State : Installed
    Release Type : Security Update
    Install Time : 24/09/2014 10:03
    Package Identity : Package_for_KB2974008~31bf3856ad364e35~amd64~~6.3.1.0
    State : Installed
    Release Type : Update
    Install Time : 24/09/2014 10:03
    Package Identity : Package_for_KB2975061~31bf3856ad364e35~amd64~~6.3.1.0
    State : Installed
    Release Type : Update
    Install Time : 24/09/2014 07:11
    Package Identity : Package_for_KB2975719~31bf3856ad364e35~amd64~~6.3.1.8
    State : Installed
    Release Type : Update
    Install Time : 24/09/2014 10:03
    Package Identity : Package_for_KB2976978~31bf3856ad364e35~amd64~~6.3.2.1
    State : Installed
    Release Type : Update
    Install Time : 24/09/2014 10:03
    Package Identity : Package_for_KB2977292~31bf3856ad364e35~amd64~~6.3.1.0
    State : Installed
    Release Type : Security Update
    Install Time : 04/11/2014 17:56
    Package Identity : Package_for_KB2978041~31bf3856ad364e35~amd64~~6.3.1.0
    State : Installed
    Release Type : Security Update
    Install Time : 04/11/2014 17:56
    Package Identity : Package_for_KB2979573~31bf3856ad364e35~amd64~~6.3.1.1
    State : Installed
    Release Type : Security Update
    Install Time : 04/11/2014 17:56
    Package Identity : Package_for_KB2979576~31bf3856ad364e35~amd64~~6.3.1.1
    State : Installed
    Release Type : Security Update
    Install Time : 04/11/2014 17:56
    Package Identity : Package_for_KB2979582~31bf3856ad364e35~amd64~~6.3.1.0
    State : Installed
    Release Type : Update
    Install Time : 24/09/2014 10:03
    Package Identity : Package_for_KB2980654~31bf3856ad364e35~amd64~~6.3.1.2
    State : Installed
    Release Type : Update
    Install Time : 24/09/2014 10:03
    Package Identity : Package_for_KB2987107~31bf3856ad364e35~amd64~~6.3.1.4
    State : Installed
    Release Type : Security Update
    Install Time : 04/11/2014 17:56
    Package Identity : Package_for_KB2989542~31bf3856ad364e35~amd64~~6.3.1.2
    State : Installed
    Release Type : Update
    Install Time : 04/11/2014 17:56
    Package Identity : Package_for_KB2990532~31bf3856ad364e35~amd64~~6.3.1.0
    State : Installed
    Release Type : Update
    Install Time : 24/09/2014 10:03
    Package Identity : Package_for_KB2993651~31bf3856ad364e35~amd64~~6.3.1.2
    State : Installed
    Release Type : Update
    Install Time : 24/09/2014 10:03
    Package Identity : Package_for_KB2998174~31bf3856ad364e35~amd64~~6.3.1.0
    State : Installed
    Release Type : Update
    Install Time : 04/11/2014 17:56
    Package Identity : Package_for_KB3000061~31bf3856ad364e35~amd64~~6.3.1.2
    State : Installed
    Release Type : Security Update
    Install Time : 04/11/2014 17:56
    Package Identity : Package_for_KB3000869~31bf3856ad364e35~amd64~~6.3.1.0
    State : Installed
    Release Type : Security Update
    Install Time : 04/11/2014 17:56
    Package Identity : Package_for_KB3000988~31bf3856ad364e35~amd64~~6.3.1.0
    State : Installed
    Release Type : Update
    Install Time : 04/11/2014 17:56
    The operation completed successfully.
    Any help on this issue would be appreciated, if you need any further information please let me know.
    Thanks

    SeniorInternet,
    I’ve seen this issue in the past and it occurred because the file was corrupted. 
    It’s possible that something went wrong when downloading it originally on your newly upgraded machine. 
    Try downloading
    KB2693643 again from another machine and install it.
    Hope this helps!
    Mike
    Windows Outreach Team – IT Pro
    Windows for IT Pros on TechNet

  • Problem with opening repository in Administration Tool

    Hello!
    I have a problem when I want to open saved repository in Administration Tool.
    I've saved uncompleted repository (without Presentation Layer) in offline mode (BI Server was stopped all the time) and then I've closed A. Tool.
    BI Server was stopped all the time.
    And now when I want to open my saved repository in offline mode, A. Tool asked me password of user Administrator. I typed password but logon failed. I am sure that password is correct because when I try to open another repositoy with the same user and password, repository will open.
    What can I do to open my repository?
    Thnx!

    What can I do to open my repository?Type the correct Administrator password. Otherwise try with another RPD user which is also memger of the Administrators group.

Maybe you are looking for

  • Can I transfer data from one iphone to another (but later rather than at the same time)

    I currently have an Iphone 4 that was provided through my company but I am changing employment next month (as well as country) and was hoping to store all my current iphone software and data (hopefully on my computer) and then purchase a new Iphone 4

  • List of Compatible MicroSD Cards for ZEN Style M300/M100

    Note: As there is a wide variety of cards available in the market, some may not be compatible, even of the same brand, model and class. This list serves only as a reference to help you make informed choices. Customers are therefore advised to test th

  • Virus problem perhaps

    hi all, i am a new Mac user and am loving it . minor challenges, amongst them one is - 'msqmPPT3497624026' i see this file everyday in a folder called 'Unrecovered Files' which strangely reappears in my Trash Can. i delete the folder along with the f

  • Tally is compatible with mac?

    windows 7 in mac can i used tally software?

  • Change history of work center in Prodn Order

    Hi All, We currently are changing the work center in prodn order via an ABAP program number of times based on various conditions. We would like to know the change history for the work center in prodn order. Is there any <b>transaction or report or fu