WinPatrol

35.5.2017.800 | Updated: 9/19/2017

Downloads:

810

Downloads of v 35.5.2017.800:

598

Maintainer(s):

Software Author(s):

  • Ruiware

WinPatrol 35.5.2017.800

Some Checks Have Failed or Are Not Yet Complete

1 Test Passing and 1 Failing Test


Validation Testing Passed


Verification Testing Failed

Details

To install WinPatrol, run the following command from the command line or from PowerShell:

>

To upgrade WinPatrol, run the following command from the command line or from PowerShell:

>

To uninstall WinPatrol, run the following command from the command line or from PowerShell:

>

NOTE: This applies to both open source and commercial editions of Chocolatey.

1. Ensure you are set for organizational deployment

Please see the organizational deployment guide

  • Open Source or Commercial:
    • Proxy Repository - Create a proxy nuget repository on Nexus, Artifactory Pro, or a proxy Chocolatey repository on ProGet. Point your upstream to https://chocolatey.org/api/v2. Packages cache on first access automatically. Make sure your choco clients are using your proxy repository as a source and NOT the default community repository. See source command for more information.
    • You can also just download the package and push it to a repository Download

3. Enter your internal repository url

(this should look similar to https://chocolatey.org/api/v2)

4. Choose your deployment method:


choco upgrade winpatrol -y --source="'STEP 3 URL'" [other options]

See options you can pass to upgrade.

See best practices for scripting.

Add this to a PowerShell script or use a Batch script with tools and in places where you are calling directly to Chocolatey. If you are integrating, keep in mind enhanced exit codes.

If you do use a PowerShell script, use the following to ensure bad exit codes are shown as failures:


choco upgrade winpatrol -y --source="'STEP 3 URL'" 
$exitCode = $LASTEXITCODE

Write-Verbose "Exit code was $exitCode"
$validExitCodes = @(0, 1605, 1614, 1641, 3010)
if ($validExitCodes -contains $exitCode) {
  Exit 0
}

Exit $exitCode

- name: Ensure winpatrol installed
  win_chocolatey:
    name: winpatrol
    state: present
    version: 35.5.2017.800
    source: STEP 3 URL

See docs at https://docs.ansible.com/ansible/latest/modules/win_chocolatey_module.html.

Coming early 2020! Central Managment Reporting available now! More information...


chocolatey_package 'winpatrol' do
  action    :install
  version  '35.5.2017.800'
  source   'STEP 3 URL'
end

See docs at https://docs.chef.io/resource_chocolatey_package.html.


Chocolatey::Ensure-Package
(
    Name: winpatrol,
    Version: 35.5.2017.800,
    Source: STEP 3 URL
);

Requires Otter Chocolatey Extension. See docs at https://inedo.com/den/otter/chocolatey.


cChocoPackageInstaller winpatrol
{
   Name     = 'winpatrol'
   Ensure   = 'Present'
   Version  = '35.5.2017.800'
   Source   = 'STEP 3 URL'
}

Requires cChoco DSC Resource. See docs at https://github.com/chocolatey/cChoco.


package { 'winpatrol':
  provider => 'chocolatey',
  ensure   => '35.5.2017.800',
  source   => 'STEP 3 URL',
}

Requires Puppet Chocolatey Provider module. See docs at https://forge.puppet.com/puppetlabs/chocolatey.


salt '*' chocolatey.install winpatrol version="35.5.2017.800" source="STEP 3 URL"

See docs at https://docs.saltstack.com/en/latest/ref/modules/all/salt.modules.chocolatey.html.

5. If applicable - Chocolatey configuration/installation

See infrastructure management matrix for Chocolatey configuration elements and examples.

This package was approved by moderator flcdrg on 9/30/2017.

Description

WinPatrol alerts you to hijackings, malware attacks and critical changes made to your computer without your permission. As a multipurpose support utility, WinPatrol replaces multiple system utilities with its enhanced functionality.

WinPatrol was the pioneer in using a heuristic behavioral approach to detecting attacks and violations of your computing environment. Traditional security programs scan your hard drive searching for previously identified threats. WinPatrol takes snapshots of your critical system resources and alerts you to any changes that occur without your knowledge.

Features

  • Block installation of add-ons and toolbars.
  • Know and reverse unwanted system changes.
  • Starts protecting immediately upon installation.
  • Does NOT slow down your computer!
  • Speed up computer Start-up.

Screenshot


tools\chocolateyBeforeModify.ps1
# Kill Winpatrol process before uninstall if running
$killWP = Get-Process WinPatrolEx -ErrorAction SilentlyContinue
if ($killWP) {
  # try gracefully first
  $killWP.CloseMainWindow()
  # kill after 2 seconds
  Start-Sleep 2
  if (!$killWP.HasExited) {
    $killWP | Stop-Process -Force
  }
}
tools\chocolateyinstall.ps1
$ErrorActionPreference = 'Stop'

$packageName = 'winpatrol'
$url = 'https://data.winpatrol.com/downloads/wpsetup.exe'
$checksum = '5EE0B4EA12EBF1BF8EE8CF5DED16F923CD08652EFFA7F7302CB6206E4BE0FBAC'
$toolsPath = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
$registrypaths = @('HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{6A206A04-6BC1-411B-AA04-4E52EDEEADF2}', 'HKLM:\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{6A206A04-6BC1-411B-AA04-4E52EDEEADF2}')
$version = '35.5.2017.8'

$packageArgs = @{
  packageName    = $packageName
  fileType       = 'exe'
  url            = $url
  silentArgs     = ''
  validExitCodes = @(0)
  checksum       = $checksum
  checksumType   = 'sha256'
}

Foreach ($registry in $registrypaths) {
  if (Test-Path $registry) {
    $installedVersion = (
      Get-ItemProperty -Path $registry -Name 'DisplayVersion'
    ).DisplayVersion
  }
}

if ($installedVersion -eq $version) {
  Write-Output $(
    "winpatrol $installedVersion is already installed. " +
    "Skipping download and installation."
  )
} else {
  Start-Process 'AutoHotkey' "$toolsPath\install.ahk"
  Install-ChocolateyPackage @packageArgs
}
tools\chocolateyuninstall.ps1
$programUninstallEntryName = "WinPatrol"
$uninstallString = (Get-ItemProperty HKLM:\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\* | Select-Object DisplayName, QuietUninstallString | Where-Object {$_.DisplayName -like "$programUninstallEntryName*"}).QuietUninstallString
# get the uninstall string of the installed Skype version from the registry

$uninstallString = "$uninstallString" -replace '[{]', '`{' # adding escape character to the braces
$uninstallString = "$uninstallString" -replace '[}]', '`} /remove /q' # to work properly with the Invoke-Expression command, add silent arguments

if ($uninstallString -ne "") {
  Invoke-Expression "$uninstallString" # start uninstaller
}
tools\install.ahk
#NoEnv  ; Recommended for performance and compatibility with future AutoHotkey releases.
; #Warn  ; Enable warnings to assist with detecting common errors.
SendMode Input  ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir%  ; Ensures a consistent starting directory.
SetControlDelay, -1

Loop, %0%  ; For each parameter:
  {
    param := %A_Index%  ; Fetch the contents of the variable whose name is contained in A_Index.
    params .= A_Space . param
  }
ShellExecute := A_IsUnicode ? "shell32\ShellExecute":"shell32\ShellExecuteA"

if not A_IsAdmin
{
  If A_IsCompiled
    DllCall(ShellExecute, uint, 0, str, "RunAs", str, A_ScriptFullPath, str, params , str, A_WorkingDir, int, 1)
  Else
    DllCall(ShellExecute, uint, 0, str, "RunAs", str, A_AhkPath, str, """" . A_ScriptFullPath . """" . A_Space . params, str, A_WorkingDir, int, 1)
  ExitApp
}

Winahk = ahk_exe wpsetup.exe

; Welcome Screen
WinWait, %Winahk%, InstallMate will install
ControlClick, &Next, %Winahk%

; Important Information
WinWait, %Winahk%, Please read this information carefully before continuing.
ControlClick, &Next, %Winahk%

; Registration Info
WinWait, %Winahk%, Registration information
ControlClick, &Next, %Winahk%

; Installation Options
WinWait, %Winahk%, Installation options
ControlClick, &Install, %Winahk%

; Install Successfull
WinWait, %Winahk%, Installation completed
ControlClick, &Finish, %Winahk%

In cases where actual malware is found, the packages are subject to removal. Software sometimes has false positives. Moderators do not necessarily validate the safety of the underlying software, only that a package retrieves software from the official distribution point and/or validate embedded software against official distribution point (where distribution rights allow redistribution).

Chocolatey Pro provides runtime protection from possible malware.

Version Downloads Last Updated Status
WinPatrol 35.5.2017.8 212 Thursday, August 31, 2017 Approved

Program

Package


Discussion for the WinPatrol Package

Ground Rules:

  • This discussion is only about WinPatrol and the WinPatrol package. If you have feedback for Chocolatey, please contact the Google Group.
  • This discussion will carry over multiple versions. If you have a comment about a particular version, please note that in your comments.
  • The maintainers of this Chocolatey Package will be notified about new comments that are posted to this Disqus thread, however, it is NOT a guarantee that you will get a response. If you do not hear back from the maintainers after posting a message below, please follow up by using the link on the left side of this page or follow this link to contact maintainers. If you still hear nothing back, please follow the package triage process.
  • Tell us what you love about the package or WinPatrol, or tell us what needs improvement.
  • Share your experiences with the package, or extra configuration or gotchas that you've found.
  • If you use a url, the comment will be flagged for moderation until you've been whitelisted. Disqus moderated comments are approved on a weekly schedule if not sooner. It could take between 1-5 days for your comment to show up.
comments powered by Disqus