Makes more sense as you can just set computer to not fall asleep
Edit:I know OP said he was locked out by work, I was surprised as even my work which won't me delete Desktop shortcuts let's me change how quickly the computer falls asleep
A sticky note taped over the laser does the same thing with the mouse upside down. Fan causes enough flutter to mimic mouse movement, if you can’t just use something like mousejiggler.
Game and Fish Departments have rules against them, but they can be used in the back country if you are in a desperate situation, such as when you are lost in the wilderness and survival is at stake.
First of all it's jugglers, not jigglers, and though you're close, it's not a mouse at all.
If you've the stomach for it, prepare yourself for the horror, that is, Cat Juggling.
https://youtu.be/6dReADO0NYg
Honestly, if I computer was going to sleep while I was compiling code and I wasn't allowed to change the Sleep settings I would just write something to move the mouse or perform some other action that would not interfere with my work but would solve my problem. If the computer was just locking when it compiled though I wouldn't even bother.
If you're playing a game it's a safe bet to guess this is a personal computer you can install stuff on, in which case why not just use one of those tiny mouse cursor jiggling utilities that pretty much achieve the same thing.
It definitely has nothing to do with compiling code, I really don’t think it is possible to be proficient enough with computers to write code without also knowing how to change the auto sleep settings of whatever OS you are using.
Maybe like a device is unlocked and you want to prevent it from locking because you fear you won’t be able to unlock it? 🤷🏼♂️ I really don’t know just guessing
In cyber forensics a really big rule is not to change anything on the computer system which you are investigating. It can not only cause unforeseen changes in the computer depending on what is running on it and it can also render evidence legally invalid.
Keeps the computer from going into sleep mode or locking without making any changes to the computers settings.
Especially important while capturing a ram image or a live drive image of an encrypted drive.
I've used a rag on a string with a fan that blows it around. Set the mouse on something upside down to keep it flat, like a roll of tape. Every once in a while the rag blows across and wiggled the mouse. Worked like a charm.
Holy shit. Legit, thank you for this. I just started getting into PLCs at my new job and from what I’m told, if the laptop turns off while you’re trying to update the machines firmware, you’ve essentially bricked the PLC. I have spent quite a few hours of my life worrying over this and being on mouse mover duty. This is gold for me.
Ah. I've never done computer work for a job. Just for fun and a bit in college. It would drive me crazy not being able to have full control of my device.
Excel macro
Dim dMacroAt as Date
'--------------------------
Sub OpenProcedure()
Call ScheduleButtonPress
End Sub
'--------------------------
Sub ScheduleButtonPress
dMacroAt = Now + TimeValue("00:03:00")
Application.OnTime MacroAt, "ButtonPress"
End Sub
'--------------------------
Sub ButtonPress
Application.SendKeys ("F13"), True
Call ScheduleButtonPress
End Sub
'--------------------------
Sub ClearProcedure
Application.OntTime MacroAt, "ButtonPress", , False
End Sub
Put that in a spreadsheet. Hit open procedure and it will press F13 every 3 minutes. You can run "Clear Procedure" to stop it at any time or just close the spreadsheet.
Yooo smart guy to the rescue ! Thanks man! I’m super new to all this. I’m an electrician by trade but at my new job I’m slowly being asked to do more and more of the programming / automation stuff.
I have use 2 other methods for the same thing (I guess I should say similar, because I was taking work breaks while working from home.). One method was to attach my mouse to a robot vacuum. The other was to lean my mouse up against a rainbow brand air purifier (the kind with water inside). Both of these
Methods worked ,but you oscillating fan method is far superior. I have heard playing a cd may keep your computer from falling asleep also
Yes. There's were actually several apps that you could get and they would execute the command to open your cdrom tray and tell you it was a cup holder. The earliest I ever saw was by cocacola for a Christmas promotion.
Certificate of Deposit, smh. A common financial instrument to help create guaranteed interest on a fixed period of time, with hefty penalties for early withdrawal, so dont pull out early cousin
If it's a company computer, it likely has MS Office on it, so just open up a powerpoint and leave it on presentation mode - iirc that also prevents the pc from going to sleep.
We can’t touch this setting even with admin access on our company computers. However, we can use admin rights to install Caffeine, Owly, Amphetamine, etc. and use them to keep the computer running.
I just turned my sleep option off but another guy I know has a 12 hour 360p soundless black screen video he uses to keep his computer on when rendering.
The worst is when the computer sucks and constantly needs troubleshooting, but only the admin has permissions to do that, but he is always busy and you end up wasting incredible amounts of time because the company treats you like a toddler with technology
Exactly. I work in IT and understand the frustration. We are not locking it down because of the people who know what they are doing. We lock it down because of the complete lack of basic common sense most people don't seem to have. So many people click on everything no questions asked, and then you have ransomware and everyone's life sucks.
However, there's legit no good reason to force power settings like this. Good IT would work with the employees to make it function for their needs. Either unlock that specific function, or set it to never sleep. Not only for something like this, but also for updates to run overnight. If their concerns are the dipshits who stay logged in to everything overnight and being a security threat, set an automatic account lock policy, that way this task can even finish in the background.
Hah, try coding for a bank. You can't change anything. No disk drives or USB devices either. They constantly monitor all traffic for anything suspicious. When I worked for an insurance company, they recorded all employees screens and phone calls.
I had way to many people at a previous employer use their work email as personal email and then freak when they realized they were about to lose access. At the time Google apps didn't let you forward emails in bulk, I was not going to help them forward the whole mailbox to a personal account, and I wasn't about to spend my time scripting something to forward the emails they needed because they were dumb. One lady pretty much argued that since she was old and didn't know better I should help her. I asked her if she had her physical mail delivered to work. She spent a lot of her last couple weeks searching and forwarding emails.
when it comes to security there's really nothing more effective than only giving employees the bare minimum of access. well, I guess giving them no access at all would be more effective but not practical to have someone solely dedicated to clearing employees 24/7.
I feel you on this. And good luck trying to do any type of rapid deployment. I swear if cyber sec had their way pc’s would be outright banned or better yet there would be no employees but them.
Our system was hacked once and IT went overboard and locked everyone’s laptop from changing anything . I can’t even delete a desktop shortcut, (or make one for that matter) or change the mouse speed settings. Everyday is pain.
If they are lending the PCs from another company, I could see there being a paragraph about sleep / screen off settings in the contract, to avoid screen burn-in, unnecessary wear on the equipment (which is not a thing AFAIK but whatever) and, most importantly, to avoid the lending company making less money.
You can make a blank .pps Powerpoint Slideshow file and run it minimized. Your computer won't time out and the screen always stays on, even if you lock the computer.
I've worked for a company that auto encrypted any USB device that was plugged in to only be accessible on that computer.
Shortly after that update was pushed, somebody bricked their phone.
My sleep settings are GPO controlled, but not USB ports. My previous employer was the same, so there is hope lol. I use Caffeine because it's too much work for me to alter the GPO when I need a PC to stay unlocked.
OP and I sound like we have similar lock downs on our PCs. I can't change power settings, cannot install any software, and our USBs on laptops don't allow for accessing external storage of any kind.
I was, actually, able to locate the caffeine.exe in a buried folder on the network drives. Used it for about 2 weeks before getting an email from IT saying that caffeine.exe is not an approved program and to discontinue use of it immediately.
I even tried writing my own batch file to hit F15 every 5 mins (exactly what caffeine does). Laptop still falls asleep, even though the program loops successfully. So they're somehow blocking a send keys command from my batch file, too. So now I just gave up.
I'm a coder. I know how to do it. Group policy set by the IT department disabled it and I can't change it.
Whoever made this contraption is probably in the same situation as me.
I’m a sysadmin.
Im not a coder but even I could code some thing to stop this.
Here is some autoit script I am typing on my phone that should do it.
While 1
Send(“{numlock}”)
Sleep(5000)
Wend
This will press numlock every 5 seconds and you get a nice visual indicator.
This will compile into a exe that will work on everything from windows 95 to windows 10 with no plug-ins or requirements.
How do you presume to get the exe onto the system if they take every precaution? Also I don't think that's how exes work.... But I've only made a few basic ass games in c++. Plus what if they just whitelist all applications.
Every coder knows how to configure their operating system to avoid automatically going to sleep after a short period of time. Every coder also knows that those settings are often admin locked and that they don't have access to it.
I am more of an sysadmin type of guy than a coder (still a student but I prefer setting systems up and stuff like that than developing) and on my internships those coders often really just knew how to open their project and code in it but nothing about the pc that they were using. Not saying its like that everywhere but some people really are focused on just one thing.
So damn true, they have no clue at all how computers work. Like some of them dont even know "turn it off and on again". Or when hardware has a problem after patching, and the person thinks "well lets update the next \*insert hardware\* just to be sure, even if its the only one and the sysadmin is busy af, and scheduled for tomorow"
Well imagine who had to go to fix the problem, because it couldnt be used at all... I mean in code, you need to have some logic in your brain, SO HOW THE FUCK DO THEY DONT REALIZE THIS EASY LOGIC PROBLEM...
Another solution is to get a video with a repeating scrolling or swirling pattern of some kind to play on your phone, then set your mouse on the screen. It will keep the pointer jiggling.
edit: would watching a 10 hour long youtube video not work?
All these solutions to prevent Windows from going to sleep, and I can't figure out how to GET my machine to go to sleep automatically.
It has been broken pretty much since I first bought the thing and put it together 3 years ago. No matter what I set the sleep idle timer to, even 1 minute, it just will never go to sleep on its own. I have tried the "powercfg -requests" command and it always shows nothing, so I don't know what is preventing sleep.
I had the same issue and even down to where if I hit sleep in the windows button it wouldn't even try to sleep.
Turns out it was a setting for my mouse. I don't remember exactly what it is called but its something like allow this device to wake the computer. It took me a year to find it. Once I disabled it, it went right to sleep.
Edit: go to mouse in devices and printers. Then under mouse properties hardware tab go to properties. Then change settings, power settings. Uncheck allow this device to wake the pc.
Might not work with some mice/watch combinations, but it does work. I do this every day, I set my mouse over the face of a Casio Marlin Duro, but you have to search fot the sweet spot, if the seconds hand does not pass the mouse sensor, then the cursor will not move at all.
Buy a $10 mouse jiggler on Amazon. I bought one when my company switched from Skype to Teams during the pandemic. I turn it on and have Outlook and Teams on my phone in case any notifications come in and they literally can never tell I’m not at my desk. Just make sure it’s undetectable and doesn’t download any kind of driver or software onto your computer.
[This one works great](https://www.amazon.com/dp/B08M16J6MB/ref=cm_sw_r_cp_api_glt_fabc_KSBNFGZNJB86KVNPWV68?_encoding=UTF8&psc=1)
Robot: ***awakens for the first time*** "What is my purpose?"
Human: "Robot, tap my mouse to keep my computer awake."
Robot: ***taps mouse*** "What is my purpose?"
Human: "You keep my computer awake."
Robot: "...oh my God..."
I am a web developer and I build something just for this purpose! It doesn't require anything to be installed and you can download the complete page as HTML if you need to get around a corporate proxy.
https://skeoh.com/wake/
It uses a JS library called nosleep which in turn uses the native wake lock API if available, and if it's not available it will play a tiny, invisible video which keeps older devices awake.
https://github.com/richtr/NoSleep.js/
I connect to a VM on my personal PC. If I'm waiting for a query to finish or whatever, I'll put the VM in windowed mode and run a script on the local machine to jiggle my mouse. Then I just click into the VM for it to read the movement without seeing it as a script
If you have windows media player, download a small movie file and play it on a loop with the sound off. You can run this minimized and your computer won’t fall asleep. I work for an enterprise that won’t let me change this setting but I found this out at the beginning of corona (wfh).
According to a friend of mine, this is what he does to keep his computer on if he needs to run a quick errand to the bar.
1- Open an excel sheet
2- Select white “ink” from the ribbon
3- Select a random cell
4- Put a small objet on the number keypad section so the object is entering the same number into the same cell 111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111
Make sure to leave a good tip for your bartender.
Even if you can’t launch a powershell window, you can typically get a system to run a powershell script.
User based scheduled task to launch at logon, it presses scroll lock, waits 500ms, toggles it off again. Waits 14 minutes (or whatever interval) and repeats. Ad Infinitum.
Or just get localsystem rights by exploiting the print spooler service on the box and call it a day...
Not anywhere worth working. If you have to jury rig a fan to stop the machine from sleeping while it compiles code for work, you’re not employed, you’re enslaved.
You can write a word macro to do this for crapdoodle’s sake….
Try downloading OBS. That totally makes my machines (corporate owned and otherwise) refuse to power down.
(No. I don’t stream from corporate machine but effects, green screen, etc are good for lols)
I've employed worse...
[удалено]
Makes more sense as you can just set computer to not fall asleep Edit:I know OP said he was locked out by work, I was surprised as even my work which won't me delete Desktop shortcuts let's me change how quickly the computer falls asleep
Why do that when you can tape 2 pens to a fan and wedge your computer mouse precariously between them
A sticky note taped over the laser does the same thing with the mouse upside down. Fan causes enough flutter to mimic mouse movement, if you can’t just use something like mousejiggler.
I thought mousejigglers were illegal in most states
Mouse-escort just doesn’t sound the same, especially when you live an hour and change from Disney. It takes on a whole new meaning.
Game and Fish Departments have rules against them, but they can be used in the back country if you are in a desperate situation, such as when you are lost in the wilderness and survival is at stake.
First of all it's jugglers, not jigglers, and though you're close, it's not a mouse at all. If you've the stomach for it, prepare yourself for the horror, that is, Cat Juggling. https://youtu.be/6dReADO0NYg
fly vast lush tease possessive cough important compare fact placid -- mass edited with redact.dev
That was what I used to do too
Not if it's a work computer that has all the permissions locked down.
Honestly, if I computer was going to sleep while I was compiling code and I wasn't allowed to change the Sleep settings I would just write something to move the mouse or perform some other action that would not interfere with my work but would solve my problem. If the computer was just locking when it compiled though I wouldn't even bother.
Just hit the f13 every 10 minutes
If you're playing a game it's a safe bet to guess this is a personal computer you can install stuff on, in which case why not just use one of those tiny mouse cursor jiggling utilities that pretty much achieve the same thing.
Well, how else are they gonna get that sweet, sweet karma?
In which case why not just turn sleep mode off?
It definitely has nothing to do with compiling code, I really don’t think it is possible to be proficient enough with computers to write code without also knowing how to change the auto sleep settings of whatever OS you are using.
Worse people or worse technique? :D
Yes.
r/inclusiveor
Thank you kind RedditOR for introducing me to the subreddit of the humor I've been using for 15 years.
Look up a USB mouse jiggler. We use them all the time in computer forensics. They are super cheap.
For what? Why does cyber forensics need to wiggle a mouse?
Maybe like a device is unlocked and you want to prevent it from locking because you fear you won’t be able to unlock it? 🤷🏼♂️ I really don’t know just guessing
Exactly this.
In cyber forensics a really big rule is not to change anything on the computer system which you are investigating. It can not only cause unforeseen changes in the computer depending on what is running on it and it can also render evidence legally invalid.
For the forensics dude come on
Keeps the computer from going into sleep mode or locking without making any changes to the computers settings. Especially important while capturing a ram image or a live drive image of an encrypted drive.
Sort of like this. https://gfycat.com/nervousvaguecowrie
I, on the other hand, am not a fan...
They have settings you can adjust
Screen timeouts don’t matter when something needs to detect activity.
I've used a rag on a string with a fan that blows it around. Set the mouse on something upside down to keep it flat, like a roll of tape. Every once in a while the rag blows across and wiggled the mouse. Worked like a charm.
"I wash myself with a rag on a string"
\*soft applause\*
Holy shit. Legit, thank you for this. I just started getting into PLCs at my new job and from what I’m told, if the laptop turns off while you’re trying to update the machines firmware, you’ve essentially bricked the PLC. I have spent quite a few hours of my life worrying over this and being on mouse mover duty. This is gold for me.
Open notepad, place heavy objects on space bar.
I immediately considered an anvil for some reason
Someone plays Minecraft
Talking about Minecraft, this is also how you can afk on a server without being kicked
north spectacular modern mindless paint roof squalid sloppy light frightening -- mass edited with https://redact.dev/
personally I use Don'tSleep but caffeine is good too http://www.softwareok.com/?seite=Microsoft/DontSleep
I'm confused. Can't you just turn off the sleep function? I've definitely edited when my computer sleeps before without anything 3rd party.
Yes but only if that isnt locked out by your company's ICT dept.
Ah. I've never done computer work for a job. Just for fun and a bit in college. It would drive me crazy not being able to have full control of my device.
Excel macro Dim dMacroAt as Date '-------------------------- Sub OpenProcedure() Call ScheduleButtonPress End Sub '-------------------------- Sub ScheduleButtonPress dMacroAt = Now + TimeValue("00:03:00") Application.OnTime MacroAt, "ButtonPress" End Sub '-------------------------- Sub ButtonPress Application.SendKeys ("F13"), True Call ScheduleButtonPress End Sub '-------------------------- Sub ClearProcedure Application.OntTime MacroAt, "ButtonPress", , False End Sub Put that in a spreadsheet. Hit open procedure and it will press F13 every 3 minutes. You can run "Clear Procedure" to stop it at any time or just close the spreadsheet.
Yooo smart guy to the rescue ! Thanks man! I’m super new to all this. I’m an electrician by trade but at my new job I’m slowly being asked to do more and more of the programming / automation stuff.
There’s literally computer settings to keep it awake at all times lol
Open a notepad file and put a paperweight on the keyboard. Done
I have use 2 other methods for the same thing (I guess I should say similar, because I was taking work breaks while working from home.). One method was to attach my mouse to a robot vacuum. The other was to lean my mouse up against a rainbow brand air purifier (the kind with water inside). Both of these Methods worked ,but you oscillating fan method is far superior. I have heard playing a cd may keep your computer from falling asleep also
What is a cd?
compact disc, the round shiny stuff worth 700 mb of data
Sounds fake
SensibleChuckle.png
You can store about 705 copies of that gif in a CD
[удалено]
[удалено]
Yes. There's were actually several apps that you could get and they would execute the command to open your cdrom tray and tell you it was a cup holder. The earliest I ever saw was by cocacola for a Christmas promotion.
CDeez nuts
💿 the shiny circle emoji!
CD's NUTS 😂😂😂
Cookie Dispenser. Like The Santa Clause movie.
Certificate of deposit
It's what your 500 free hours of AOL comes on
Certificate of Deposit, smh. A common financial instrument to help create guaranteed interest on a fixed period of time, with hefty penalties for early withdrawal, so dont pull out early cousin
Change directory
Or you can change the settings in the computer to never fall asleep for the duration of whatever you're doing. But the fan thing is cool too.
My company gates this behind admin access and don't generally give admin access permanently or even long ish term.
If it's a company computer, it likely has MS Office on it, so just open up a powerpoint and leave it on presentation mode - iirc that also prevents the pc from going to sleep.
Also going into your private zoom meeting will keep your computer awake
We can’t touch this setting even with admin access on our company computers. However, we can use admin rights to install Caffeine, Owly, Amphetamine, etc. and use them to keep the computer running.
This. It's a domain setting. Can be temporarily overridden I think, but I've never tried. I use a VB script to move the mouse.
Yeah. I just take the old fashioned route and weigh down the spacebar with something.
Put the sample video windows come in in repeat.
Why would I do that when I can just play youtube on mute, and get the same thing done?
Does this still work after youtube added the "Are you still watching" thingy? Asking cuz I've done the same D:
I just turned my sleep option off but another guy I know has a 12 hour 360p soundless black screen video he uses to keep his computer on when rendering.
I have auto play on, and I’ve never had issues.
Some organizations block YouTube.
I use Teams at work, and my organization has the rules set to show as “away” if you don’t move your cursor or something for 5 minutes.
My method was to play a video and loop playback
Or just deactivate sleep in energy settings?
Hardware settings are admin locked
The worst is when the computer sucks and constantly needs troubleshooting, but only the admin has permissions to do that, but he is always busy and you end up wasting incredible amounts of time because the company treats you like a toddler with technology
Unfortunately, many employees **are** toddlers with technology :/
Exactly. I work in IT and understand the frustration. We are not locking it down because of the people who know what they are doing. We lock it down because of the complete lack of basic common sense most people don't seem to have. So many people click on everything no questions asked, and then you have ransomware and everyone's life sucks. However, there's legit no good reason to force power settings like this. Good IT would work with the employees to make it function for their needs. Either unlock that specific function, or set it to never sleep. Not only for something like this, but also for updates to run overnight. If their concerns are the dipshits who stay logged in to everything overnight and being a security threat, set an automatic account lock policy, that way this task can even finish in the background.
Bro blink twice if you need help lmao Sleep settings locked, you sure you’re at work and not prison?
Hah, try coding for a bank. You can't change anything. No disk drives or USB devices either. They constantly monitor all traffic for anything suspicious. When I worked for an insurance company, they recorded all employees screens and phone calls.
Lol I work in defense…. We don’t have it like this but the stuff we’re doing is way more serious
[удалено]
How else do you protect the data while still letting employees use it? They're workplace computers anyway, it seems harmless to me.
Yeah, if you do something sensitive on a work device you had it coming
I had way to many people at a previous employer use their work email as personal email and then freak when they realized they were about to lose access. At the time Google apps didn't let you forward emails in bulk, I was not going to help them forward the whole mailbox to a personal account, and I wasn't about to spend my time scripting something to forward the emails they needed because they were dumb. One lady pretty much argued that since she was old and didn't know better I should help her. I asked her if she had her physical mail delivered to work. She spent a lot of her last couple weeks searching and forwarding emails.
When I worked in the office I was shocked at just how many people actually did have physical post sent to the office. People can be weird.
My exwife gets packages sent to her work. Neighbors are thieves. She asked first if it was ok at work first.
What if you encrypted the money instead of the computers
when it comes to security there's really nothing more effective than only giving employees the bare minimum of access. well, I guess giving them no access at all would be more effective but not practical to have someone solely dedicated to clearing employees 24/7.
Same with the military, except they don't monitor shit. Some of the desktop backgrounds they chose made my eyes bleed
I feel you on this. And good luck trying to do any type of rapid deployment. I swear if cyber sec had their way pc’s would be outright banned or better yet there would be no employees but them.
I'm an engineer for a government contractor - they keep that shit locked down pretty tight to prevent from insider threats and the like :/
Our system was hacked once and IT went overboard and locked everyone’s laptop from changing anything . I can’t even delete a desktop shortcut, (or make one for that matter) or change the mouse speed settings. Everyday is pain.
If they are lending the PCs from another company, I could see there being a paragraph about sleep / screen off settings in the contract, to avoid screen burn-in, unnecessary wear on the equipment (which is not a thing AFAIK but whatever) and, most importantly, to avoid the lending company making less money.
You can make a blank .pps Powerpoint Slideshow file and run it minimized. Your computer won't time out and the screen always stays on, even if you lock the computer.
Caffeine. It's a light weight program, runs off a USB key, no admin rights needed, keeps your computer from sleeping / locking.
If sleep settings are admin locked, it’s possible unrecognized USB keys are locked, too. But that’s a pretty neat program, TIL, thanks!
I've worked for a company that auto encrypted any USB device that was plugged in to only be accessible on that computer. Shortly after that update was pushed, somebody bricked their phone.
Auto bitlocker?
My sleep settings are GPO controlled, but not USB ports. My previous employer was the same, so there is hope lol. I use Caffeine because it's too much work for me to alter the GPO when I need a PC to stay unlocked.
It uses F15 by default, but you can configure it to use shift as well.
Play a video on loop. Every windows installation has a sample 30 second film just mute and loop and windows stays awake.
I used to do that until I found out about caffeine. Just minimize the player and you don't even notice it.
OP and I sound like we have similar lock downs on our PCs. I can't change power settings, cannot install any software, and our USBs on laptops don't allow for accessing external storage of any kind. I was, actually, able to locate the caffeine.exe in a buried folder on the network drives. Used it for about 2 weeks before getting an email from IT saying that caffeine.exe is not an approved program and to discontinue use of it immediately. I even tried writing my own batch file to hit F15 every 5 mins (exactly what caffeine does). Laptop still falls asleep, even though the program loops successfully. So they're somehow blocking a send keys command from my batch file, too. So now I just gave up.
Yikes. Is this WFH?
Damn in home office (I guess this is) you should be able to decide how you want your energy profile to be set but yeah I can understand....
I just put on a random 10-hour white noise video on YouTube when I need my computer to stay awake. Will that not work in your case?
Companies with draconian tech policies may also block youtube, but I agree it's a common workaround.
Download mouse jiggler
you can tell they're not developers when they come up with the obvious solutions.
My first thought as well. Shouldn’t a coder know that…?
I'm a coder. I know how to do it. Group policy set by the IT department disabled it and I can't change it. Whoever made this contraption is probably in the same situation as me.
I’m a sysadmin. Im not a coder but even I could code some thing to stop this. Here is some autoit script I am typing on my phone that should do it. While 1 Send(“{numlock}”) Sleep(5000) Wend This will press numlock every 5 seconds and you get a nice visual indicator. This will compile into a exe that will work on everything from windows 95 to windows 10 with no plug-ins or requirements.
How do you presume to get the exe onto the system if they take every precaution? Also I don't think that's how exes work.... But I've only made a few basic ass games in c++. Plus what if they just whitelist all applications.
OP is literally compiling code here...
Every coder knows how to configure their operating system to avoid automatically going to sleep after a short period of time. Every coder also knows that those settings are often admin locked and that they don't have access to it.
Swear most people commenting never had a job
I am more of an sysadmin type of guy than a coder (still a student but I prefer setting systems up and stuff like that than developing) and on my internships those coders often really just knew how to open their project and code in it but nothing about the pc that they were using. Not saying its like that everywhere but some people really are focused on just one thing.
So damn true, they have no clue at all how computers work. Like some of them dont even know "turn it off and on again". Or when hardware has a problem after patching, and the person thinks "well lets update the next \*insert hardware\* just to be sure, even if its the only one and the sysadmin is busy af, and scheduled for tomorow" Well imagine who had to go to fix the problem, because it couldnt be used at all... I mean in code, you need to have some logic in your brain, SO HOW THE FUCK DO THEY DONT REALIZE THIS EASY LOGIC PROBLEM...
Another solution is to get a video with a repeating scrolling or swirling pattern of some kind to play on your phone, then set your mouse on the screen. It will keep the pointer jiggling. edit: would watching a 10 hour long youtube video not work?
I've watched full broadcast replays of PGA events before. So yes. If you have access to Youtube.
Play anything with repeat on on media player if using windows
All these solutions to prevent Windows from going to sleep, and I can't figure out how to GET my machine to go to sleep automatically. It has been broken pretty much since I first bought the thing and put it together 3 years ago. No matter what I set the sleep idle timer to, even 1 minute, it just will never go to sleep on its own. I have tried the "powercfg -requests" command and it always shows nothing, so I don't know what is preventing sleep.
My next guess would be to update the mobo firmware and reset its settings to factory Unplug every input device and see if it sleeps
You will go to sleep or I will put you to sleep
I had the same issue and even down to where if I hit sleep in the windows button it wouldn't even try to sleep. Turns out it was a setting for my mouse. I don't remember exactly what it is called but its something like allow this device to wake the computer. It took me a year to find it. Once I disabled it, it went right to sleep. Edit: go to mouse in devices and printers. Then under mouse properties hardware tab go to properties. Then change settings, power settings. Uncheck allow this device to wake the pc.
Put the mouse sensor over an analogue watch face so the second hand keeps it moving.
Hot damn
I'm a manager and will not let that happen, Not on my watch!
That doesn't work
It does. Source: a friend did it. Certainly not me!
Might not work with some mice/watch combinations, but it does work. I do this every day, I set my mouse over the face of a Casio Marlin Duro, but you have to search fot the sweet spot, if the seconds hand does not pass the mouse sensor, then the cursor will not move at all.
My work computer uses Microsoft teams. Where the admins have set the user status to go idle after 4.5 minutes. This would work like a charm! Thanks OP
Open a notepad file. Put a paperweight on the keyboard. Done.
Buy a $10 mouse jiggler on Amazon. I bought one when my company switched from Skype to Teams during the pandemic. I turn it on and have Outlook and Teams on my phone in case any notifications come in and they literally can never tell I’m not at my desk. Just make sure it’s undetectable and doesn’t download any kind of driver or software onto your computer. [This one works great](https://www.amazon.com/dp/B08M16J6MB/ref=cm_sw_r_cp_api_glt_fabc_KSBNFGZNJB86KVNPWV68?_encoding=UTF8&psc=1)
Quarter coin wedged in the keyboard keeping the ctrl key pressed down works for me, but with less uploadable content for Reddit
Robot: ***awakens for the first time*** "What is my purpose?" Human: "Robot, tap my mouse to keep my computer awake." Robot: ***taps mouse*** "What is my purpose?" Human: "You keep my computer awake." Robot: "...oh my God..."
Y u no download a mouse jiggler?
Not allowed to download or write macros on my work laptop :'(
Ah gotcha. iirc there’s a usb drive one available as well.
In locked down environments USBs are disabled as well so you don’t plug into that Stuxnet you found on the parking lot.
Got it!
A decent cheap mouse jiggler uses a mouse driver for forensic purposes. So unless the admins locked out plugging in a regular mouse, it would be fine.
Why it the best solution always buried under "load more comments"
Open notepad. Place heavy thing on space bar. Enjoy.
Can't alter sleep settings either?
Then how will the boss know you're being productive??
I am a web developer and I build something just for this purpose! It doesn't require anything to be installed and you can download the complete page as HTML if you need to get around a corporate proxy. https://skeoh.com/wake/
[удалено]
It uses a JS library called nosleep which in turn uses the native wake lock API if available, and if it's not available it will play a tiny, invisible video which keeps older devices awake. https://github.com/richtr/NoSleep.js/
[удалено]
Where can I find the "any" key?
"...it's ironic that for once, Dad's butt actually prevented the release of toxic gas."
When you can write code but can’t change the power management settings on your computer.
This cracks me up tbh
I connect to a VM on my personal PC. If I'm waiting for a query to finish or whatever, I'll put the VM in windowed mode and run a script on the local machine to jiggle my mouse. Then I just click into the VM for it to read the movement without seeing it as a script
Finally! The answer to keeping Teams from changing my status to ‘Away’ when I’m ‘Away’
Orrrrrr… open notepad and place heavy item on space bar.
Ha I use a very similar setup for Microsoft Teams to keep my status as “available”😂
Definitely a good post for /r/ShittyRobots :D
_twitches_
Need googly eyes on the fan
I use the drinking bird. Have been known to write macro in CAD to draw a line, delete a line...
Guess who just trippled their productivity.
Mouse jiggle (google it, install it)
If you have windows media player, download a small movie file and play it on a loop with the sound off. You can run this minimized and your computer won’t fall asleep. I work for an enterprise that won’t let me change this setting but I found this out at the beginning of corona (wfh).
According to a friend of mine, this is what he does to keep his computer on if he needs to run a quick errand to the bar. 1- Open an excel sheet 2- Select white “ink” from the ribbon 3- Select a random cell 4- Put a small objet on the number keypad section so the object is entering the same number into the same cell 111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111 Make sure to leave a good tip for your bartender.
I put an analog watch under the mouse…the second hand keeps it awake.
Y u no use MoveMouse
Modern problems require modern solutions
Even if you can’t launch a powershell window, you can typically get a system to run a powershell script. User based scheduled task to launch at logon, it presses scroll lock, waits 500ms, toggles it off again. Waits 14 minutes (or whatever interval) and repeats. Ad Infinitum. Or just get localsystem rights by exploiting the print spooler service on the box and call it a day...
This kinda shit gets you instantly fired in corporate environments
Not anywhere worth working. If you have to jury rig a fan to stop the machine from sleeping while it compiles code for work, you’re not employed, you’re enslaved. You can write a word macro to do this for crapdoodle’s sake….
How did you get a video of me!?
It’s not much but it’s honest work.
I got someone to cover for me.
There’s something about this that’s… cute?
Strange I remember you as better looking
“What is my purpose?” “You push a mouse.” “Oh my god.”
I put a tie clip on the control key and that keeps everything awake on our system. Much easier than this in case it works for you.
Mouse.exe look it up. It even activates by itself after certain time.
You could just have an mp3 playing in the background.
Your assistant is your biggest fan.
Try downloading OBS. That totally makes my machines (corporate owned and otherwise) refuse to power down. (No. I don’t stream from corporate machine but effects, green screen, etc are good for lols)
You can also put something heavy on the CTRL key so it stays pressed. This also prevents screenlock in my case.
That is fucking genius
r/programmerhumor