Downloads:

7,193

Downloads of v 5.16:

100

Last Update:

01 May 2019

Package Maintainer(s):

Software Author(s):

  • Nenad Hrg

Tags:

dontsleep.install computer sleep control

Don't Sleep (Install)

This is not the latest version of Don't Sleep (Install) available.

5.16 | Updated: 01 May 2019

Downloads:

7,193

Downloads of v 5.16:

100

Maintainer(s):

Software Author(s):

  • Nenad Hrg

Don't Sleep (Install) 5.16

This is not the latest version of Don't Sleep (Install) available.

All Checks are Passing

2 Passing Test


Validation Testing Passed


Verification Testing Passed

Details

To install Don't Sleep (Install), run the following command from the command line or from PowerShell:

>

To upgrade Don't Sleep (Install), run the following command from the command line or from PowerShell:

>

To uninstall Don't Sleep (Install), 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 dontsleep.install -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 dontsleep.install -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 dontsleep.install installed
  win_chocolatey:
    name: dontsleep.install
    state: present
    version: 5.16
    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 'dontsleep.install' do
  action    :install
  version  '5.16'
  source   'STEP 3 URL'
end

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


Chocolatey::Ensure-Package
(
    Name: dontsleep.install,
    Version: 5.16,
    Source: STEP 3 URL
);

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


cChocoPackageInstaller dontsleep.install
{
   Name     = 'dontsleep.install'
   Ensure   = 'Present'
   Version  = '5.16'
   Source   = 'STEP 3 URL'
}

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


package { 'dontsleep.install':
  provider => 'chocolatey',
  ensure   => '5.16',
  source   => 'STEP 3 URL',
}

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


salt '*' chocolatey.install dontsleep.install version="5.16" 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.

Private CDN cached downloads available for licensed customers. Never experience 404 breakages again! Learn more...

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 gep13 on 08 May 2019.

Description

Especially when old Programs run on Windows-10 or Windows 8.1 / 7. Here's more aggressive power-saving features with new rules.

But not only that, it also prevents login off the computer, and the deactivation of the monitor or activation of the screen saver.

Of course you can also manually disable all the options and then activate again, but with Don't Sleep one can save now many hand moves and also save time! And it's easier than ever.

Apart from the fact Don't Sleep has a timer that allows time control unblock, or shutdown the computer for a specified time.

Key Features in Don't Sleep

  • Don't Sleep don't change the power saving options on the system
  • From-Tray feature: power off, reboot, log off, restart ...
  • Schedule computer to shut down at a certain time
  • Set the timer to prevent standby in windows!
  • Please Sleep Feature in Don't Sleep!
  • Start parameter in Don't Sleep!

Other features and specifications:

  • Portable Windows Program!
  • Does not burden the CPU
  • Extreme tiny size
  • Easy to use
  • Multilingual

For what! Prevent system shutdown, Standby, Hibernate, Turn Off and Restart?

The reason for the development of the program is that some programs with a longer runtime have not considered this new power-saving features on the windows OS.

You can also manually customize the window power saving features or disable all the options and then reactivate them again, but you can save the time when use Don't Sleep. Don't Sleep can also serve as a general protection if you have started a background service or application and want to prevent turn off of the computer by itself, or other persons ergo accounts.

Don't Sleep has a timer that allows you to disable blocking with a timed manner, or to shut down the computer at a certain time. This is a practical function that prevents the PC to running unnecessarily, since not every PC is equipped with a quality power supply that consumes 1Watt in standby mode.

How does the program work?

Depending on the setting, Don't Sleep reports to the operating system that it has very important tasks to do if the screen saver is to be activated or the monitor is to be deactivated. Likewise, it notifies the system that it has the highest shutdown priority to prevent other programs from receiving the shutdown command before Don't

screenshot


tools\chocolateyinstall.ps1
$ErrorActionPreference = 'Stop';
$toolsDir = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"

$packageArgs = @{
  packageName   = $env:ChocolateyPackageName
  unzipLocation = $toolsDir
  fileType      = 'exe'  
    
  url           = 'https://www.softwareok.com/Download/DontSleep.zip'
  checksum      = 'e5ce32b388d7d6c190f5b47407aa5ee6c1b102a300cc090fc0d422f975554a8a'
  checksumType  = 'sha256'

  url64bit      = 'https://www.softwareok.com/Download/DontSleep_x64.zip'
  checksum64    = 'f13397afe4eea92e976d974c76cb1322643ad5704e33ad76b6bce460d0335372'
  checksumType64= 'sha256'  
}

Install-ChocolateyZipPackage @packageArgs

#if (Get-OSArchitectureWidth -Compare "32") { $file = "$toolsDir\dontsleep.exe" } else { $file = "$toolsDir\dontsleep_x64.exe" }
#Install-ChocolateyInstallPackage @packageArgs -File $file

#Install start menu shortcuts
$programs = [environment]::GetFolderPath([environment+specialfolder]::Programs)
if (Get-OSArchitectureWidth -Compare "32") { $exe_file = "DontSleep.exe" } else { $exe_file = "DontSleep_x64.exe" }

$shortcutFilePath = Join-Path $programs "Dont Sleep.lnk"
$targetPath = Join-Path $toolsDir $exe_file
Install-ChocolateyShortcut -RunAsAdmin -shortcutFilePath $shortcutFilePath -targetPath $targetPath
tools\chocolateyuninstall.ps1
$programs = [environment]::GetFolderPath([environment+specialfolder]::Programs)

$shortcutFilePath = Join-Path $programs "Dont Sleep.lnk"
if(Test-Path $shortcutFilePath) { Remove-Item $shortcutFilePath }

Log in or click on link to see number of positives.

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
Don't Sleep (Install) 7.51 301 Friday, November 20, 2020 Approved
Don't Sleep (Install) 7.44 161 Sunday, November 15, 2020 Approved
Don't Sleep (Install) 7.33 385 Sunday, October 18, 2020 Approved
Don't Sleep (Install) 7.31 149 Thursday, October 15, 2020 Approved
Don't Sleep (Install) 7.22 331 Tuesday, September 29, 2020 Approved
Don't Sleep (Install) 7.21 191 Sunday, September 27, 2020 Approved
Don't Sleep (Install) 7.17 142 Friday, September 25, 2020 Approved
Don't Sleep (Install) 7.13 306 Monday, September 7, 2020 Approved
Don't Sleep (Install) 7.01 380 Wednesday, August 5, 2020 Approved

This package has no dependencies.

Discussion for the Don't Sleep (Install) Package

Ground Rules:

  • This discussion is only about Don't Sleep (Install) and the Don't Sleep (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 Don't Sleep (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.
comments powered by Disqus