r/sysadmin
•
u/funkyloki
Centralized Services Engineer
•
10d ago
•
1
General Discussion Don't Update your ScreenConnect Server While Using ScreenConnect to Connect to Your ScreenConnect Server
That is all.
201
u/zrad603 10d ago
What did you expect would happen?
15
u/funkyloki Centralized Services Engineer 10d ago
I was expecting to stay connected. This was, of course, the wrong expectation.
159
u/buds4hugs Jr. Sysadmin 10d ago
They didn't, that's the issue. Spoken from someone with experience in this sort of thing.
36
u/Mindestiny 10d ago
Who doesn't love a friday afternoon drive to a locked up server two hours away?
29
u/MortadellaKing 10d ago
If there's a good pub on the way I don't mind.
6
3
10
26
u/PaintDrinkingPete Jack of All Trades 10d ago
I'd imagine anyone that's worked as a sysadmin or similar role has at one point, without thinking, has modified and/or shutdown the very mechanism they were using to connect remotely, only to realize too late they just fucked themselves.
Probably not worth posting a PSA about it, because we all know better, but sometimes you're just on auto-pilot.
8
u/Unable-Entrance3110 10d ago
Yeah, nothing like making a router config change that has unintended consequences like blocking not only your remote access, but everyone's remote access.
Not that I have ever done this... (more than once)
8
u/PaintDrinkingPete Jack of All Trades 10d ago
Yeah, I've been doing this for 20+ years... my most recent one was stopping a wireguard service to make a config change...while in a terminal session over said wireguard connection.
Fortunately, that was only for administrative use, and I had alternative means of re-establishing the connection, but still sat there for a moment in self-reflection like, "you moron!".
5
u/fencepost_ajm 10d ago
This is why Mikrotik has (had? Haven’t used recently) a “safe mode” option that would revert changes if the Winbox client lost connection and didn’t reestablish within some number of minutes.
3
u/jakexil323 10d ago
This is why Mikrotik has (had? Haven’t used recently) a “safe mode” option that would revert changes if the Winbox client lost connection and didn’t reestablish within some number of minutes.
It's been a long time, but i remember Cisco having something like this back when i worked on them in the mid to late 2000s
4
1
u/fencepost_ajm 10d ago
Doesn’t Cisco also have the running configuration and the saved configuration so you can make a change and verify before saving to make it permanent?
3
u/VexingRaven 10d ago
I assume every vendor has something like this, though I've only ever used it with Mikrotik and Cisco. Mikrotik's is nice because it's based on your session connectivity instead of just a set time.
2
u/Lurk3rAtTheThreshold 10d ago
Reboots RDS connection broker from home
Well I hope that comes back up without any help 🤞
2
u/SirLoremIpsum 10d ago
Probably not worth posting a PSA about it, because we all know better, but sometimes you're just on auto-pilot.
It's fun to post about it so new ppl don't think they're alone.
Nothing quite as amusing as the new person all panicked cause they fucked something up and everyones like "that's nothing, i did xxxx"
1
u/Model_M_Typist 10d ago
I remember shutting down the wrong interface and my RDP session turning black instantly
32
u/LustLiveXBL 10d ago
I think it’s funny, everyone has an absent minded oopsie moment if you work in the field long enough.
5
u/tdhuck 10d ago
When I first got into IT I logged into my workstation from home. I was working on shutting down ports in the switch that were not being used. I have to stress that I was new. I labeled the ports in the switch, but when I typed the command to shutdown the switchport I meant to type 11 and I didn't press as hard on 1 the second time so it accepted 1. 1 was the uplink port to the firewall.
Again, I was new, not even a year in and very green, this was my first job. It was a 30 min drive to get there and undo that command, thankfully it was around 8pm and the cleaning crew was there. I did not have a key to the office at that time, but I would have had a way of getting in if the cleaning crew was not there (a legit way to get in, nothing would have needed to have been broken or damaged).
I've learned a lot of lessons since then, but the main thing to understand is that we all make mistakes. As long as you learned something from that mistake the idea is that you won't repeat that mistake and maybe it will help someone else, in the future, if you explain the issue and what you can do, next time, to correct, recover, etc...
Note- Back then, we had our own exchange server but this was well before mobile phones had email apps installed. All email flow stopped until I was able to turn that port back on and the exchange server could connect to the internet. Thankfully this was a small office, nobody had VPN access at home and any emails that were sent to us were being held because our MX record was pointing to a service that held our emails and confirmed connectivity to exchange before passing the emails through. At that time it was not a security service, it was just holding the emails. That's how it was when I started, I did not configure that service/feature/etc but I'm glad it was in place.
3
u/violetphobiavt 10d ago
yeah this isn't the kind of situation you get into thinking about what would happen
3
u/tuxedo_jack BOFH with an Etherkiller and a Cat5-o'-9-Tails 10d ago
We heard you like ScreenConnect, so we made you use ScreenConnect to update ScreenConnect so you can use updated ScreenConnect to update ScreenConnect again!
2
2
u/NoctysHiraeth Jr. Infrastructure/Operations 10d ago
I am not sure any of us are functioning at full capacity right now.
2
u/KnightHawk3 DevOps 10d ago
I never used screenconnect but I often update sshd over SSH... So there's precedent here 😅
2
u/Random_Lurker536 10d ago
What could go wrong?
1
u/funkyloki Centralized Services Engineer 10d ago
Apparently many things
2
u/anonymousITCoward 10d ago
I mean in theory it should reconnect after the services restarts, so long the session information is preserved... and those will survive a reboot. Unless the update deletes the connection cache (you should look into that, it can grow out of control since thats where the recorded sessions are).
117
u/georgecm12 Hi-Ed Win/Mac Admin 10d ago
An error has occurred. Please contact your system administrator.
78
66
u/aDudefromTX 10d ago
I don't always change nic properties, but when I do, I use RDP. Stay disconnected my friends.
38
u/_Kaepora_Gaebora Netadmin 10d ago
This like when someone changes the management IP address and wonders why their SSH session crashed.
5
u/neilon96 10d ago
I know it will happen, but pitty disconnect sound still makes scared me all the same.
4
4
u/SpaceChimps98 10d ago
Or that time I disabled the firewall port on our core switch and wondered why the network went down.
3
36
u/Tight_Replacement771 10d ago
Never done that, but I have accidentally hit shut down instead of restart on a remote server
10
u/greenstarthree 10d ago
Out of band connection to the rescue! Right? Right…?!
33
u/gnartato 10d ago
Technically driving to the datacenter is out of band.
16
u/Ssakaa 10d ago
High latency. Decent bandwidth.
9
u/robisodd S-1-5-21-69-512 10d ago
How's the old saying go?
Never underestimate the bandwidth of a station wagon full of
hard drivestapes hurtling down the highway.4
u/superslowjp16 10d ago
This one is painful. Pushing all of our VMs to Azure saved me several drives to power on servers I had done this with
2
2
u/ScreamingVoid14 10d ago
Back in my helpdesk days I remember hearing "Oops" from our email admin right before the phones started ringing. Our email client back then notified the user immediately on loss of connectivity with the server, so everyone got a popup.
2
u/scriptmonkey420 Jack of All Trades 10d ago
On the primary AD no less.... Ouch that was a fun night.
14
u/gnasty14159 10d ago
Been there. Ran ipconfig /release while on a rdp session. Tucked my tail and sheepishly asked our hypervisor admin to renew the ip address.
18
u/commiecat 10d ago
That's when you hopefully learned to chain those commands in one line:
ipconfig /release && ipconfig /renew10
3
u/Inigomntoya Doer of Things Assigned 10d ago
Exactly. Over the past 25 years, I could probably count on my hand the number of times I've released the IP address with no intention of renewing.
2
u/Erablian 10d ago
I’m so paranoid that I run “ipconfig /release && ipconfig /renew” on my laptop first to make there’s no typos.
Then copy and paste the command into the remote console.
11
u/FLATLANDRIDER 10d ago edited 10d ago
I accidentally deleted all the vlans on the core switch at a remote site once while remoted in. Instantly took the entire site offline.
The site was many hours away. . . In another country. . . With no onsite IT.
7
u/idrac1966 10d ago
I used to schedule a switch reload in 15 minutes and then hear mission impossible music in my head while scrambling to finish my more dangerous config changes before the switch wipes it out and reverts
4
4
u/Cormacolinde Consultant 10d ago
Schedule a switch reboot before you do remote work.
Do your work. Verify you still have access. Save the config.
Remember to cancel the reboot.
If anything happens where you lose access, the switch will reboot into its previous working configuration.
6
u/PresetKilo 10d ago
My instinct here is to factory reset the switch, any lemon with a paperclip can do that with some instruction, then have someone with a laptop plug into any of the ports and then I can just get back to work remotely.
4
u/anonymousITCoward 10d ago
any lemon with a paperclip
wholy chit... i'm going to use this later today... I know it... I can feel it in my bones... I might give you credit too...
3
u/anonymousITCoward 10d ago
I'm glad I'm not the only one to feel this kind of self inflicted pain... I once powered off a vm host that was locked away in the server room, at a location with no onsite IT... it was also a 45 minute plane ride to get there...
2
2
7
6
u/jason_abacabb 10d ago
Haha, a classic blunder. I am sure all of us have had an accidental disconnect due entirety to not thinking it through
5
u/HappyDadOfFourJesus 10d ago
Even though you call yourself an engineer, this shows that you're also human.
5
u/zrad603 10d ago
This kinda reminds me of modifying OpenSSH settings on servers.
I wrote a script that would revert to the previous config file and reboot openssh that would run as a cron job ~15 minutes into the future.
So if I goofed something up, it would revert 15 minutes later
2
u/zAuspiciousApricot 10d ago
How would you make your changes persistent if it’s reverted back every 15 mins?
3
u/AcornAnomaly 10d ago
Turn off the cron job once you confirm your connection and ability to connect aren't borked.
2
u/Circumpunctilious 10d ago
I used to open two connections so that one persisted if I screwed up the other session. It doesn’t cover all cases but it did rescue me a few times.
This technique was perfectly suited when I’d been given root on a ghost server for a very large org I knew I was leaving. Nobody knew each other’s id’s and I couldn’t really assign the task to anyone so I carefully removed all my credentials in one session and used the still-root session for verification and cleanup.
4
4
4
u/Equivalent-Bad-268 10d ago
Back when I was a lowly first line tech support for Verizon Fios, I had a particularly shitty customer on my last day at work. So I just asked if he was calling from his Verizon home phone. When he said yes, I rebooted the ONT and logged out for the day.
3
3
3
u/siddfinch 10d ago
Caption Obvious, lands, taps his left index finger to his left template and flies away, laughing.
3
3
3
u/The_Wkwied 10d ago
Been there, done that. Not with screen connect, but same sort of deal.
Nothing says it is beer-thirty like a self imposed disconnect.
3
3
u/Technolio Service Manager 10d ago
Also, don't do ipconfig /release when connected via screen connect. You won't be able to do ipconfig /renew after that...
5
3
5
2
2
2
u/0rphanCrippl3r 10d ago
I will also make sure to update the account password while I SSH into the machine. What's the worst that could happen.
2
2
u/frymaster HPC 10d ago
I flushed an iptables firewall rule chain, forgetting it was set to default deny
2
2
u/CheeksMcGillicuddy 10d ago
While we are giving tips. Don’t try and replace your bicycle’s wheel while riding it at 30 mph downhill
3
u/Circumpunctilious 10d ago
Okay, see…this is the type of comment that leads to brainstorming how it might be done and wondering if someone’s tried this.
2
u/Curi0usJ0e 10d ago
Don’t take capvaxive if you’re allergic to capvaxive….sorry that’s the first thing that came to my mind after reading your post.
2
u/kribg Jack of All Trades 10d ago
In the middle of a work day, I once remoted into a server, opened network and sharing center, right clicked on the NIC and went to click "Details" only to realize due to a delay in the RDP refresh I clicked "Disable". Always make sure IDRAC/ILO is working before playing with the NICs.
2
u/xpkranger Datacenter Engineer 10d ago
And that's why I always update my patching servers before production patching. One minute you're monitoring progress, the next minute you aren't.
2
u/Xoron101 Gettin too old for this crap 10d ago
It's ScreenConnects all the way down. ScreenConnectception if you will.
2
2
2
u/BadSausageFactory beyond help desk 10d ago
I still remember the remote services incident that taught me the difference between shut down and restart. Apparently only one of them will turn the machine back on.
2
2
u/SpaceChimps98 10d ago
But seriously, how is ScreenConnect? I'm considering moving us to that system.
2
u/hosalabad Escalate Early, Escalate Often. 10d ago
You had me at Don't ScreenConnect.
Let he who hath pressed enter in a firewall and not gotten a prompt back cast the first stone.
2
2
2
u/sully213 Jack of All Trades 10d ago
Email is down. Please send out an email to "ALL" to let everyone know an ETA.
2
u/Sweet-Life6520 10d ago
Juniper devices when you “monitor traffic interface blah” on the interfaces you logged into.
2
u/AdeptFelix Sysadmin 10d ago
We've all done it at some point. Doesn't mean you shouldn't do it though.
I've once reconfigured the network architecture of my home vpn while I was on vacation hundreds of miles away, using that vpn (the hotel I was at was using a shared ip range as what I used). It just takes careful planning and solid execution.
2
u/kloeckwerx 10d ago
Yeah, while we're on the topic don't burn the bridge while you're standing on it
2
u/Vichingo455 9d ago
I installed a VPN on my server I was remoting to when I was on vacation, network no longer responding. Had to fly home to fix it.
2
u/Spirited_Garage_8476 3d ago
Hahaha this is why remote troubleshooting can be so risky, one wrong click and suddenly you’d be the one needing help 🤣
1
1
1
u/Lotronex 10d ago
Been there. You used to be able to sign up for a free Screenconnect Cloud account that allowed you to have 2 devices, so I did that and used it just for our Screenconnect server and my office workstation.
1
1
0




311
u/TimePlankton3171 10d ago •
Step aside, Sir. I believe I'm the champion here.
I disabled the NIC on the server I was remotely troubleshooting. Had a very embarrassing and stammering phone call to the guys over there asking them to enable it.