BatchPatch Forums Home › Forums › BatchPatch Support Forum › Inconsistent Result
- This topic has 4 replies, 2 voices, and was last updated 3 years, 6 months ago by doug.
-
AuthorPosts
-
May 13, 2021 at 5:53 pm #12866kurtwestParticipant
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.
May 13, 2021 at 5:56 pm #12867kurtwestParticipantHere 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 SUCCESSSERVICE_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\NetworkServiceLocal CMD:
sc.exe qc lanmanworkstation
[SC] QueryServiceConfig SUCCESSSERVICE_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\NetworkServiceMay 13, 2021 at 6:10 pm #12868dougModeratorBatchPatch 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.
May 13, 2021 at 7:26 pm #12869kurtwestParticipantOk? I had that completely backwards.
May 13, 2021 at 8:00 pm #12870dougModeratorNo 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.
-
AuthorPosts
- You must be logged in to reply to this topic.