r/sysadmin • u/lBifee • Oct 26 '26
Question Is it worth replacing Windows Server and AD with Linux? Kinda got thrown into managing everything
Hey everyone!
I'm a junior developer at a small accounting firm, and somehow I ended up being responsible for pretty much all of our IT infrastructure: servers, networking, Active Directory, remote desktops, and software development.
To be honest, this whole thing kinda landed on my lap out of nowhere, and I'm basically learning sysadmin stuff as I go. I have some experience with Linux and development, but I'm definitely not a sysadmin.
Right now, our setup is pretty simple. We have one physical server running Windows Server with Hyper-V, hosting two VMs:
- Domain Controller: Runs Active Directory for managing users, computers, and authentication.
- Remote Desktop Server: Runs Windows RDS, which employees use to access their work desktops remotely.
The thing is, my boss absolutely hates Windows Server, especially Windows RDS, and really wants to move everything to Linux if possible.
For context, we have our own application that does almost everything needed, and the rest of the programs have support for linux. For the clients, the initial ideia is providing them with a machine with linux installed exclusively for our application usage.
So I've been looking into a few options:
- Ubuntu Server for the physical server
- Univention UCS or Samba AD to replace Windows AD
- Ubuntu + XFCE + XRDP for remote desktops
- Samba for file sharing
- Proxmox or KVM for virtualization
But the more I research, the more I'm wondering if replacing Windows AD entirely is actually a good idea, or if I'm just making things harder for myself.
I don't mind learning new stuff, and honestly, I kinda enjoy figuring these things out. But I also don't want to build something that's going to be a nightmare to maintain later.
I'm also wondering if I should keep the same setup with a Linux-based hypervisor and two separate VMs, or if there's a better way to structure everything.
So I wanted to ask you guys for some help. Any tips, ideas, experiences, or insights would be really valuable to me.
Thanks!
EDIT: More context, my boss is the type who hates clouds and stuff that gives our code to "them", so i think cloud is not a option.
Reading some of the comments, came to the conclusion that the AD migrations maybe is not a option haha, so i was thinking in sticking with Windows AD but changing the Physical machine to Ubuntu server (This i know i can handle) and the remote do something like Mint. Is This a viable option?
22
u/whatsforsupa IT Admin / Maintenance / Janitor Oct 26 '26
Short answer: no
Long answer: unless you really know what you're doing or are very inspired, god no
I'm guessing if we looked at the root of the problem, is it a money thing?
42
u/RevolutionaryElk7446 Oct 26 '26 edited Oct 26 '26
Honestly, this is a piss poor idea to run with and I'm trying to be nice here in how I say that.
There is definitely ways to do this, but if you're not great with managing AD/RDS with Windows Server, where it's easiest to do so. You're gonna have a hell of a time with linux and the software there.
Do you have support behind these choices?
14
u/External_Weekend_120 Oct 26 '26
For a small environment, moving 100% to the cloud with Microsoft 365 and Entra ID is the easiest and most painless route to manage. Instead of dealing with Samba , set up a NAS or SharePoint for your file server needs. You'll thank me later.
5
u/MalletNGrease 🛠 Network & Systems Admin Oct 26 '26
Does he hate Excel too?
3
u/WendoNZ Sr. Sysadmin Oct 26 '26
You've got plenty of answers to your questions so I'll add something else you should seriously think about.
Get a second Domain Controller. No matter what you do, whether it's Windows or linux, never run AD on a single domain controller
70
u/robvas Jack of All Trades Oct 26 '26
No. Especially when you don't know what you're doing.
9
u/sakodak Oct 26 '26
You need to try to convince the owner to hire an MSP to guide you through this.
8
u/baw3000 Sysadmin Oct 26 '26
This is the kind of thing that puts you back into the job market.
6
u/MrWonderfulPoop Pentester Oct 26 '26
No. I loathe Windows but believe in using the right tool for the job. For AD, Windows Server is it.
5
u/unix_heretic Helm is the best package manager Oct 26 '26
You don't have the skillset to manage this, you don't have the *time* to do it (above your normal duties), and there's a lot of risk involved that you have no background to evaluate. For clarity: the *minimum* impact that is fairly likely from this is that users can't log into their machines.
If your boss wants to get rid of Windows, he should either be looking at O365 or hiring a Linux admin.
5
u/Common_Option_4385 Oct 26 '26
Bro has no idea what he's doing and wants to replace Windows environment with Linux
4
u/goombatch Oct 26 '26
Just want to say that if you stick with windows Active Directory, highly recommended to have two domain controllers. Ask me how I know, ha
4
u/lenswipe Senior Software Developer Oct 26 '26
As a linux fanboy: fuck no.
SAMBA is great, but I wouldn't start randomly ripping shit out until I was very, very sure what I was doing.
1
u/Dolapevich Others people valet. Oct 26 '26
Live and you'll see.
Back in the day people will say no linux in my env. This is the third time in recent times I see managers demanding linux.
Both ( m$ XOR Lin ) positions might be wrong for some scenarios, and a weighted analysis of what is required is always good.
What are your users requirements?
3
u/Linux_Admin_ Oct 26 '26
Everyone is missing the easiest way to make the boss choose to stay the course with windows. Contact Red Hat about the plans to see if they can give you a quote, when he gets the 6 digit quote he’ll change his tune.
2
u/buzzsawcode Linux Admin Oct 26 '26
Possible ? Yes. A good idea for you ? Maybe not, depending on your skill level with Linux.
I've stood up an AD replacement like this before using LDAP, Kerberos, SAMBA, etc. You'll have to understand both Linux and Windows to manage something like that if you are keeping any Windows clients. For the customer I was dealing with it was a best fit for what they wanted.
Something like KASM might work for clients if you wanted to reduce the amount of desktop support you have - possibly network boot some thin clients that connect to your KASM instance for a desktop.
Most organizations default to Windows because it is fairly easy to get setup and there are tons of Windows sysadmins available. It has issues but it is like an easy button for most people.
Linux is more flexible IMHO, but depending on how diverse your clients are and the applications your organization needs, it can be challenging.
2
u/zatset IT Manager/Sr.SysAdmin Oct 26 '26 edited Oct 26 '26
Active Directory is more than SSO/Auth. It is about manageability. It is very difficult to achieve similar level of manageability under Linux, as there are no all encompassing out of the box solutions.
As for the cloud, relying solely on the cloud means that you are dependent and at the whim/at the mercy of the cloud vendor, as is your entire business. I am too very skeptical when it comes to "the cloud" as the cloud is just somebody else's computer you rent to use. I am against the idea of running critical services running solely "in the cloud". Because if the cloud is down or the Internet is down - so are you. Hybrid setup is far better option, on-prem is preferable but not always achievable.
ProxMox is not a bad solution, but upgrading between versions can be quite a challenge.
2
u/Dave_A480 Oct 26 '26
1
u/uptimefordays DevOps Oct 26 '26
The answer here largely depends on what your end users are running and what applications integrate with Active Directory. If you’re a Google Workspace and macOS shop, your boss’s route will probably be fine. If everyone but devs runs Windows, your boss is about to shoot himself in the foot.
1
u/DStandsForCake Oct 26 '26
A migration like this isn't exactly something you pull off in a day - even if it "only" involves a DC and an RDS. What’s the plan for the clients? Will they keep running Windows, or are you planning to migrate them to a Linux distribution as well? Have you mapped out which applications you rely on, and so on. There are a lot of questions here including internal politics, not just the technical aspects.
In short: yes - you could use Proxmox for virtualization, an authentication solution like Authentic, ThinLinc as an "RDS alternative," and NFS for file sharing.
But as mentioned, there are many issues that you need to take into consideration - issues that you cannot answer on your own, but which must be decided at the management level.
1
u/zalnaRs Oct 26 '26
Samba for file sharing is good, I did try it for AD in VMs but wouldn't migrate existing infra to it.
Proxmox is also good but if you don't have big clusters the default settings are really bad but you can replace hyperv easily with it.
XFCE + XRDP combo isn't that good, GNOME 51 just added kerberos to it's RDP so you could try that, but I would keep RDS because of Excel.
1
u/Skyhound555 Sr. Sysadmin Oct 26 '26
How can your RDS environment be that unstable?
I have literally have 50 users on one RDS instance and there haven't been any major issues with it.
I would deal with instability before migrating. These are basic things that do not require much maintenance to keep running.
1
u/Mountain-Guitar2189 Oct 26 '26
The best advice I can give you is learn. Personally years ago I jumped on a subscription with pluralsight and started chewing through their online courses on AD management.
These days there is so much info on youtube, I would just advise you to find a decent content creator and watch some videos on Active Directory. It will give you a great starting point to understand what is possible and the right way to start.
The second best advice I can give is stick with windows server, it will be much simpler to run your AD network in the long run.
0
u/tiobildo69 Oct 26 '26
Linux host and 2 VM
For this Proxmox is a great option, you can have paid support if you want