Software-OK
≡... News | ... Home | ... FAQ | Impressum | Contact | Listed at | Thank you |

  
HOME ► Faq ► FAQ - DontSleep ► ««« FAQ 06 / 29 »»»

Start parameter in Don't Sleep, for example for a batch file?


It is pretty easy to use start parameter e.g. program arguments in Don't Sleep for example to use for launch via batch file!




Content / Solution / Tip:

1.) ... The program parameters! 
2.) ... Start Don't Sleep always minimized!



See also: ► Disable Please Sleep in Don't Sleep!

1.) The program parameters! 

Here are the program-arguments in Don't Sleep.

A little tip, if you can not remember them all (... see Image-1 Arrow-1 and 2)

-bg start minimized in the system tray (notification area)

block_standby=1  To block standby. Values ​​1 or 0

block_shutdown=0 To block Shutdown. Values ​​1 or 0

block_logoff=1 To block Logoff. Values ​​1 or 0

block_screensaver=1  To block Screensaver. Values ​​1 or 0

enable=1 To enable or disable all blocking options. Values ​​1 or 0

use_timer=1 Use the Timer or not. Values ​​1 or 0

set_timer=10 Set the Timer in minutes, in the example 10 minutes.

exit To close a running Instance of  Don't Sleep. (at Version 3.64)

From Version 4.24


please_sleep_mode=1 sleep mode or not sleeping (1/0)
See: ► ... please sleep in Do not Sleep! 

computer_mode_slep_sec=3000 Timer for computer Sleep mode in seconds
 
monitor_mode_slep_sec=2700 Timer for monitor sleep mode in seconds 

upcoming_slep_message=1 Display notification on screen (YES / NO) 

upcoming_slep_message_sec=120 Display notification / message 120 seconds before expiration. 

Please read this: ► TV sleep function with Please Sleep in Don't Sleep!

From version 8.01
 
password, password_uc_base64, password_base64, base64_dlg
 
To do this: ►   Set password protection to prevent adjustments on public PCs! 


(Image-1) Start parameter in DontSleep e.g. for a batch file!
Start parameter in DontSleep e.g. for a batch file!
-
▲ Back to the top ▲


This Solution is valid for Windows 10 Pro, Windows 10 Enterprise, Windows 10 Home, Windows 8.1, Windows 8.1 Enterprise, Windows 8.1 Pro, Windows 8, Windows 8 Enterprise, Windows 8 Pro, Windows 7 Enterprise, Windows 7 Home Basic, Windows 7 Home Premium, Windows 7 Professional, Windows 7 Starter, Windows 7 Ultimate, Windows Vista Enterprise 64-bit edition, Windows Vista Ultimate 64-bit edition, Windows Vista Business, Windows Vista Business 64-bit edition, Windows Vista Enterprise, Windows Vista Ultimate, Windows XP Pro and Home

2.) Start Don't Sleep always minimized!


(Image-2) Start Don't Sleep, minimized in info area example!
Start Don't Sleep, minimized in info area example!

Info:

As you can see above in Windows 10 shot screenshot, it is easy to permanently start the energy options monitor always in the info area of ​​the taskbar. However, you can continue to apply and use Guard Power Options on earlier versions of Microsoft's Windows operating systems, whether it's a plain Windows desktop, tablet-based, Surface Pro / Go, or even a server operating system.


▲ Back to the top ▲




FAQ 6: Updated on: 12 September 2023 06:11 Windows


► ► ► ► ... more information about the software DontSleep     

DontSleep

Computer power off, reboot, log off, hibernate or standby, explain me?


Turn Computer off, reboot, log off, hibernate or standby and disable the prevent feature in Dont Sleep When you click one of the options via To-Tray menu
DontSleep

The timer can not be set to prevent standby, why?


The timer of "Dont Sleep" can already be set. Please first set the checkbox "Use timer". Then change the time, or set via the date and time fields see
DontSleep

Exit and Standby / Hibernation option on Windows 10 Seven and higher?


If hibernation is active, then hibernation, if not, then standby, Windows 10 and 8.1 or other MS Windows Server Operating Systems Read this: ✐ . hibernation
DontSleep

How do I get rid of Don't Sleep (Windows, 11, 10, 8.1, ...)?


You have started Don Sleep from the zip folder. And its probably in the "%TEMP%" folder of MS Windows. Likewise, you have activated the "Dont sleep start
DontSleep

How to force the standby, I don't like hibernate on Windows 11, 10, 8.1 Tablet-PC?


I have designed DontSleep so that the system setting is used, this rule is not only for Windows 11 and 10, it is also for all other MS Windows OS If hibernation
DontSleep

For what please these energy efficiency improvements for MS Windows OS?


It is almost more important that the computer goes into the sleep mode, than that the standby state is prevented in Windows by Dont Sleep
DontSleep

Disable Please Sleep in Don't Sleep on Windows 11, 10, ... OS?


Please Sleep in Dont Sleep can be deactivated quite simply, via Windows To-Tray info-area of the Task-Bar or in the program itself

»»

  My question is not there in the FAQ
Asked questions on this answer:
  1. I had been using an older program version for a long time, which I started and ended as part of a script with the parameters -bg or exit. Now I have updated to the current version and found that the hide (instead of -bg) and exit parameters do not work. With both parameters, an application of the program is simply opened without further influence ...?
  2. I wanted to configure it so that when I start it will automatically put a 12h timer for not sleeping. I do this in the "Please Don't Sleep" tab, "Options" button where I can choose "Program startup" with the 12h timer. After that I exit the program from the tray icon, open again but I need to set the timer manually just like before. Am I doing anything wrong?
  3. DontSleep has been in use with me for some time. Only one option is missing to me because I often call the program from Scritps (Srat in the tray) and would also like to "kill" it automatically. A call with command line e.g. "/ exit"?
Keywords: dontsleep, start, parameter, sleep, example, batch, file, program, argumens, Questions, Answers, Software




  

  + Freeware
  + Order on the PC
  + File management
  + Automation
  + Office Tools
  + PC testing tools
  + Decoration and fun
  + Desktop-Clocks
  + Security

  + SoftwareOK Pages
  + Micro Staff
  + Freeware-1
  + Freeware-2
  + Freeware-3
  + FAQ
  + Downloads

  + Top
  + Desktop-OK
  + The Quad Explorer
  + Don't Sleep
  + Win-Scan-2-PDF
  + Quick-Text-Past
  + Print Folder Tree
  + Find Same Images
  + Experience-Index-OK
  + Font-View-OK


  + Freeware
  + OK.Its.Raining.Men
  + Run-Command
  + MagicMouseTrails
  + CpuFrequenz
  + MultiClipBoardSlots
  + OnlyStopWatch
  + KeepMouseSpeedOK
  + NonCompressibleFiles
  + 4ur-Windows-8-Mouse-Balls
  + PAD-s


Home | Thanks | Contact | Link me | FAQ | Settings | Windows 10 | gc24b | English-AV | Impressum | Translate | PayPal | PAD-s

 © 2025 by Nenad Hrg softwareok.de • softwareok.com • softwareok.com • softwareok.eu


► Standby or sleep mode under Windows (11, 10, 8.1, 7)? ◄
► Local Security Police account lockout duration on MS Windows OS! ◄
► Close correctly, the command prompt e.g. cmd.exe! ◄
► Convert the table into an image in Microsoft Word? ◄


This website does not store personal data. However, third-party providers are used to display ads,
which are managed by Google and comply with the IAB Transparency and Consent Framework (IAB-TCF).
The CMP ID is 300 and can be individually customized at the bottom of the page.
more Infos & Privacy Policy

....