BatchPatch Forums Home › Forums › BatchPatch Support Forum › Windows Update: Error: -1
- This topic has 4 replies, 3 voices, and was last updated 12 years, 3 months ago by doug.
-
AuthorPosts
-
August 20, 2012 at 10:51 pm #8566csaborioParticipant
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
August 21, 2012 at 2:19 am #9433dougModeratorCould 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
August 28, 2012 at 8:33 pm #9435mklavanParticipantI am getting the same error trying to patch Windows 2003 R2. What information can I provide to troubleshoot this further.
August 28, 2012 at 8:56 pm #9436dougModeratorWhat 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
September 15, 2012 at 3:55 pm #9449dougModeratorThanks, 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.”
-
AuthorPosts
- You must be logged in to reply to this topic.