תשובה SCCM Remote Assistance in Incident Task List

  • יום רביעי 07 אוקטובר 2009 21:34
     
     
    Currently the Incident Task menu gives you the option of launching a Remote Desktop session, would it be possible to add an option to launch a SCCM Remote Assistance (assuming SCCM is connected) as this is far more valuable due to the interactive session it launches with the end user.  Our help desk uses Remote Assistance 95% of the time compared to Remote Desktop, as we don't want to log our users off their machines.

כל התגובות

  • יום רביעי 07 אוקטובר 2009 21:50
    משיב
     
     
    Hi,
    if you look under Library/Tasks you can create new tasks on your own. If you target the task to Incident, it should show up as a task when select a incident. As long as the operator have permissions to the task. You can configure the task to run any command. You then need to add the computer name as a parameter after SCCM Remote Assistance, so it connects to the correct machine.
    Anders Bengtsson | Microsoft MVP - Operations Manager | http://www.contoso.se
  • יום חמישי 08 אוקטובר 2009 17:05
    משיב
     
     
    In addition to what Anders mentioned, you can connect to the machine directly if you have a related computer defined in incident.
  • יום חמישי 08 אוקטובר 2009 18:01
     
     
    Thanks for the help Anders and Kevin

    I have created a new task, with the command line to execute Remote Assistance.  As you suggested Kevin, there is a related computer defined in the incident, but it is not one of the properties you can pass to your command from SM.  Am I missing something or is Ander's post correct in that you have to manually type in the computer name.

    Thanks
    Andrew
  • יום חמישי 08 אוקטובר 2009 18:39
    בעלים
     
     תשובה
    When you create your task, select the Incident class.  then on the command line screen, in the appropriate position where you want to substitute in the related comptuer's name, click the Insert Property button. 

    On the dialog that pops up, expand Incident on the left.
    Select Relates to Configuration Item.
    On the right search for 'Principal Name' if you want the FQDN of the computer or 'NetBIOS' if you want the NetBIOS name.
    Select either Principal Name or NetBIOS Name and click Add

    Travis Wright Senior Program Manager Lead Microsoft
    • הוצע כתשובה על-ידי Travis Wright MSFTOwner יום חמישי 08 אוקטובר 2009 18:39
    • סומן כתשובה על-ידי Thrawn28 יום שישי 09 אוקטובר 2009 21:13
    •  
  • יום שני 07 מאי 2012 13:42
     
     

    I must still be missing something. I'm using SCSM 2012, created a new Task, selected Incident for Target Class.

    Categories - Skipped (Optional)

    Full Path to command: %windir%\system32\msra.exe

    Insert Property:

    Incident -> Is Related to Configuration Item -> NetBIOS Computer Name

    Syntax: $Context/Path[Relationship='WorkItem!System.WorkItemRelatesToConfigItem' TypeConstraint='Windows!Microsoft.Windows.Computer']/Property[Type='Windows!Microsoft.Windows.Computer']/NetbiosComputerName$

    Uncheck Box "Log in action log when this task is run" (Default)

    Check Box "Show output when this task is run" (Default)

    When I go into SCSM 2012 Console, in an Incident, the Tasks show the newly created Remote Assistance Task, when I click on it, it opens a box "Task Parameters" it lists NetBIOS Computer Name, then a blank field to be populated.

    Why isn't that field being populated with the computer name from the ticket?

    When I click on "Remote Desktop" it opens a different dialog box called "Select Computer" with the name of the computers associated with the ticket, I can just choose the computer and click OK and start a Remote Desktop session.  I want this functionality, but only with Remote Assistance.

    Thanks

  • יום שני 07 מאי 2012 22:16
     
     

    I must still be missing something. I'm using SCSM 2012, created a new Task, selected Incident for Target Class.

    Categories - Skipped (Optional)

    Full Path to command: %windir%\system32\msra.exe

    Insert Property:

    Incident -> Is Related to Configuration Item -> NetBIOS Computer Name

    Syntax: $Context/Path[Relationship='WorkItem!System.WorkItemRelatesToConfigItem' TypeConstraint='Windows!Microsoft.Windows.Computer']/Property[Type='Windows!Microsoft.Windows.Computer']/NetbiosComputerName$

    Uncheck Box "Log in action log when this task is run" (Default)

    Check Box "Show output when this task is run" (Default)

    When I go into SCSM 2012 Console, in an Incident, the Tasks show the newly created Remote Assistance Task, when I click on it, it opens a box "Task Parameters" it lists NetBIOS Computer Name, then a blank field to be populated.

    Why isn't that field being populated with the computer name from the ticket?

    When I click on "Remote Desktop" it opens a different dialog box called "Select Computer" with the name of the computers associated with the ticket, I can just choose the computer and click OK and start a Remote Desktop session.  I want this functionality, but only with Remote Assistance.

    Thanks

    Have a look at Marcel's blog post here, it might be of help to you: http://blog.scsmfaq.ch/2011/04/03/starting-the-sccm-remote-control-client-from-the-service-manager-console-part-2-aka-how-to-dynamically-add-information-to-tasks/

    //Per

  • יום שלישי 08 מאי 2012 08:02
     
     

    Hi !

    Problably you missed to use the /offerra parameter in the Parameterfield.

    I have done this for a client. The command is:

    %windir%\system32\msra.exe

    The parameter is:

    /offerra $Context/Path[Relationship='CustomSystem_WorkItem_Library!System.WorkItemRelatesToConfigItem' TypeConstraint='CustomMicrosoft_Windows_Library!Microsoft.Windows.Computer']/Property[Type='CustomMicrosoft_Windows_Library!Microsoft.Windows.Computer']/NetbiosComputerName$

    This works on SCSM2010 SP1 CU3

    Cheers / Roman


    Problem talk creates problems, solution talk creates solutions (Steve deShazer)

  • יום שלישי 08 מאי 2012 12:55
     
     

    First off, thank you for your replies on such an old thread
    I tried the /offerra 
    Still same issue, I'm using SCSM 2012.  Just set it up last week, no previous enviroment. 

    Full Path:
    %windir%\system32\msra.exe

    Parameters Syntax:
    /offerra $Context/Path[Relationship='WorkItem!System.WorkItemRelatesToConfigItem' TypeConstraint='Windows!Microsoft.Windows.Computer']/Property[Type='Windows!Microsoft.Windows.Computer']/PrincipalName$

    When I go over to the Tasks Pane, while in an incident that has a computer associated with it, when I launch, it's still asking for a computer name.
    So I went a step further to just see what happens, I manually inserted a computer name, got an error:

    Run Task Failed.
    Application C:\Windows\system32\msra.exe
    Parameters: /offerra HS88FS1-COMP
    The requested operation requires elevation

    I get same error even when I launch the SCSM Console as an administrator
    The command does work from the Run Box: C:\Windows\system32\msra.exe /offerra HS88FS1-COMP

    I would imaging there is a way to make this work in 2012, I'm just so new to SCSM that I don't know where to begin.  Really wish I knew how to see how the "Remote Desktop" action was setup, so I could copy that, and just change it to use Remote Assistance instead.


    • נערך על-ידי blokg יום שלישי 08 מאי 2012 12:57
    •  
  • יום חמישי 12 יולי 2012 15:38
     
     

    Greetings,

    @blokg

    I have been reading threads about this for sometime now, I am running into the same issue.  

    Has anyone found a solution to this?

    I have read on another site that this can be done thru XML and imported thru a management pack into the system.  This blog post has not been produced yet, so i'm looking for an interim solution