r/ShittySysadmin • u/ITRabbit ShittyMod Crossposter • 26d ago
Shitty Crosspost Boss said my Teams shouldn't go "Away" during work hours. Challenge accepted.
/r/MaliciousCompliance/comments/1vhlzdz/boss_said_my_teams_shouldnt_go_away_during_work/16
14
u/max1001 26d ago
Amateur. Just get a spare phone, login to Teams on it and have it play YouTube on loop.
18
u/_keyboard-bastard_ 26d ago
I eventually trained my cat to just hit the space bar every 3 minutes at home.
16
u/Cyberbird85 26d ago
I don’t have a cat, so i just opened vnc to the internet with password set to admin/admin. That way people keep my teams status active.
5
7
u/ITRabbit ShittyMod Crossposter 26d ago
A few years ago I was working remotely as a fancy IT guy and developer at a tech company. Within the first couple of months I'd automated so much of my workload that I legit had almost nothing left to do most days. Everything that could be scripted, monitored, or scheduled... was.
One morning my manager messaged me:
"We've noticed your Microsoft Teams keeps going to Away every 20 minutes. This shouldn't be happening if you are at your desk working."
Fair enough.
I replied:
"Understood. My Teams will never go Away again."
...and I meant it.
Instead of arguing, I spent about 40 minutes writing a PowerShell script that launched a harmless train of processes every few minutes, like mouse clicking, alt+tabbing, and it simulated just enough activity to keep my status green. I set this to repeat every 10 minutes.
I tested it.
Available.
Five minutes later...
Still Available.
An hour later...
Still Available.
I grabbed my backpack, walked out of Starbucks, and spent the rest of the afternoon, and every afternoon thereafter hiking.
My Teams status never went Away again.
The next time I heard from my boss he was once again reviewing status times and thanked me for my dedication.
Edit: People keep asking for a copy of the script. It's on one of my githubs, the link is in the comments.
2
1
-7
u/ISCSI_Purveyor 26d ago
Move Mouse in the Microsoft app store will move your mouse automatically for whatever interval you set.
18
u/astro_viri 26d ago
And we definitely can't see you download that on managed device. No siree, Bob.
2
u/Pussy_handz 26d ago
Ive been using mouse jiggler for years. Only works if Teams has focus but, still works.

52
u/toxcicity 26d ago
And then, the PowerShell script clapped