Log Off Users from Server Daily

I'm revisiting an effort I did about a year ago. I'm looking for a better way. I want to find a process that will parse current user sessions on a server (active/disconnected/idle/ect.) and log the accounts off if their username matches a string ("adm_").

I'd love to find an off the shelf solution rather than have to support a homebrew PowerShell solution.

Give me what you have, even if it is an alternate PowerShell/scripting option. Something has to be better than the nightmare my script turned into.

reddit.com
u/tk42967 — 1 day ago
▲ 1 r/AZURE

Azure Migrate OVA from vCenter

I'm trying to get the OVA in vCenter up and running. I get to the point that I verify the key and then do the login/appliance registration status. All appliance services are up to date. I'm using the same account that I generated the key with and I am getting an error that I do not have permissions and it states the App Name is Microsoft Azure PowerShell.

Has anyone seen this, how do I grant myself and what permissions need to be granted in order to get the login to be successful and move on to the next step?

With vCenter being as ubiquitous as it is, this shouldn't be a huge issue. Any advice?

https://preview.redd.it/rywyfit1ykgh1.png?width=1298&format=png&auto=webp&s=332ff60f9f190b11389bf6e52d23ef24e1116490

reddit.com
u/tk42967 — 20 days ago

Window (days) between server patching/restarts

We're working off of a 35 day window between server restarts (and patching). Sometimes we run short like this month and have servers alert that their uptime is greater than 35 days.

What is your server restart window/patching window? How many days between restarts do you allow before you force a restart?

reddit.com
u/tk42967 — 29 days ago

Cluster Aware Updating

I've got 6 clusters (12 servers total) that I am trying to get CAU up and running on. 3 app clusters and 3 SQL clusters. 5 of the clusters are server 2025, and the 6th is server 2022.

This is a test environment I setup test an app migration/upgrade, that my manager asked me to see if I could bake CAU into. The 2022 cluster was rebuilt because we were seeing odd things and wanted to know if it was server 2025. The 2022 cluster works great for and will update no problem.

The 2025 servers will validate and generate the patch list but time out on the actual patching effort. Looking at the cluster logs, I see references to CAU AD objects that are not what the current object looks like when I run Get-CauClusterRole. I'm wondering if that's my issue and if I can just blow away the CAU Role, CAU AD objects, pre-stage a new CAU AD object for each cluster, and re-run the cluster role creation wizard.

I'd rather not have to fully blow away the windows cluster if I can avoid it. Is there a known issue with CAU and Server 2025?

*** EDIT ***
When I tried to log into servers this morning, the login process took about a minute on the servers. I'm now wondering if this is a network connectivity issue. Could that cause the issues with CAU failing?

reddit.com
u/tk42967 — 2 months ago
▲ 618 r/ShittySysadmin+1 crossposts

Refered to somebody as the adult in the room

Earlier this week, I went into another department to talk to the manager about patching a server that's critical to their work. The manager was out, but I saw a senior departmental person and said "Hey <blah>, since you're the adult in the room, we're planning on patching <blah> server overnight Thursday to Friday. I'll send a follow up email confirming this."

End of conversation.

Today I get called into my directors office because another person in that department didn't like the comment. I am so over working in IT. The nobody gives a shit about you till things break and then it's your fault.

I know I probably shouldn't say anything, and yes I was technically at fault. But come on. My org is a 24/7 type of place, so I do sooo much after hours just to avoid interruptions. I'm just kind of over it today. Tomorrow I may love this place again.

reddit.com
u/floswamp — 2 months ago

Scar Length

This may be a mundane question. But I'm wondering about the variation of scar length for knee replacements. I've seen some pictures here where the scar seems twice as long as mine.

I had a PKR Medial Compartment done. I'm wondering if TKR vs PKR is the reason, if it depends on the person, or the surgeon and their style.

Can anyone weigh in? I'm curious to hear from anybody that had a PKR and then went back to get a TKR. Was the TKR incision longer than the PKR. I assume they cut on the scar line from the TKR for the PKR.

*** EDIT ***
I'm at about 4 - 5 inches with my leg extended at within a degree or two of 0. I'm a 5'8/m. Being as we are bringing body shape into it. I also have a 28" inseam. Yeah Yeah Yeah... I've got short legs and a long torso.

reddit.com
u/tk42967 — 2 months ago

Wearing Boots

I'm a 49/m with PKR on the inboard side. The other two compartments are fine. I had to dress up today. Typically I'm in some form of running shoe that provides good arch support or crocs.

Today I had to wear my dress boots that have a heal block. This was a very odd experience and slightly painful. I assume because my foot isn't flat on the ground.

Is this common? Is this the new normal or will it go away?

reddit.com
u/tk42967 — 3 months ago

Hot Tubs

I'm going out of town this weekend, and as is usually the case I try to book a hotel with a hot tub. I realized this morning that this may not be a wise idea. I'm nearly 6 weeks out from PKR and the incision is fully closed with no leaking or anything.

I typically take hot showers and they help loosen up my knee. This will be the first time immersing the would in water and not just showering where the water drains off.

What's everyone's take? I'm also sending a message to my provider, but wanted the hive mind to weigh in of the I don't get a response back.

*** EDIT ***

Surgeons office responded that as long as the incision is fully closed, no big deal. Thanks for the food for thought on it. :-)

reddit.com
u/tk42967 — 3 months ago

Airports &amp; TSA

What's everyone's experience with traveling and going through TSA checkpoints post op. I went through one last Sunday and I expected that I'd have to do the body scanner. I was correct, no metal detector. I then got a TSA pat down of my legs/groin.

Is that typical? Do you tell the TSA agent you have a joint replacement? After I lined up for the body scanner, the agent offered to let me do the metal detector until I told him I had a joint replacement.

reddit.com
u/tk42967 — 3 months ago

pnputil.exe printer driver load issue (Ricoh printer)

I've got about 2 dozen Ricoh printer drivers that I need to push out to workstations. The goal is to allow users to map printers without contacting the service desk or needing local admin rights. I'm just the messenger, so please refrain from commenting on the validity of this effort.

I have 90% of the printers able to be added without an elevated prompt by installing the driver using pnputil.exe.

I'm running into issues on a Ricoh MP C3504ex trying to use the latest PCL 6 driver. The oemsetup.inf file is pretty sparse compared to other Ricoh inf files for other printers in our fleet. Is there some issue with this model of printer? The driver pack is from last month, but keeps kicking back an error.

I've pulled the install file down multiple times and diffed it. It comes out as identical every time. Same with the extracted folders.

Command to install the driver:

pnputil.exe /add-driver ".\PCL6\RICOH MP C3504ex PCL 6\disk1\oemsetup.inf"

Error message:

Microsoft PnP Utility

Adding driver package: oemsetup.inf

Failed to add driver package: The hash for the file is not present in the specified catalog file. The file is likely corrupt or the victim of tampering.

Contents of the oemsetup.inf file:

;------------------------------------------------------------

; Copyright (c) 2007 - 2026 RICOH COMPANY, LTD

; All Rights Reserved

; JBP Base Information File

;------------------------------------------------------------

[Version]

Signature = "$Windows NT$"

Provider = %Ricoh%

ClassGUID = {4D36E979-E325-11CE-BFC1-08002BE10318}

Class = Printer

DriverVer = 03/13/2026,3.2.0.0

CatalogFile = RICOHJBP.cat

%Ricoh%=Ricoh

[Ricoh]

[Strings]

Ricoh="Ricoh"

Am I missing something stupid? I've got the universal PCL 6 driver installed and I am prompted for creds. The goal of this is to use the specific printer driver where possible because we are wanting to move to a pin based security setup for prints.

reddit.com
u/tk42967 — 3 months ago
▲ 39 r/Intune

Deploying Printer Drivers to workstations

Here is our environment:

  • On prem print server (virtual)
  • VPN Express Route
    • This allows us to treat server assets in Azure as a 3rd physical location in our network
  • Workstations are hybrid joined
  • Servers are on prem joined (both on prem and azure servers)

I've been tasked with deploying all of the standard print drivers to all workstations via Intune. I do not have to create/install the printers just have the drivers there 'just in case'. This would be aprox. 20 - 25 different printer drivers.

I've already used the 'get-printdriver' commandlet in PowerShell to identify the drivers and the locations of the DLL's & INF files. would it be easier to grab the files from the print server or get fresh cab files from the printer vendor?

The vision is to get around a user being prompted for elevated credentials to add a printer.

I'm sure I'm not the first person to do this. I'm looking at the following link and it looks pretty straight forward.

https://cloudinfra.net/install-printer-drivers-and-printers-with-intune/

I'm wondering if there is another way. I'd like to make this process as easy to update as printers are decomed and new ones are onboarded.

*** EDIT ***

I have no budget for this, so any 3rd party tools are likely out of the question.

*** EDIT 2 ***

I cooked up this PowerShell that does most of what I need it to do. It's still a cumbersome process to map the printer as an end user without admin creds on the box. It maps the printer great with the last line. Commenting that line out makes it more of a process than I would like to map the printer for an end user.

clear-host

# C400 Drivers for IT

pnputil.exe /add-driver ".\PCL6\C400\disk1\oemsetup.inf"

Add-PrinterPort -Name "Site1-ITS-PRT02" -PrinterHostAddress "10.30.20.116" -ErrorAction SilentlyContinue

Add-PrinterDriver "PCL6 Driver for Universal Print"

Add-Printer -Name "Site1-ITS-PRT02 - Back Hallway" -DriverName "PCL6 Driver for Universal Print" -PortName "CMH-ITS-PRT02"

u/tk42967 — 3 months ago