I use a program called Caffeine at work - doesn’t require admin rights. Just put it in your startup folder and never worry about your computer timing out again.
depending on your restrictions you could run caffeine instead.
Edit: you need net framework but apart from that I believe it doesn't require admin rights
Nah, download caffeine.exe. It presses the f15 key every 59 seconds. What is f15 you ask? A valid key in Windows which is mapped to absolutely nothing, so it doesn't affect any program. But it does keep your computer awake ;)
Email yourself this link or program, this tiny program that doesn't require admin privileges is what I use:
http://www.zhornsoftware.co.uk/caffeine/
You can also get a mechanical watch and set the laser mouse on top of it; the seconds hand should trigger it.
In windows 10, search power and sleep settings to find this menu. Change sleep to never: https://i.imgur.com/fHUpYea.png This menu might look different on Laptops, so look around.
Personally I like my computer to sleep after inactivity, so instead I use a program called Caffeine to temporarily disable sleeping. While the program is in the Task tray, it'll keep my computer awake. http://www.zhornsoftware.co.uk/caffeine/
Either option works, I just like being able to temporarily control it rather than changing the setting and forgetting to change it back.
Sometimes it is easier to trick Windows than it is to fix Windows. I have a machine with Win 10 that absolutely refuses to honor my settings for hibernation(not to do it ever) and I've tried everything I can think of to stop it, including NFO, Ultimately I just downloaded Caffeine which simulates a mostly unused key(F15) to keep the machine awake.
caffeine.exe -- synthesizes a key up event regularly which keeps your screen lock from activating but does not interfere with the GUI.
Also does not lead to a constantly jiggling mouse pointer driving you nuts.
If it uses the built in activity monitors, then caffeine will probably do the job. But there are more direct ways to block restarts.
I've been using caffeine for years
it simulates a harmless keystroke periodically, and I've never had any issue with the software despite being made by some random dude.
I use a program called caffeine. It simulates a key press every minute. Minimal settings (optional), it's small, there's no installation required, and it just works. Love it.
You'll probably want the VMs to auto-login, using something like http://www.computerperformance.co.uk/windows7/windows7_auto_logon.htm. If you ever log onto the box with rdp, you'll want to reboot when you leave it. It doesn't take much for the display adapter to lose its mind.
If you find everything works but things randomly go black you may also want something like http://www.zhornsoftware.co.uk/caffeine/ to keep the display alive.
+1 for Autohotkey. I'd also recommend caffeine (http://www.zhornsoftware.co.uk/caffeine/) which is a bit simpler, its sole function is to simulate a keypress once a minute.
That said, an outside program pressing buttons in game for you smells a lot like cheating software, so use at your own risk.
Maybe give this a shot? You can set it to press a specific button every so often. I haven't tried it for my matebook yet but I use it at work to keep a virtual desktop from locking constantly.
Caffeine works by simulating an F15 key up event every 59 seconds. Of all the key presses available, F15 is probably the least intrusive (I've never seen a PC keyboard with that key!), and least likely to interfere with your work. Note: PowerPoint uses the F15 keypress to pause video in a slide, if you think this may cause you a problem, use the -useshift command line parameter. Note: if you use Google Docs, or a terminal emulation app like Putty, you might find that F15 does interfere with what you're doing. In that case, I'd suggest using the -useshift command line option.
I'd prefer using something like Caffeine
http://www.zhornsoftware.co.uk/caffeine/
It simulates a keypress once every 59 seconds so it doesn't activate a screensaver, or lock. It simulates an F15 key up event, which is 99.99% likely that it won't affect anything (Most current keyboards only go up to F12).
Least intrusive way that I've found is to use a utility like this It just stays in the tray and pushes a button. Goes away on the reboot. You can also use Magical Jellybean in some cases if the COA isn't 100% readable and the old OS still boots and is legit.
>The thing that pisses me off is the decision was made to lock it down so users couldn't change the timing temporarily or anything.
Windows has a presentation mode that you activate with a key combination for this. Also Caffeine.
It's safe to use.
Simply said; it's like giving your tired computer some coffee.
> If you have problems with your PC locking or going to sleep, caffeine will keep it awake. It works by simulating a keypress once every 59 seconds, so your machine thinks you're still working at the keyboard, so won't lock the screen or activate the screensaver.
Until Microsoft adds this, you can use an app called Caffeine. It sits in your tray or menubar and when activated it stops your screen from dimming. A very handy and useful app.
Mac users: http://lightheadsw.com/caffeine/
Windows users: http://www.zhornsoftware.co.uk/caffeine/ (download link at the bottom of the page)
Go here: http://www.zhornsoftware.co.uk/caffeine/index.html#download
And download "caffeineOldIcons.zip" specifically. Extract the exe, make sure it is named "caffeine", and try replacing it with the one in the Tron folder.
I went through the spec sheet of your laptop and it doesn't list any kind of light sensor or auto-brightness sensor that would cause the screen to sleep. So, I'm confused as to what could be causing the issue. I recommend moving forward with restoring the default power settings for now as I honestly can't think of anything else to try.
As an alternative, you can try using the program Caffeine. It simulates a key press in the background that should interrupt the sleep cooldown. This isn't ideal because your laptop would never go to sleep, but it might be worth considering.
Hope the reset fixed it though!
http://www.zhornsoftware.co.uk/caffeine/
Free portable app, no admin rights required. Keeps your screen saver from kicking in. Put a shortcut in your startup folder if you want. Double click the tray icon to enable/disable. Edit: Probably don't want to let IT know though.
Just note, some remote desktop sessions insert a tilde ~ symbol when you press F15. Happens to me sometimes, here's a related post about it in PuTTY
edit: the author recommends using -useshift argument when running if you have this issue. This will send the shift keypress instead.
Alright I guess my expertise ends right here. I only use Windows for some games occasionally so sorry that I couldn't help you that much.
The last thing is to try Caffeine. ~~http://lightheadsw.com/caffeine/~~
Edit: This link: http://www.zhornsoftware.co.uk/caffeine/
Download something like MouseJiggler or Caffeine. It will keep your computer active until you disable it from what I hear!
Edit: well now I know how to format links here
http://www.zhornsoftware.co.uk/caffeine/index.html
Something I use quite often. I don't have to change my settings all the time in order not to let my computer go in sleep mode. I also made it to start automatically to make it even easier.
You should consider downloading the applet Caffeine, it doesn't require an executable so it can get through most firewalls. In addition, it doesn't require an installation (meaning you may not need admin rights to run).
If you truly want a batch that does what you're asking, I can probably assist with that, but what I, and many others find to work better is the use of a program called Caffeine. It is a single executable that runs with a tray icon, and it will prevent the computer from sleeping (its method is to press the F15 key every 59 seconds). I've used it 100s of times and it works perfectly. It even supports some commandline options as well. The reason this is preferable, is that it does not modify anything on the system, and can easily be removed because it is 1 file. It also will not run after a reboot, so even if you forgot to remove the file, it will not affect the computer user after a reboot.
Download here: http://www.zhornsoftware.co.uk/caffeine/
If you still want the batch option, let me know.
BOINC, the Berkeley Open Infrastructure for Network Computing. (boinc.berkeley.edu) When you're not using your CPU up to its full potential (like redditing) BOINC will find a way to keep it busy. There are 30+ good-of-humanity projects registered with BOINC that aim to do things like cure AIDS, find the largest prime number, image the Milky Way, etc. etc. When your processor is idle or partially idle, BOINC will download tasks from the project server, process them on your computer, and then upload back to the larger project.
I use it and can confirm, it's 100% safe, contains no viruses/has excellent security practices, will not damage your hardware (except by overheating but only if you have really shitty fans) and runs quietly in the background. You can set limits for it, like only use X amount of CPU time, only process between these times of day, only use this much disk space.
There is also a GPU computing option, which will complete some tasks 10 to 200 times faster than the CPU-only version. However, this is still in beta stages and if you have a lower-end graphics card it will cause your computer to appear laggy. I would recommend only running it when you're not active.
Also, there's Caffeine (http://www.zhornsoftware.co.uk/caffeine/), a tidy little icon that sits in your taskbar and enables one-click functionality to prevent your PC from sleeping, even if your preferences say otherwise. It does this by simulating a keypress every 59 seconds, which gives your computer the impression that you are "active".
It can be useful if you like to do stuff like setting your computer to download a bunch of Steam while you go do other things.
I've been going over a few different methods that involve powercfg and backing up the current settings, however importing them back creates brand new GUID ID's for them and eventually becomes a mess.
I instead looked for another tool and found caffeine which is a tool that essentially presses the F15 key every 59 seconds. Looking at the readme there is a option to run it where it doesn't prevent the screen saver from running, you could have an option at the beginning of the script to request that the screen stay active or allow screen saver as both should prevent sleep. There is also and option to kill the app with -appexit and you could run that towards the end of the Tron.bat. I would also recommend running it with -noicon as well.
Caffeine can be found here
There's a bunch of clones for Windows. I use Caffe1ne but there's also Caffeine and Caffeinated amongst others.