r/redneckengineering • u/TurkeeDurkee • Jun 30 '21
Keeping computer awake while it compiles code
70
u/AlanHoliday Jun 30 '21
Y u no download a mouse jiggler?
→ More replies (1)114
u/TurkeeDurkee Jun 30 '21
Not allowed to download or write macros on my work laptop :'(
29
u/AlanHoliday Jun 30 '21
Ah gotcha. iirc there’s a usb drive one available as well.
→ More replies (1)26
u/captainhamption Jun 30 '21
In locked down environments USBs are disabled as well so you don’t plug into that Stuxnet you found on the parking lot.
→ More replies (8)35
→ More replies (15)7
u/notonlythat Jun 30 '21
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.
0
2.3k
u/GoFred101 Jun 30 '21
I've employed worse...
268
54
u/Car-Facts Jun 30 '21
Look up a USB mouse jiggler. We use them all the time in computer forensics. They are super cheap.
→ More replies (7)38
u/RiskLife Jul 01 '21
For what? Why does cyber forensics need to wiggle a mouse?
81
u/MainusEventus Jul 01 '21
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
23
17
u/Derpingbirdd Jul 01 '21
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.
→ More replies (2)36
u/Car-Facts Jul 01 '21
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.
→ More replies (2)38
14
→ More replies (46)2
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.
→ More replies (2)141
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.
169
u/BigDavesRant Jul 01 '21
Open notepad, place heavy objects on space bar.
110
→ More replies (2)8
u/thunderthighlasagna Jul 01 '21
I just unplug my keyboard while holding the space bar and it keeps typing. You can do the same with a mouse and clicking.
56
u/cody_contrarian Jul 01 '21 edited Jun 25 '23
north spectacular modern mindless paint roof squalid sloppy light frightening -- mass edited with https://redact.dev/
→ More replies (1)9
u/bearassbobcat Jul 01 '21
personally I use Don'tSleep but caffeine is good too
5
u/TheUlfheddin Jul 01 '21
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.
→ More replies (5)27
u/SPACKlick Jul 01 '21
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 SubPut 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.
→ More replies (2)6
u/mle32000 Jul 01 '21
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.
15
7
→ More replies (7)2
u/monstrousnuggets Jul 23 '23
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
→ More replies (1)
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
113
u/KelseyBDJ Jun 30 '21
What is a cd?
175
37
24
12
11
8
6
4
u/LiveWildBeSmart Jul 01 '21
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
4
→ More replies (1)0
6
2
u/saltywings Jul 01 '21
Open a text document like notepad or word, hold down the spacebar and wedge a quarter in the space bar.
2
u/thedarkarmadillo Jul 01 '21
Depending on duration I'll open a video on YouTube and put it to 0.25 speed to make it last longer
→ More replies (1)2
u/SaintWacko Jul 01 '21
I just used an autohotkey script that would send an empty mousemove event every 9 minutes
2
2
u/afs5982 Jul 01 '21
I just made a quick PowerShell script that presses F15 (yes, F15) every few minutes. It doesn't actually do anything other than keep the screen awake
2
u/CooliOCooK Jul 01 '21
play a video in the background and get it to loop, your computer won’t sleep.
2
2
2
2
98
Jun 30 '21
[removed] — view removed comment
48
u/eyoo1109 Jul 01 '21
My company gates this behind admin access and don't generally give admin access permanently or even long ish term.
35
Jul 01 '21
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.
→ More replies (2)→ More replies (5)16
u/Sanders0492 Jul 01 '21
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.
→ More replies (10)11
u/reformedmikey Jun 30 '21
Why would I do that when I can just play youtube on mute, and get the same thing done?
18
u/mitko17 Jul 01 '21
Does this still work after youtube added the "Are you still watching" thingy? Asking cuz I've done the same D:
→ More replies (10)→ More replies (4)6
u/cleancalf Jul 01 '21
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.
→ More replies (3)
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?
24
u/comphermc Jul 01 '21
I've watched full broadcast replays of PGA events before. So yes. If you have access to Youtube.
2
u/herodothyote Jul 01 '21
Good idea, i wonder if anyone has tested this out
3
u/JaozinhoGGPlays Jul 01 '21 edited Jul 01 '21
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.
→ More replies (3)2
u/44penfold Jul 01 '21
It does! Type in 100 hour video on YT and there should be a countdown timer video. Works for me when running code over the weekends.
161
u/John86RS Jun 30 '21
Put the mouse sensor over an analogue watch face so the second hand keeps it moving.
40
45
u/jvrcb17 Jul 01 '21
I'm a manager and will not let that happen, Not on my watch!
→ More replies (1)16
u/AsGoodAndAsBadAsI Jul 01 '21
That doesn't work
14
→ More replies (9)20
u/Cristian314 Jul 01 '21
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.
87
u/wagneralves Jun 30 '21
Play anything with repeat on on media player if using windows
39
u/Reacher-Said-N0thing Jul 01 '21
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.
18
u/ScaryCookieMonster Jul 01 '21
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
→ More replies (2)→ More replies (1)6
u/ARCHIVEbit Jul 01 '21 edited Jul 01 '21
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.
→ More replies (2)→ More replies (2)3
u/beyondswamps Jul 01 '21
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.
→ More replies (2)
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
13
5
u/FlatTopTonysCanoe Jul 01 '21 edited Jul 01 '21
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.
2
u/DrSpyC Jul 01 '21
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.
3
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
→ More replies (3)2
u/No-Tear1685 Jul 01 '21
I just open a notepad and oress any key with a heavy object , it keeps typing and doesnt lock screen
→ More replies (5)
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
Jul 01 '21
When you can write code but can’t change the power management settings on your computer.
2
u/Hunting_Gnomes Jul 01 '21
I can log in and shut down significant portions of supply chains anywhere in the US, but I can't delete the icons on my desk top.
IT sucks.
6
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’
→ More replies (3)4
u/BigDavesRant Jul 01 '21
Orrrrrr… open notepad and place heavy item on space bar.
→ More replies (1)
4
u/mavboi20 Jul 01 '21
Ha I use a very similar setup for Microsoft Teams to keep my status as “available”😂
4
6
3
3
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
3
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.
→ More replies (1)
3
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
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...
6
u/xDevman Jul 01 '21
This kinda shit gets you instantly fired in corporate environments
7
u/Youneededthiscat Jul 01 '21
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….
2
2
2
2
2
2
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
2
2
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
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
2
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
2
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
2
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
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
2
2
2
2
2
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
2
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
2
2
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
3
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
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
→ More replies (2)
2
u/JustaRandomOldGuy Jun 30 '21
Just wait until the space heater gets promoted and becomes your boss.
2
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.
→ More replies (3)
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
1
1
1
1
1
u/SprAwsmMan Jun 30 '21
So found out that you can play pictures in Windows Media Player and accomplish the same thing :)
965
u/flololan Jun 30 '21
Or just deactivate sleep in energy settings?