Inconsistent Result

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #12866
    kurtwest
    Participant

    Batchpatch is returning different results than if i run a command on the server itself. I am checking servers to see if SMBv1.

    I have tried a PS script and sc.exe and I have the same results. Batchpathc says SMBv1 is not enabled, but the server locally says other wise.

    I have tried Local and Remote command and SYSTEM and Elevated Token.

    #12867
    kurtwest
    Participant

    Here is example. Notice the different. I have double checked I am dealing with same server.

    Batchpatch:
    Local Command 1
    sc.exe qc lanmanworkstation
    Local Command Output Log
    [SC] QueryServiceConfig SUCCESS

    SERVICE_NAME: lanmanworkstation
    TYPE : 20 WIN32_SHARE_PROCESS
    START_TYPE : 2 AUTO_START
    ERROR_CONTROL : 1 NORMAL
    BINARY_PATH_NAME : C:\WINDOWS\System32\svchost.exe -k NetworkService -p
    LOAD_ORDER_GROUP : NetworkProvider
    TAG : 0
    DISPLAY_NAME : Workstation
    DEPENDENCIES : Bowser
    : MRxSmb20
    : NSI
    SERVICE_START_NAME : NT AUTHORITY\NetworkService

    Local CMD:
    sc.exe qc lanmanworkstation
    [SC] QueryServiceConfig SUCCESS

    SERVICE_NAME: lanmanworkstation
    TYPE : 20 WIN32_SHARE_PROCESS
    START_TYPE : 2 AUTO_START
    ERROR_CONTROL : 1 NORMAL
    BINARY_PATH_NAME : C:\Windows\System32\svchost.exe -k NetworkService
    LOAD_ORDER_GROUP : NetworkProvider
    TAG : 0
    DISPLAY_NAME : Workstation
    DEPENDENCIES : Bowser
    : MRxSmb10
    : MRxSmb20
    : NSI
    SERVICE_START_NAME : NT AUTHORITY\NetworkService

    #12868
    doug
    Moderator

    BatchPatch local command runs the command on the BatchPatch computer, not the target computer. BatchPatch remote command runs the command on the target computer. So, you’re comparing the results from the BatchPatch computer to the target computer instead of target computer to target computer.

    #12869
    kurtwest
    Participant

    Ok? I had that completely backwards.

    #12870
    doug
    Moderator

    No worries. The “local” is local to the computer where you’re running BP. I totally understand how you could interpret it in the opposite way.

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.