Windows Update: Error: -1

BatchPatch Forums Home Forums BatchPatch Support Forum Windows Update: Error: -1

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #8566
    csaborio
    Participant

    I’m getting the error “Windows Update Error: -1” when trying to check updates on a computer. I’m running BatchPatch from Windows Server 2012 and running the command on a server that is running Windows Server 2008 R2.

    Both machines are part of the same domain and I am domain administrator.

    Thanks:

    http://www.scorpiotek.com/screenshots/iTap%20mobile%20RDP.png

    #9433
    doug
    Moderator

    Could you post the contents of any log files found on the remote machine in c:program filesbatchpatch ?

    I believe this is an issue on the remote 2008 server, not the 2012 machine where you’re running BP, but please try running BP from a non-2012 machine to verify that it’s not the cause. On the remote 2008 server, please make sure it has the latest version of the Windows Update Agent. Error -1 can typically be resolved by running Windows Update manually one time on the remote 2008 machine and rebooting it. Then try BP again and let me know what happens.

    Thanks,

    Doug

    #9435
    mklavan
    Participant

    I am getting the same error trying to patch Windows 2003 R2. What information can I provide to troubleshoot this further.

    #9436
    doug
    Moderator

    What type of machine are you running BatchPatch on? Are you able to successfully run a Windows Update action in BatchPatch against any machines? Is it just one problematic target hosts or all they all having the same issue? Are the machines all part of the same domain? Are you using any anti-virus software?

    When you run “Windows Updates > Check for available updates” against a target host, BatchPatch first attempts to copy some files to the remote working directory (Default is C:Program FilesBatchPatch), then BatchPatch executes the remote agent process, and monitors for completion before it finally deletes the files in the remote working directory. So, what I’d like for you to do is launch “Check for available updates” against a target host WHILE watching the target host’s remote working directory. Do you see files get copied there? Also on the target host, watch the active processes. Do you see the psexecsvc.exe ? Do you see the BatchPatchRemoteAgent.exe ? When the process completes, are any files left in the remote working directory? If yes, which ones? Could you post the contents of any of the files that are left?

    As a first step, what happens if you then manually install the Windows Updates on the target host. Does that work? If yes, after you reboot it, can you then try BatchPatch > Check For Available updates against that same target host. Any luck?

    -Doug

    #9449
    doug
    Moderator

    Thanks, Don for posting the solution: http://batchpatch.com/forum/topic/error-1-here-also


    “I saw the other posts but no resolution. psexec EULA accepted. No log file created. I do see the remote agent getting copied however. Running it as a DA.

    I’d REALLY like for this to work and would purchase ASAP if this issue could be explained/resolved.

    Thanks!

    Solved – saw another post regarding the log not being found, it indicated that the version of psexec might be too old – downloaded the newest version and it seems to be working now.”

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