doug

Forum Replies Created

Viewing 30 posts - 751 through 780 (of 1,981 total)
  • Author
    Posts
  • in reply to: BatchPatch extremely laggy after latest version #9796
    doug
    Moderator

    I’m not sure what it could be since the code didn’t change in those commands between the last and current version. I noticed in your video that there is no tab header status icon, which makes me wonder are you definitely using the current version of the app? Or did you just disable it under ‘Tools > Settings > Grid prefs > Show tab header activity / alert images’.

    I know you said the issue didn’t exist until you started using the new version, but I’m wondering have you since gone back and tried the previous version to see if it still does not occur in the previous version even though it occurs in the current/new version? Also are you running BP on the same computer as you always were or did you change computers or start running BP in a VM or something like that in between the last time you used the older version and the time that you started using the newer version?

    in reply to: Take and remove vmware snapshots using batchpatch #9795
    doug
    Moderator

    Hi Mike – Yes you can do that. You would just need to parameterize the inputs so that you can pass them into the script at the time you run the script rather than having the script prompt you with a dialog. Below are a few different tutorials that should give you an idea of how you can do it.

    virtual-machine-create-snapshot-apply-windows-updates-reboot-remove-snapshot-basic-multi-row-queue-sequence-example

    advanced-script-integration-with-batchpatch

    advanced-script-integration-with-batchpatch-part-2

    in reply to: Disk space column not saving #9837
    doug
    Moderator

    There are two things happening here.

    1. The ‘Save’ item remains grayed out after you modify the column visibility. We are aware of this, and it’s a design option that we chose intentionally for reasons that are difficult to explain in this posting. The bottom line though is that the grid data needs to be modified before the ‘Save’ item will be activated. Adding or removing a column without actually adding/modifying data in the grid will not activate the ‘Save’ item. We do not plan/expect to change this behavior. To get around this, your solution of using ‘Save as’ and then overwriting the .bps file is your best option. There is nothing wrong with doing this, and it will work properly.

    2. You found a bug that prevents the ‘Disk Space (%)’ column from being automatically displayed when loading a grid that had been saved while it was visible. ‘Disk Space (%)’ is the only column where this occurs. ‘Disk Space (MB)’ and all other columns will properly be displayed when loading the .bps file if they were visible when the grid was last saved. Thank you for highlighting this bug. We will look to address the ‘Disk Space (%)’ column auto-display on load in a future build.

    -Doug

    in reply to: Deploy Software Using BP Question #9836
    doug
    Moderator

    Glad you got it worked out! That’s my mistake. All of my examples were intended to have the .msi in quotes. Thanks for reporting back.

    in reply to: Deploy Software Using BP Question #9834
    doug
    Moderator

    I’m unable to test this myself because I don’t have the .msi in question, but I would try the following syntax options in the ‘Command to execute’ field. I’d expect that at least one of them should work. Let me know.

    msiexec.exe /i SpiceworksAgentShell_Collection_Agent.msi /qn SITE_KEY=”CY3qdCi8EPHqDbHAsWd0″

    msiexec.exe /i SpiceworksAgentShell_Collection_Agent.msi /q SITE_KEY=”CY3qdCi8EPHqDbHAsWd0″

    msiexec.exe /i SpiceworksAgentShell_Collection_Agent.msi /qn SITE_KEY=CY3qdCi8EPHqDbHAsWd0

    msiexec.exe /i SpiceworksAgentShell_Collection_Agent.msi /q SITE_KEY=CY3qdCi8EPHqDbHAsWd0

    msiexec.exe /i SpiceworksAgentShell_Collection_Agent.msi /qn SITE_KEY=’CY3qdCi8EPHqDbHAsWd0′

    msiexec.exe /i SpiceworksAgentShell_Collection_Agent.msi /q SITE_KEY=’CY3qdCi8EPHqDbHAsWd0′

    in reply to: Deploy Software Using BP Question #9832
    doug
    Moderator

    In the deployment configuration window you would have to manually modify the ‘Command to execute’ field to make the syntax what you want it to be.

    -Doug

    in reply to: Is it possible to retrieve the Windows Update SID? #9830
    doug
    Moderator

    I think you’re asking about the WSUS SID. According to the following link, there are a few registry values that store this information.

    https://gallery.technet.microsoft.com/scriptcenter/Reset-WSUS-Authorization-2e26d1b0

    Registry values to look at:

    HKLMSOFTWAREMicrosoftWindowsCurrentVersionWindowsUpdate

    PingID
    AccountDomainSid
    SusClientId
    SusClientIDValidation

    BatchPatch can retrieve registry values from target computers using ‘Actions > Get information > Get registry key/value’

    in reply to: BatchPatch extremely laggy after latest version #9843
    doug
    Moderator

    I don’t have an explanation for why you would see significantly different load times between the two versions, but I would suggest that you simply try running BP on a physical machine or a VM with more horsepower. For comparison, on my physical workstation, which is approx 8 years old, the current version takes only 2 seconds to load. The older version also takes 2 seconds to load.

    in reply to: BatchPatch extremely laggy after latest version #9841
    doug
    Moderator

    “load” times? I’m still confused. Are you describing the amount of time that it takes to launch BatchPatch? So like from the time that you double-click the batchpatch.exe until the time that the BatchPatch window appears?

    in reply to: BatchPatch extremely laggy after latest version #9839
    doug
    Moderator

    Paul – I actually don’t really know what you’re describing or what you’re comparing. I don’t think it’s the same thing that Justin is talking about. If we just use your 2008 example for a moment, what are you saying took an average of 8 seconds on 2018.10.4.14.1 as compared to an average of 40 seconds on 2019.3.20.16.58?

    in reply to: BatchPatch extremely laggy after latest version #9850
    doug
    Moderator

    Justin – I don’t think there is anything in the new version that could cause the behavior to be different than the previous version. Have you tried both versions side by side to compare? The code didn’t change for the actions you’re talking about.

    -Doug

    doug
    Moderator

    Your log illustrates the problem at this line:

    Wed-10:07:50> Remote Command (logged output): Executing \target -s

    You are executing an empty/blank/non-existent command. You are not executing ‘wmic bios get serialnumber’ as you think, else we would see the command in that line. I’m not quite sure where you’re going wrong, but hopefully this helps you figure things out. Maybe you are creating the command under Remote command logged output 1 but then executing Remote command logged output 2? Maybe you created a saved remote command but you only gave it a title but didn’t give it command syntax to execute? Seems like the issue has got to be something similar to that where you just aren’t properly executing the command, so you end up submitting a blank command instead.

    -Doug

    in reply to: BP Job by Windows Task #9848
    doug
    Moderator

    No, it is not possible to trigger a BatchPatch job via a Windows scheduled task. You can use the BatchPatch ‘run as a service’ feature to enable BatchPatch to run tasks that were scheduled before the BatchPatch computer was rebooted and when the BatchPatch computer is not logged on.

    -Doug

    in reply to: Automatic Windows Updates with Report #9846
    doug
    Moderator

    I would strongly recommend that you manage the host that runs BP completely separately from everything else. I wouldn’t recommend doing what you’re trying to do. However, if you must, then in order to have BP send an email report after it reboots you would have to run BP as a service ‘Tools > Settings > Run As Service’, and then you would have to use the task scheduler to schedule the email report to send at a time when you know the BP computer will be back online.

    -Doug

    in reply to: Trouble with PsExec and domain admin #9873
    doug
    Moderator

    Sue – In order for me to be able to figure out what’s going on here I need more information including a screenshot of the deployment configuration and a copy of the actual script. I’ve emailed you to discuss further.

    Thanks,

    Doug

    in reply to: Dual scan column #9872
    doug
    Moderator

    Thanks for explaining. We’ll consider it.

    -Doug

    in reply to: Dual scan column #9870
    doug
    Moderator

    We thought it made sense to use the same column because the dual scan check also reports the windows update config info, which you can see if you expand the row or middle click on the field. Additionally, we don’t view the dual scan check or the windows update configuration check to be things that generally would be changing… that is to say that there shouldn’t generally be a need to be checking either of these items on a regular basis because if a computer is set properly, then it’s set and it’s not going to change its configuration all of a sudden. I’d be curious to hear why you think it would make a significant difference to put these in separate columns.

    This is what the expanded result looks like for the dual scan check. The WUServer value is the same as the result that you would see if you use ‘get windows update configuration’:


    Dual Scan Enabled: FALSE . . .

    WUServer: Windows Update
    DefaultAUService: Windows Update


    Thanks,

    Doug

    in reply to: Error: No such interface supported #9869
    doug
    Moderator
    in reply to: Added Psexec.exe parameter execution in BatchPatch #9867
    doug
    Moderator

    In BatchPatch ‘remote process 1’ and ‘remote process 2’ support psexec switches. To have any chance at the -i interactive switch working you would also need to set the ‘remote execution context’ under ‘Tools > Settings > Remote Execution’ to ‘Elevated token’ instead of ‘SYSTEM’ for the ‘Remote process/command’ section.

    Syntax example:

    If I want to launch calc.exe on a target computer interactively… after I set the remote execution context to ‘Elevated token’… then in ‘Remote process/command 1’ I can use:

    -i calc.exe

    -Doug

    in reply to: 102: Failed to execute the search. HRESULT: -2145107940 #9866
    doug
    Moderator

    0x8024401c -2145107940 WU_E_PT_HTTP_STATUS_REQUEST_TIMEOUT Http status 408 – server timed out waiting for request

    The target computer is trying to connect to the update server, but it’s timing out. This likely indicates either a network issue or an issue with the update server. If you’re using WSUS then it’s probably an issue with the WSUS. If you’re using Windows Update or Microsoft Update then it’s probably a temporary issue with Microsoft’s public update server.

    in reply to: Error: No such interface supported #9865
    doug
    Moderator

    Mikhail – This is not a BatchPatch problem. This is an issue with WMI on that target computer. I would start by rebooting the computer. This might resolve it, but probably not. If not then you’ll need to troubleshoot WMI on that computer, and you might need to rebuild the WMI repository.

    WMI Diagnosis Utility

    doug
    Moderator

    Roman – You can include drivers in BP under ‘Tools > Settings > Windows Update > Search Preferences > Search for *all* driver updates’

    However, your mileage may vary for actually having success with installation of drivers through Windows Update. We generally don’t recommend using this option anymore. Years ago they could be installed successfully, but with changes to the OS that Microsoft has made over the years, you will now find in the newer versions of Windows that the drivers won’t download/install successfully in some/many/most cases even though in the older versions of Windows they will work just fine. The same would be true for the script you linked to or for any other method that gets drivers directly from Windows Update because under the hood they are all calling the same Windows API methods.

    -Doug

    in reply to: Is there a place we can request new feature ideas? #9860
    doug
    Moderator

    Thanks, blanning. We’ll consider this.

    in reply to: Is there a place we can request new feature ideas? #9857
    doug
    Moderator

    Try ‘Actions > Modify category, description, location, notes, color > Modify row color’

    in reply to: job queue not working as expected… #9855
    doug
    Moderator

    When you select multiple rows and execute a saved job queue, it executes the saved job on each row simultaneously. The basic multi row queue sequence is what tells BP to execute each row sequentially, one at a time. To do this you must first apply the queue to be executed onto each row, then execute the basic multi row queue sequence. Then BP knows which queue to use for each row because each row can have its own independent queue.

    in reply to: job queue not working as expected… #9852
    doug
    Moderator

    You can use either the basic multi row queue sequence or the advanced multi row queue sequence for this. Probably start with the basic sequence since it’s simpler to use and gives you what you are asking for. If you need more complex sequences that aren’t just one at a time, then check out the advanced sequence. Tutorials below.

    basic-multi-row-queue-sequence

    advanced-multi-row-queue-sequence-video-tutorial

    advanced-multi-row-queue-sequence

    virtual-machine-guest-host-update-and-reboot-sequence-automation


    Additionally note that if you are using ‘Wait for host to go offline and come back online’ you should make sure to read the important note about it at this page:

    understanding-the-special-items-in-the-batchpatch-job-queue

    in reply to: Is there a place we can request new feature ideas? #9875
    doug
    Moderator

    Thanks for clarifying. We will consider these ideas for a future build. Thank you for your suggestions!

    -Doug

    in reply to: Is there a place we can request new feature ideas? #9879
    doug
    Moderator

    Hi Jared – This forum is a fine place to make your requests. 🙂

    With regard to the status bar idea, the first thing you asked for is “how long is left in their process.” My question to you is how could BP know how long is left in an indeterminate process? If you execute an action there is no way to know in advance how long that action will take, so I’m not sure then how BP could report on “time left” or similar. Am I misunderstanding what you’re describing? The number of running processes, however, is something that can be reported on. We’ll consider this for a future build. Currently we only report that there are active process or that there are not active processes, based on whether or not you see the yellow orb icon/image in the tab header next to the tab name, but we don’t report the actual number of running processes. This is a reasonable idea, so we’ll definitely consider it. Thank you. Were there any other specific thoughts/ideas that you wanted to convey? You said ‘etc’ as if there are other things but that you just didn’t share them because you weren’t sure if this is the right venue or not, so please do let me know.

    Thanks,

    Doug

    doug
    Moderator

    This tutorial demonstrates how you can remove an update when the ‘package identity’ for the update does not contain the KB ID.

    when-uninstall-individual-update-windows-10-2016-in-batchpatch-fails-to-remove-an-update

    in reply to: Syncronization Exclusions Not Being Honored #9877
    doug
    Moderator

    This bug will be fixed in the next release, coming soon.

Viewing 30 posts - 751 through 780 (of 1,981 total)