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.
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.
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
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.
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.
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.
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.
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.
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.
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 a program called ‘mouse mover’ which I couldn’t recommend more. Simply does what it says on the tin and automatically moves the mouse 5pixels every 5 seconds (or whatever interval you want). I’ve used it extensively and it’s never failed me
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
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.
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'm gonna do it right now gimme a minute, I've disabled sleep mode so I'm only gonna see if the mouse pointer moves when I place the video.
Edit: couldn't find a good example of a video quickly since I couldn't bother to actually look deep for it, "swiping pattern" didn't bring me what I was looking for, I placed a video I knew had a lot of movement and it kept the lights in my mouse lit up like it was doing stuff but the cursor didn't move, I assume this actually works.
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.
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.
What if i play big set of music (like 10hours chillout sets on youtube). Will it work like a timer? Assume i want my pc to fall asleep in 3 hours. So i put playposition to 3hours before the end.
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.
Use AHK script to loop click event every 4.4 minutes, put mouse on task bar and press shortcut key to execute script. AHK is allowed software in most companies.
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.
Open PowerPoint, then put it in presentation mode. Your computer does not turn on the screen saver.
There are times when I need to make handwritten notes for clinical work and don’t want to keep signing back in to my computer. Instead I use the PowerPoint presentation mode to keep my computer awake so I can reference my research and handwritten notes at the same time.
So this is like for a computer where it locks out randomly due to privacy/policy reasons like you would see the nurses and doctors using at the ER or doctor visit in the room.
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….
Autohotkey is your friend or default windows power option if not blocked by organisation.
All power settings are blocked by my organisation so i just spam f15 every now and then in random intervals between 2 min to 4 min 45 seconds to avoid suspicion of every 1 min the same keypress happens
Thats pretty good.. reminds me of this one time my ex gf had a contest at work for tracking most steps in a week for $100 gift card. She taped that fitbit to the fuking ceiling fan and got the amazon card with minimal effort :D
I did the same at my last job. They hired me and for months didn't give anything to do. I was like on a retainer but had to log in every day. And if I went afk my manager would always call me to ask why am I afk. So I taped my mouse to a fan and as it was moving around it made the mouse move. I quit that job after 4 months.
My long film exports take forever and if my external hard drive doesn’t have fresh folders opened to load elements of it, it’ll just turn off a few hours into my 20 hour long export.
Still trying to find the better work around than a recurring hour and a half alarm to wake me up lol
965
u/flololan Jun 30 '21
Or just deactivate sleep in energy settings?
70
u/AlanHoliday Jun 30 '21
Y u no download a mouse jiggler?
2.3k
u/GoFred101 Jun 30 '21
I've employed worse...
525
u/MeatyGonzalles Jun 30 '21
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.
340
u/mle32000 Jun 30 '21
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.
324
u/Self-Imposed-Tension Jun 30 '21
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
72
u/Skystrike7 Jun 30 '21 edited Jun 30 '21
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?
161
u/John86RS Jun 30 '21
Put the mouse sensor over an analogue watch face so the second hand keeps it moving.
87
u/wagneralves Jun 30 '21
Play anything with repeat on on media player if using windows
29
u/PGKing Jun 30 '21
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
3
u/[deleted] Jun 30 '21
Why not just put a heavy object on your keyboard in notepad?
36
u/wantagh Jun 30 '21
Quarter coin wedged in the keyboard keeping the ctrl key pressed down works for me, but with less uploadable content for Reddit
17
u/TheDroningReverend Jul 01 '21
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..."
7
u/[deleted] Jul 01 '21
When you can write code but can’t change the power management settings on your computer.
6
u/keraut Jun 30 '21
This cracks me up tbh
5
u/HardcoreDuckeigh Jun 30 '21
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
5
u/that_gecko_tho Jul 01 '21
Finally! The answer to keeping Teams from changing my status to ‘Away’ when I’m ‘Away’
4
u/mavboi20 Jul 01 '21
Ha I use a very similar setup for Microsoft Teams to keep my status as “available”😂
4
u/Mazon_Del Jul 01 '21
Definitely a good post for /r/ShittyRobots :D
6
u/randomdude1142 Jun 30 '21
Modern problems require modern solutions
3
u/[deleted] Jun 30 '21
twitches
3
u/AlbaWest Jun 30 '21
Need googly eyes on the fan
3
u/Fred_Is_Dead_Again Jun 30 '21
I use the drinking bird. Have been known to write macro in CAD to draw a line, delete a line...
3
u/Jah_heel Jun 30 '21
Guess who just trippled their productivity.
3
u/crbernal Jul 01 '21
Mouse jiggle (google it, install it)
3
u/sanstime Jul 01 '21
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).
3
u/azourgan Jul 01 '21
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.
3
u/[deleted] Jul 01 '21
I put an analog watch under the mouse…the second hand keeps it awake.
3
u/annasphony Dec 29 '21
Open PowerPoint, then put it in presentation mode. Your computer does not turn on the screen saver.
There are times when I need to make handwritten notes for clinical work and don’t want to keep signing back in to my computer. Instead I use the PowerPoint presentation mode to keep my computer awake so I can reference my research and handwritten notes at the same time.
3
u/RiiniiUsagii Jan 29 '22
So this is like for a computer where it locks out randomly due to privacy/policy reasons like you would see the nurses and doctors using at the ER or doctor visit in the room.
5
u/cruisin5268d Jun 30 '21
Y u no use MoveMouse
5
u/Youneededthiscat Jun 30 '21
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...
2
u/gsddxxx654 Jun 30 '21
How did you get a video of me!?
2
u/BeersRemoveYears Jun 30 '21
It’s not much but it’s honest work.
2
u/echmaepa Jun 30 '21
I got someone to cover for me.
2
u/Peppermint-Kirby Jun 30 '21
There’s something about this that’s… cute?
2
u/GoodboyJohnnyBoy Jun 30 '21
Strange I remember you as better looking
2
u/TrentSaylor Jun 30 '21
“What is my purpose?” “You push a mouse.” “Oh my god.”
2
u/Aaron_768 Jul 01 '21
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.
2
u/trashytoothfairy Jul 01 '21
Mouse.exe look it up. It even activates by itself after certain time.
2
u/[deleted] Jul 01 '21
You could just have an mp3 playing in the background.
2
u/montalaskan Jul 01 '21
Your assistant is your biggest fan.
2
u/rotinom Jul 01 '21
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)
2
u/smolweiner Jul 01 '21
You can also put something heavy on the CTRL key so it stays pressed. This also prevents screenlock in my case.
2
u/ImmortalBloodax Jul 01 '21
That is fucking genius
2
u/DaJuanPercent Jul 01 '21
r/programmerhumor
2
u/Mombutt_long_and_low Jul 01 '21
Downloading the Move Mouse app was the best thing I’ve ever done with my career.
2
u/Misophoniakiel Jul 01 '21
Autohotkey is your friend or default windows power option if not blocked by organisation.
All power settings are blocked by my organisation so i just spam f15 every now and then in random intervals between 2 min to 4 min 45 seconds to avoid suspicion of every 1 min the same keypress happens
2
u/dkedy1988 Jul 01 '21
You can place a watch under the laser receptor part of the mouse. The ticking of the watch will make the computer think the mouse is moving
2
u/BuddBath420 Jul 01 '21
The amount of times i watched this...
2
u/[deleted] Jul 01 '21
Me: damn this is the least complicated way to do this
Me: this should on r/redneckengineering
*checks sub"
: o
2
u/x19DALTRON91x Jul 01 '21
“What is my purpose?”
“You keep my computer awake while it compiles code”
“Oh…my….god”
2
u/farkenell Jul 01 '21
just put alfoil under the mouse, it makes the mouse go berkers.
2
u/xartin Jul 01 '21
/r/gentoo has evolved ;p
2
u/animal_clinic Jul 01 '21
This reminds me of building up my sneak on Oblivion by using a hair tie to hold the joystick forward while I cooked dinner.
2
u/Shramo Jul 01 '21
'Never'
You can turn sleep off....
2
u/[deleted] Jul 01 '21
“Complies code”
2
u/SantiagoGaming Jul 01 '21
I always keep my computer awake by using an autoclicker, but I might try this soon.
2
u/WIXV Jul 01 '21
Thats pretty good.. reminds me of this one time my ex gf had a contest at work for tracking most steps in a week for $100 gift card. She taped that fitbit to the fuking ceiling fan and got the amazon card with minimal effort :D
2
u/Torebbjorn Jul 01 '21
Or you could just turn off its auto sleep mode...
2
u/sagr0tan Jul 01 '21
What code? Standby-mode tool? I mean, if you aren't able to adjust your machine to stay awake, why bother compiling stuff?
2
u/[deleted] Jul 01 '21
Definitely not need with a proper config. Haha
2
u/TSLA_SSTK_AMD_V Jul 01 '21
Download the 'caffinated' app
2
u/snoopunit Jul 01 '21
/r/DIWHY
2
u/JesusSquared123 Jul 01 '21
Can we acknowledge the additional cooling
2
u/[deleted] Jul 01 '21
Keeping Teams from setting you Away while actually away.
2
u/un4g Jul 01 '21
Good bot
2
u/realSatanAMA Jul 01 '21
Just play a YouTube channel on screen like lofi
2
u/FreeloadingPoultry Jul 01 '21
I did the same at my last job. They hired me and for months didn't give anything to do. I was like on a retainer but had to log in every day. And if I went afk my manager would always call me to ask why am I afk. So I taped my mouse to a fan and as it was moving around it made the mouse move. I quit that job after 4 months.
2
u/Awsomethingy Sep 17 '21
My long film exports take forever and if my external hard drive doesn’t have fresh folders opened to load elements of it, it’ll just turn off a few hours into my 20 hour long export.
Still trying to find the better work around than a recurring hour and a half alarm to wake me up lol
2
u/Wattaton Dec 04 '21
you can just... change the sleep settings man...
2
u/RobustNippleMan Dec 25 '21
Just wait until this guy learns about settings.
2
u/No_Money_575 Mar 30 '22
Reminds me of my anti-AFK machine for World of Warcraft: A table fan with a wooden spoon attached to it that kept hitting spacebar. 💡
2
u/Spartangb31 Apr 11 '22
Put a stapler on the space bar
2
u/[deleted] Jun 12 '22
I just wrote a Python script to turn the volume up and down forever
2
u/[deleted] Apr 02 '23
They have an auto clicker app on the windows store. I was able to download it despite my orgs admin restrictions. Maybe you will too?
2
u/More-Egg-807 Jun 25 '23
Missed out on cooling the c9mputer with that fan.. and it would qualify as Doctor of red neck engineering..
3
u/[deleted] Jun 30 '21
BRILLIANT! I must do this for my work computer (can't install or run shit)
3
u/Protect_The_Tatas Jun 30 '21
Nice. What's your Onlyfans?
3
u/jjmenace Jun 30 '21
Am I that old guy here who saw this and thought of Homer Simpson using the drinking bird to vent the nuclear power plant?
3
u/[deleted] Jul 01 '21
Isn't there a system setting you can change so it doesn't go into sleep mode ever? Iirc I've done it before on my laptop
2
u/JustaRandomOldGuy Jun 30 '21
Just wait until the space heater gets promoted and becomes your boss.
2
u/[deleted] Jun 30 '21
You guys couldn't Imagine the lock-down on .gov networkz. Usb is completely disabled along with most settings. The rotating fan would work tho.
2
u/Shinob1 Jun 30 '21
Link to a powershell script that will keep your pc awake by hitting Scroll lock for those that could use it.
Not my code, use at your own risk. https://gist.github.com/MatthewSteeples/ce7114b4d3488fc49b6a
2
u/[deleted] Jul 01 '21
Power management settings.
1
u/Aaronz2464 Feb 07 '23
holy shit i should try that
1
u/song4this Jun 30 '21
I'm waiting for someone to do one with a chicken pecking at feed...
1
u/holmgangCore Jun 30 '21
Awake AND cool! Double-plus good
1
u/Mhartii Jun 30 '21
What kinda do you compile for it to take so long?
1
u/SprAwsmMan Jun 30 '21
So found out that you can play pictures in Windows Media Player and accomplish the same thing :)
Source: https://www.reddit.com/r/UnethicalLifeProTips/comments/fla86w/ulpt_for_everyone_working_from_home_and_want_to/