Truesight Server Automation: Windows Patch remediation using catalog with network smb mount failed with error "Bad net name: The network name cannot be found...Failure to add UNC credentials..."

Version 1
    Share This:

    This document contains official content from the BMC Software Knowledge Base. It is automatically updated when the knowledge article is modified.


    TrueSight Server Automation


    TrueSight Server Automation


    TSSA/BSA all versions


    Patch catalog has 'Agent Mounts Source For Direct Use At Deployment (No Local Copy)' selected for 'Network URL Type For Payload Deployment' with SMB URL as below example:


    Patch remediation failed with the following error:

    run level log,,,Feb 4 2020 2:01:07 PM,Error,The job 'PATCH_ANALSYS_&_REMEDIATION_SMB_MOUNT-2326831 @ 2020-02-04 13-57-37-382+1100' has failed,, my-target-server,Commit,1,Feb 4, 2020 2:00:18 PM,Warning,Failed to receive a heartbeat within 90 seconds.,, my-target-server,Commit,1,Feb 4, 2020 2:01:05 PM,Warning,[stderr: 1]  A subdirectory or file shavlik already exists. (Time in agent's deploy log:: 02/04/2020 13:58:49),1,remediate-2016628-PATCH_ANALSYS_&_REMEDIATION_SMB_MOUNT2020-01-21 14-08-51-146+11002020-02-04 13-57-30-491+1100 my-target-server,Commit,1,Feb 4, 2020 2:01:05 PM,Warning,Bad net name: The network name cannot be found  (Time in agent's deploy log:: 02/04/2020 13:58:50),, my-target-server,Commit,1,Feb 4, 2020 2:01:05 PM,Error,Failure to add UNC credentials  (Time in agent's deploy log:: 02/04/2020 13:58:50),, my-target-server,Commit,1,Feb 4, 2020 2:01:05 PM,Error,Asset could not setup local mount/map/UNC to payload source (Time in agent's deploy log:: 02/04/2020 13:58:50),2,windows10.0-2016-xxxxxxxx-x64-1607.msu-MS20-01-W10-xxxxxxxx-en-WINDOWS SERVER 2016 STANDARD-1607 ...




    invalid SMB URL (missing 'Domain' in the URL)


    1. Firstly validate the share using 'net view' command as below. 

    C:\Users\Administrator>net view \\my-target-server /ALL
    Shared resources at \\my-target-server

    Share name  Type  Used as  Comment

    ADMIN$      Disk           Remote Admin
    C$          Disk           Default share
    SHARE       Disk
    IPC$        IPC            Remote IPC
    Users       Disk
    The command completed successfully.

    2. Secondly the SMB URL should look as below:



    Make sure to add the hostname as 'Domain' as highlighted above.

    3. Thirdly check the patches are present on the share folder, after staging.

    Refer to the following doc page for more Information:

    Article Number:


    Article Type:

    Solutions to a Product Problem

      Looking for additional information?    Search BMC Support  or  Browse Knowledge Articles