Client Management Suite

 View Only
  • 1.  Delete hidden tasks

    Posted Mar 16, 2017 04:05 PM

    Ok so I had a thread that i didnt get back to and got closed. i now have time to work on this and tried the items listed. Some ran, some didnt but the delete would not work... as there are tasks still assigned. Hidden...

     

    if I search in upper right corner for 

    Backup Exec System Recovery 8.5

    I get the following:

     

    besr85.jpg

     

    If i click on any of the policies i dont get anywhere...

    I was just able to click on View All 3 and now i can see them. Right click and no delete function... Exported them out and imported them into a new area... 

    exist.jpg

     

    if i right click there is no delete....

    NoDelete.jpg

     

    how does one delete them so I can actually delete the software resources? I do not have the files and that is the issue at hand. I could possibly just put a dummy .exe in each folder where the older software is expected and see if it replicates out....

    Since i have the tasks visible now I can right click, properties and get the GUID

    so even from the server asdk it fails...

    im logged in as altiris app id

    asdk.jpg

     

    any help appreciated



  • 2.  RE: Delete hidden tasks

    Posted Mar 16, 2017 04:41 PM

    i have a workaround.. well to get them out of my PS listing... 

    I searched for each item the same way as above to get to where I could export each one... imported each into a folder under policies (put them where they belong to keep it organized), then was able to go in and choose package contains no files - had to also change package server to individually and check none off (default). Save then update distribution points... check a package server in and viola gone...

    this is a workaround.. i guess i can leave it this way also.

    I have a seperate issue with my mcafee that ill have to look into.. just want to go home for now hah... but still..

     

    PServer.jpgimport.jpg



  • 3.  RE: Delete hidden tasks

    Posted Mar 17, 2017 08:37 AM

    There's a couple of ways to try and delete things from Symantec:

    "Unable to delete item due to dependencies"

    http://localhost/Altiris/NS/Admin/Menu Items/DeleteItem.aspx?itemguid=<guid>

    http://www.symantec.com/docs/TECH147435

    "Batch delete script for Items within Notification Server"

    http://www.symantec.com/docs/HOWTO61235

    "How to delete an item using the ASDK tools?"

    On the SMP Server run:

    AltirisASDKNS.exe cmd:DeleteItem "ItemGuid:7933a506-e412-4115-a857-3c66e5485628"

    from %Program Files%\Altiris\Altiris ASDK\Bin in a command prompt as the Application Identity account:

    http://www.symantec.com/docs/HOWTO101657

    There's a deleteitem script here, run nscript.exe deleteanitem.cs <GUID>:

    "Common Tools"

    http://www.symantec.com/docs/HOWTO3056

    There used to be a TECH206507 that suggested:

    EXECUTE spItemDelete @Guid= 'Paste the GUID of the filter'

    And lastly theres:

    "How can I delete large amounts of computers from the Symantec Management Platform database?"

     

    http://www.symantec.com/docs/HOWTO95559



  • 4.  RE: Delete hidden tasks

    Broadcom Employee
    Posted Mar 17, 2017 10:46 AM

    According to information from your picture where you've tried to delete Item via ASDK, sounds like you can't to delete them since their Attribute is ReadOnly/NoDelete.

    1. Check what Attribute has your Item which can't be deleted  (Assume it has Attributes=272)

    SELECT * FROM Item WHERE Guid=' Here GUID of custom Item which can be deleted'

    2. Check what Attribute has your custom Item which can be deleted (Assume it has Attributes=0)

    SELECT * FROM Item WHERE Guid=' Here GUID of custom Item which can be deleted'

    3. Finally change Attribute for Item(s) which you want to delete:

    UPDATE Item

    SET Attributes = " Value when Item Can be Deleted" WHERE Guid = 'HERE GUID of required Item which you want to delete'