Many different error codes

Comments

6 comments

  • Mike Kercher

    Many times when I've run into this, it's stale DNS entries.

    Periodically, I'll run the following PS on a DNS server to identify duplicate DNS entries.  Then I go delete them and flushdns on my PDQ servers.

    $duplicate_comp = @()
    $comp = get-adcomputer -filter * -properties ipv4address | sort-object -property ipv4address
    $sorted_ipv4 = $comp | foreach {$_.ipv4address} | sort-object
    $unique_ipv4 = $comp | foreach {$_.ipv4address} | sort-object | get-unique
    $duplicate_ipv4 = Compare-object -referenceobject $unique_ipv4 -differenceobject $sorted_ipv4 | foreach {$_.inputobject}
    foreach ($duplicate_inst in $duplicate_ipv4)
    {
    foreach ($comp_inst in $comp)
    {
    if (!($duplicate_inst.compareto($comp_inst.ipv4address)))
    {
    $duplicate_comp = $duplicate_comp + $comp_inst
    }
    }
    }
    $duplicate_comp | ft name,ipv4address -a

    pause

     

    1
    Comment actions Permalink
  • Colby Stoker

    We get this error as well on some of our machines, the way we fix it is to do the following below through CMD. replace <computername> with the actual name of the computer with this error. Once you run the two commands on one machine below, you can then rescan the computer in PDQ Inventory and it should find it.

    sc \\<computername> stop netlogon

    Press Enter

    Then type

    sc \\<computername> start netlogon

    Press Enter

    1
    Comment actions Permalink
  • Johnson Ng

    I will try the solution listed above.

    Meanwhile, we had other error as well:

    1. Command script returned error code 0
    https://www.pdq.com/blog/common-windows-installer-error-codes/
    Why is PDQ not continuing the steps even 0 is a success code?

    2. Runner service died unexpectedly on target computer and left no last will and testament
    Cant find any PDQ KB for this error message.

    3. MSI Error: User cancelled installation
    User did not cancel installation.
    https://help.pdq.com/hc/en-us/articles/220531107-MSI-User-Cancelled-Error-1602

    4. PowerShell script returned error code 1
    5. Command script returned error code 1603
    6. Command script returned error code 1605
    https://help.pdq.com/hc/en-us/articles/220509207-Uninstalling-Application-Returns-Error-1605

    Is there someone from PDQ who can help please?

    Thank you.

    1
    Comment actions Permalink
  • Mike Kercher

    Johnson,

    It might be useful to see the steps in your deployment. You could post screenshots or export the package as XML and paste it here.

    2
    Comment actions Permalink
  • Colby Bouma

    Is there someone from PDQ who can help please?

    This is the community forum. PDQ employees rarely come here. If you want to talk to them, I recommend reaching out to support@pdq.com

    1
    Comment actions Permalink
  • Johnson Ng

    Colby, interestingly, the Sales folks from PDQ directed me to post my questions here.

    Mike,

    See attached image for the steps.

    Step 1:
    (Get-WmiObject -Class Win32_Product -Filter "Name='<Some Software>'" -ComputerName .).Uninstall()

    Step 2:
    msiexec /uninstall {<Some Software GUID>} /q UNINSTALLPASSWORD="<Password>"

    Step 3:
    No script. Install .exe only


    Step 4:
    No script. Install .msi only

     

     

    0
    Comment actions Permalink

Please sign in to leave a comment.