doug

Forum Replies Created

Viewing 30 posts - 1,081 through 1,110 (of 1,987 total)
  • Author
    Posts
  • in reply to: Sequential system execution of job queue #10362
    doug
    Moderator

    Yes you can schedule the ‘advanced multi-row queue sequence’ by using that option in the Task Scheduler. You’ll see in the drop-down menu in the Task Scheduler there is an item called ‘Execute advanced multi-row queue sequence’

    -Doug

    in reply to: Sequential system execution of job queue #10360
    doug
    Moderator

    Colleen – You didn’t mention it, but I assume you are using the ‘Advanced Multi-Row Queue Sequence’ or the ‘Basic Multi-Row Queue Sequence’ right?

    From what you have shown me, it looks like the problem is that you have “Wait for host to be detected online” immediately following your “Reboot (force always)” command. So what’s happening is the reboot command is initiated and then a split second later the ‘Wait for host to be detected online’ checks to see if the host is online. In this case your host simply does not have enough time to go offline for the reboot. To rectify the situation you might do something like this instead:


    Get last boot time

    Get c: disk space

    Reboot (force always)

    Wait 3 minutes

    Wait for host to be detected online

    send email notification

    OR

    Get last boot time

    Get c: disk space

    Reboot (force always)

    Wait for host to go offline and come back online

    send email notification


    Either one of these should generally work for the most part, but neither is a 100% absolute guarantee.

    The potential issue with ‘Wait for 3 minutes’ is that there are times when a host could take longer than 3 minutes to initiate the shutdown sequence before it is rebooted. And so in rare cases you could find that the 3 minutes passes but the host still has not shutdown and rebooted, and so then the ‘Wait for host to be detected online’ will find the host online without it having ever rebooted. You could set the wait time to 5 minutes or 10 minutes (or even just 1 minute) but it’s always a balancing act because you don’t want your process to take forever and you don’t want your process to start the ‘Wait for host to be detected online’ before the host has a chance to go offline. 1 minute would probably be sufficient in most cases, but 3 minutes is probably safer. Or you could do two 1-minute back to back waits to create a 2 minute wait period.

    The potential issue with ‘Wait for host to go offline and come back online’ is that BP cannot accurately determine “offline-ness” 100% of the time. It is generally very good at it using the default setting under ‘Tools > Settings > Grid Preferences > Hosts are considered offline after 3 ping timeouts’ but there are cases, particularly with virtual machines, where a host can be rebooted extremely rapidly in under a few seconds. In cases like this the host might go offline and come back online without BP ever officially detecting it offline. What happens in this case is that your queue hangs until the timeout is reached (the timeout value and options are configured in the job queue window under the ‘Special items’). So there is kind of a balancing act to be mindful of. You could minimize the likelihood of this happening by setting the value to ‘Hosts are considered offline after 2 ping timeouts’, but then on the flip side this could create another type of situation where you have a host that is online but there is a network blip of some kind for a few seconds, and then it could trigger BP to think that the host was offline.

    I hope this helps! The bottom line is that these options are not 100% infallible. The are designed to help streamline processes, but they have to be used with the understanding that there are edge cases where they might not behave as desired.

    -Doug

    in reply to: Feature Request – Import folder groups from Vcenter #10371
    doug
    Moderator

    Thank you for your suggestion. We will consider it.

    -Doug

    in reply to: Feature Request. Copy and paste the grid + row count. #10368
    doug
    Moderator

    You actually can copy the grid to paste somewhere else. Highlight the desired rows and use ctrl-C to copy. Then ctrl-V to paste wherever. The only caveat here is that if you were trying to just copy a single column you would have to first hide all of the other columns, otherwise you will copy and paste all of the visible columns. As a temp workaround though you could keep Excel open and just paste into Excel and then quickly highlight just the hosts column from there to copy into your chat window.

    Also, with regard to exporting… you can export just the host columns to txt file by using ‘File > Export grid > Export current grid host column to .txt file’

    I don’t know if either of those options gives you what you are looking for. We’ll see about what we can do in a future version to help with this.

    With regard to Excel style row count, this is not possible at the moment. However, we have something coming in the next release which I think will give you what you need here. What it does is when you highlight X number of rows, it shows you at any given time the number of rows that you have highlighted.

    -Doug

    in reply to: Vendor patch list. See if a server needs a patch. #10366
    doug
    Moderator

    There is no such feature in BatchPatch. I would suggest you export the consolidated report to a delimited file, and then you can import that file into a spreadsheet where you can manipulate it as desired to get the information that you want. Or you could write a simple script to compare the output to your list.

    -Doug

    in reply to: "Privilege not held" message when trying to reboot #10364
    doug
    Moderator

    We have not had any reports of this issue occurring for anyone else. It could be something specific to your environment… and it could actually be a permissions issue of some kind, but I just found this, which might help:

    See “resolution for issue 2” at this Microsoft link. They suggest installing a particular update to resolve this. More discussion here.

    in reply to: "Privilege not held" message when trying to reboot #10378
    doug
    Moderator

    Were you trying to reboot the same computer that BP was running on? So you launched BatchPatch.exe on computerA, but then you put computerA into the grid to try to reboot it? Rebooting “self” is not allowed in some OSes. This is not a BatchPatch restriction but rather is a WMI restriction.

    FYI the behavior of ‘shutdown.exe /r /f /t 0’ is effectively identical to ‘Reboot (Force Always)’ so it’s fine to use.

    in reply to: 'Pending reboot' question #10376
    doug
    Moderator

    No, that won’t work. I would suggest something more like this:

    1: Get pending reboot status + reboot if required (force)

    2: Wait 5 minutes

    3: Wait for host to be detected online

    4: Download and install updates + reboot if required

    in reply to: Vendor patch list. See if a server needs a patch. #10375
    doug
    Moderator

    I’m glad you like the app! Thanks for sharing your feedback. 🙂

    You can generate a report of available/applicable/needed updates with ‘Actions > Windows updates > Generate consolidated report of available updates’

    -Doug

    in reply to: Infinite patch loop #10374
    doug
    Moderator

    Excellent. Thanks for letting me know. You’re welcome.

    -Doug

    in reply to: Infinite patch loop #10381
    doug
    Moderator

    Yes, definition updates are the same KB number every time with a different definition number. Based on what you have shown me here and what you have said it appears that the issue is specific to Definition 1.249.211.0, because we see that Definition 1.253.667.0 installed successfully and then was not offered again. And it seems that the 1.249.211.0 is only offered/shown when no other definition update is offered/shown. The problematic update is, in fact, being offered by the Windows Update agent. BatchPatch is not “inventing” the update or pulling it from some cache. There are a couple of things I would suggest as a start.

    0. Are you using WSUS? You should see if you can decline this particular definition update on your WSUS. If you are not using WSUS then skip to the next suggestion.

    1. Note that you are currently searching for “all software updates” in BatchPatch. I suspect that the reason you do not see this update in the Windows Update control panel is because of the search scope. If you were to change your search preferences in BatchPatch (under ‘Tools > Settings > Windows Update’) to ‘Important’ and ‘Recommended’ instead of ‘all software updates’ I wouldn’t be surprised if you stopped seeing the update appear. In general, when not using WSUS we recommend using ‘Important’ and ‘Recommended’ to best mimic what Microsoft wants you to download/install on the computer.

    2. You might simply be able to hide the update from appearing in BatchPatch search results. Following these instructions to hide the update in question might be sufficient.

    Hiding Windows Updates Remotely In a Non-WSUS Environment

    3. As a last resort I would think that you could uninstall/reinstall MSE on the target computers.

    doug
    Moderator
    in reply to: Infinite patch loop #10385
    doug
    Moderator

    Ok so we see that there is a definition update. And so now we need to see what the ‘Remote Agent log’ or the target computer C:Program FilesBatchPatchbatchpatch.log file says about the installation attempt, not just the search. If you do a “download and install updates” then there will be an entry for that in the log. It will show if the update was installed by BatchPatch or if it failed to install. If it failed to install, there will be a reason code.

    I understand that you are saying that there is no update to be applied, but it seems that BatchPatch is finding an update. Just because you don’t see it in the Windows Update control panel on the target computer does not mean that it does not exist.

    Also you can look at the history report in BatchPatch (‘Actions > Windows Updates > Generate consolidated report of update history’) which will show the application that has been applying this update in the past.

    in reply to: Infinite patch loop #10383
    doug
    Moderator

    What is the update that is available? Sometimes you might seen this with a Windows Defender definition update since there is a new one every day.

    Also you can/should look at the ‘Remote Agent Log’ column or the BatchPatch.log file from the target computer to see what actually is taking place during the update process. Is there an update that is failing to apply? The failure will be visible in the log.

    -Doug

    doug
    Moderator

    We’ll add this to the list.

    Thanks,

    Doug

    in reply to: Keeping the grid fields locked #10394
    doug
    Moderator

    Two points…

    1. There is a bug in the current version of BP that prevents the global column display order from being properly loaded when using ‘Tools > Settings > Remember open tabs’

    2. The next release of BP will save the column display order with each .bps file instead of globally.

    in reply to: Is there a what's new file for each release of BatchPatch? #10393
    doug
    Moderator

    You can find the change log inside the software under ‘Help > Check for updates > View change log’

    Thanks,

    Doug

    in reply to: Report of update schedule from each remote computer #10392
    doug
    Moderator

    I’m actually not certain which setting is controlling what you are seeing there. It might be different depending on which operating system you’re looking at. However, I can tell you that the settings are all generally controlled by group policy or more specifically by the policy’s corresponding registry value (when group policy is applied to a given computer, that computer then updates typically one registry value per applied policy to control the behavior specified by the policy). The location of all the policies in question is:

    Computer Configuration > Administrative Templates > Windows Components > Windows Update

    You could determine which registry keys/values are associated with the policies that you have in place to control the timing of updates, and then you could use BatchPatch to retrieve the corresponding registry values to determine the settings on the target computers.

    However, we recommend that you use group policy (or local policy if the computers are not members of a domain) to prevent automatic updates from automatically installing updates, so there should be *no* schedule set for automatic updates. Then use BatchPatch to install the updates on-demand. This is described in more detail here:

    batchpatch-integration-with-wsus-and-group-policy

    in reply to: Report of update schedule from each remote computer #10390
    doug
    Moderator

    When you say “an update schedule” what exactly do you mean? Please be as specific and detailed as possible.

    -Doug

    in reply to: checking for Write Filter #10388
    doug
    Moderator

    How do you currently check if it is disabled? Do you have a command line query that you can run to determine its state? If so, this should be able to be integrated into your BatchPatch remote commands so that it appears in your menu.

    how-to-hard-code-your-own-custom-commands-in-the-batchpatch-actions-menu

    in reply to: Windows Update: Error 1611: -106. Failure #10406
    doug
    Moderator

    Are you using a local WSUS or are the searches being performed on Windows Update/Microsoft Update? Please try both (you can change the setting under ‘Tools > Settings > Windows Update’ in BatchPatch. I’d like to know if the issue only occurs with one or the other or both.

    Please review the following posting about 106G. I don’t believe we have ever seen or heard of your particular HRESULT -2145123271, and I don’t believe we have ever seen 106G occur on Windows 2012R2. However, the 106G we have seen just a handful of times with customers. The 106G indicates that there was an error retrieving the search results from the update server, while the HRESULT value is the reason code. There may be a solution/resolution in this posting:

    Error 106G

    Also, if you are able to retrieve the relevant lines from your WindowsUpdate.log (C:WindowsWindowsUpdate.log) from the target computer, they might help shed some light. I would suggest searching for 80240439 in the log file to find the appropriate lines. Feel free to share your findings here.

    -Doug

    in reply to: Windows Update: Error 1611: -106. Failure #10404
    doug
    Moderator

    I would suggest that you start by seeing if you are able to install updates at the control panel of any of these computers *without* using BatchPatch or if you get a similar error when performing the operation directly on the computer. Let me know what happens.

    -2145123271 == 0x80240439

    Some of these search results might also help: Google 80240439

    in reply to: ps1 font install script not working #10403
    doug
    Moderator

    Excellent. Thanks for following up. I’m glad that 2 worked. I also understand that 3 does not scale well. I’ll ask the team to re-work the script so that it can be used for any number of fonts without having to fill in so much code.

    -Doug

    in reply to: ps1 font install script not working #10400
    doug
    Moderator

    I would suggest a few things to try:

    1. Change the ‘remote execution context’ to ‘Elevated token’ and then try again and see if it works.

    BatchPatch Remote Execution Context

    2. Change the \nasserver path in the script to a local/relative path instead of one that reaches out to a remote server. If your script is made to *not* access a remote path and instead is made to access the files locally (locally on the target computer), I suspect it will work.

    Deploying a Script with Relative Instead of Absolute Paths

    3. Follow the tutorial linked below that explains another way to deploy fonts:

    Remotely Install OpenType (.otf) or TrueType (.ttf) Fonts

    Please report back and let us know what you try and what works for you.

    Thanks,

    Doug

    in reply to: Patching Windows Server 2016 #10431
    doug
    Moderator

    Yes.

    in reply to: Patching Windows Server 2016 #10429
    doug
    Moderator

    No. Give the free evaluation version of BatchPatch a go and you can see for yourself. If you run into any problems or have any questions, just post back to this thread.

    -Doug

    in reply to: Clear column contents in Job Queue? #10443
    doug
    Moderator

    Hi Scott – There is not currently a way to clear column contents from inside of a job queue, but we understand the need/desire, and we are considering this for a future build.

    Thanks,

    Doug

    in reply to: Overall Advanced Multi-row queue sequence interrupted. #10441
    doug
    Moderator

    Scott – You found a bug. We’ll have this fixed for the next release.

    Thanks,

    Doug

    in reply to: "Notes" column location is not persistent #10439
    doug
    Moderator

    Yes – there is a bug when using “remember open tabs” that causes them to not stick. however, for the next release of BP we will be having the column order saved per-tab/per-bps file instead of globally, so it will no longer be an issue.

    Thanks,

    Doug

    in reply to: Bypass WSUS #10447
    doug
    Moderator

    Yes, you can use the ‘server selection’ setting to choose whether updates are searched for and pulled from your local WSUS or directly from Microsoft. Windows Update Installation Filters

Viewing 30 posts - 1,081 through 1,110 (of 1,987 total)