Downloads:
630
Downloads of v 5.0.1:
630
Last Update:
25 Mar 2021
Package Maintainer(s):
Software Author(s):
- Alberto Martinez Perez
Tags:
shutdown sleep admin control schedule- Software Specific:
- Software Site
- Software License
- Package Specific:
- Package Source
- Package outdated?
- Package broken?
- Contact Maintainers
- Contact Site Admins
- Software Vendor?
- Report Abuse
- Download
AMP WinOFF (Install)
- 1
- 2
- 3
5.0.1 | Updated: 25 Mar 2021
- Software Specific:
- Software Site
- Software License
- Package Specific:
- Package Source
- Package outdated?
- Package broken?
- Contact Maintainers
- Contact Site Admins
- Software Vendor?
- Report Abuse
- Download
Downloads:
630
Downloads of v 5.0.1:
630
Maintainer(s):
Software Author(s):
- Alberto Martinez Perez
AMP WinOFF (Install) 5.0.1
Legal Disclaimer: Neither this package nor Chocolatey Software, Inc. are affiliated with or endorsed by Alberto Martinez Perez. The inclusion of Alberto Martinez Perez trademark(s), if any, upon this webpage is solely to identify Alberto Martinez Perez goods or services and not for commercial purposes.
- 1
- 2
- 3
Some Checks Have Failed or Are Not Yet Complete
Not All Tests Have Passed
Validation Testing Passed
Verification Testing Passed
DetailsScan Testing Resulted in Flagged:
This package was submitted (and approved) prior to automated virus scanning integration into the package moderation processs.
We recommend clicking the "Details" link to make your own decision on installing this package.
Deployment Method: Individual Install, Upgrade, & Uninstall
To install AMP WinOFF (Install), run the following command from the command line or from PowerShell:
To upgrade AMP WinOFF (Install), run the following command from the command line or from PowerShell:
To uninstall AMP WinOFF (Install), run the following command from the command line or from PowerShell:
Deployment Method:
This applies to both open source and commercial editions of Chocolatey.
1. Enter Your Internal Repository Url
(this should look similar to https://community.chocolatey.org/api/v2/)
2. Setup Your Environment
1. Ensure you are set for organizational deployment
Please see the organizational deployment guide
2. Get the package into your environment
Option 1: Cached Package (Unreliable, Requires Internet - Same As Community)-
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://community.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
-
Open Source
-
Download the package:
Download - Follow manual internalization instructions
-
-
Package Internalizer (C4B)
-
Run: (additional options)
choco download amp-winoff.install --internalize --source=https://community.chocolatey.org/api/v2/
-
For package and dependencies run:
choco push --source="'INTERNAL REPO URL'"
- Automate package internalization
-
Run: (additional options)
3. Copy Your Script
choco upgrade amp-winoff.install -y --source="'INTERNAL REPO 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 amp-winoff.install -y --source="'INTERNAL REPO URL'"
$exitCode = $LASTEXITCODE
Write-Verbose "Exit code was $exitCode"
$validExitCodes = @(0, 1605, 1614, 1641, 3010)
if ($validExitCodes -contains $exitCode) {
Exit 0
}
Exit $exitCode
- name: Install amp-winoff.install
win_chocolatey:
name: amp-winoff.install
version: '5.0.1'
source: INTERNAL REPO URL
state: present
See docs at https://docs.ansible.com/ansible/latest/modules/win_chocolatey_module.html.
chocolatey_package 'amp-winoff.install' do
action :install
source 'INTERNAL REPO URL'
version '5.0.1'
end
See docs at https://docs.chef.io/resource_chocolatey_package.html.
cChocoPackageInstaller amp-winoff.install
{
Name = "amp-winoff.install"
Version = "5.0.1"
Source = "INTERNAL REPO URL"
}
Requires cChoco DSC Resource. See docs at https://github.com/chocolatey/cChoco.
package { 'amp-winoff.install':
ensure => '5.0.1',
provider => 'chocolatey',
source => 'INTERNAL REPO URL',
}
Requires Puppet Chocolatey Provider module. See docs at https://forge.puppet.com/puppetlabs/chocolatey.
4. If applicable - Chocolatey configuration/installation
See infrastructure management matrix for Chocolatey configuration elements and examples.
This package is likely a meta/virtual (*) or an installer (*.install) or portable (*.portable) application package.
- Meta/virtual (*) - has a dependency on the *.install or the *.portable package - it is provided for discoverability and for other packages to take a dependency on.
- Portable (*.portable/*.commandline (deprecated naming convention)/*.tool (deprecated naming convention)) - usually zips or archives that require no administrative access to install.
- Install (*.install/*.app (deprecated naming convention)) - uses native installers, usually requires administrative access to install.
Learn more about chocolatey's distinction of installed versus portable apps and/or learn about this kind of package.
This package was approved by moderator TheCakeIsNaOH on 02 Apr 2021.
NOTE: The following text is for the most part an excerpt from the official website.
AMP WinOFF
AMP WinOFF is an utility for scheduling the shutdown of Windows computers, with several shutdown conditions and fully configurable. Some of its features are:
- Several modes/conditions for shutdown planification:
- At certain date/time (e.g. 12:00 AM).
- After a period of time (e.g. 1 hour and 15 minutes).
- When there isn't user activity (i.e. no mouse/keyboard input).
- When there isn't CPU activity.
- When there isn't network activity.
- Option of set several conditions at the same time for the planification. Examples:
- Shut down at 08:00 PM or when there is no user activity for 15 minutes.
- Shut down when the CPU load is below than 1% and the network transfer is below than 1Kb/s.
- Several types of shutdown: power off, restart, close session, lock session, administrative shutdown/restart, sleep and hibernate.
- Immediate shutdown and session lock from the taskbar icon menu.
- Several security options including anti-close protection and password protected access to the configuration.
- Option of showing a display with the active shutdown planification.
- Option of executing a program, capturing the desktop, and/or hang up the modem before the shutdown.
- Command line support for batch processing.
- Dual English/Spanish version.
Parameters
/InstallationPath:
- where to install the binaries- Default value on 64-bit OS:
"${env:ProgramFiles(x86)}\AMP WinOFF"
- Default value on 32-bit OS:
"$env:ProgramFiles\AMP WinOFF"
- Default value on 64-bit OS:
Examples
- Install into
D:\winoff
directorychoco install amp-winoff --params "/InstallationPath:"D:\winoff""
This file contains the Terms of Use.
The content of Terms of Use can be verified by running the installer http://www.ampsoft.net/files/WinOFFSetup.exe and comparing to the "License Agreement" with the following text:
This software is freeware, but only for PERSONAL AND NON-PROFIT USE. For commercial, corporate, educational or government use, or inclusion in any distribution made for profit (software compilations, cover DVD's, etc.) you must contact the author for authorization.
This software is provided "as is", WITHOUT ANY WARRANTY OF ANY KIND. The author declines responsibility for any damages arising out of the use of this program.
You can redistribute this software freely, as long as you don't charge any money, and only if you use the original setup package, which you can be obtained from the AMPsoft web site at http://www.ampsoft.net/.
$winoff = Get-Process -Name 'WinOFF' -ErrorAction SilentlyContinue
if($winoff) {
Stop-Process $winoff -Force
}
$ErrorActionPreference = 'Stop';
$packageArgs = @{
packageName = $env:ChocolateyPackageName
softwareName = 'AMP WinOFF*'
fileType = 'EXE'
silentArgs = '/S'
validExitCodes= @(0)
}
[array]$keys = Get-UninstallRegistryKey -SoftwareName $packageArgs['softwareName']
if ($keys.Count -eq 1) {
$packageArgs['file'] = $keys[0].UninstallString
Uninstall-ChocolateyPackage @packageArgs
} elseif ($keys.Count -eq 0) {
Write-Warning "$($packageArgs['packageName']) has already been uninstalled by other means."
} elseif ($keys.Count -gt 1) {
Write-Warning "$($keys.Count) matches found!"
Write-Warning "To prevent accidental data loss, no programs will be uninstalled."
Write-Warning "Please alert package maintainer the following keys were matched:"
$keys | % {Write-Warning "- $($_.DisplayName)"}
}
Log in or click on link to see number of positives.
- amp-winoff.install.5.0.1.nupkg (22df8e6aac24) - ## / 61
- WinOFFSetup.exe (2891d5cd4847) - ## / 68
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.
Copyright (c) 1997-2010 Alberto Martinez Perez
This package has no dependencies.
Ground Rules:
- This discussion is only about AMP WinOFF (Install) and the AMP WinOFF (Install) 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 AMP WinOFF (Install), 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.