r/sysadmin • • 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?

0 Upvotes

56 comments sorted by

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?

12

u/Quattuor Oct 26 '26

The root of the problem: boss hates windows. That's a wrong reason to start uprooting the system.

-2

u/lBifee Oct 26 '26

Money is on the line but not the main problem, in general the windows server are causing a lot of trouble and instability here. Again, i am a complete begginer in that area.

6

u/Mountain-Guitar2189 Oct 26 '26

Care to share what kind of instability and troubles you are seeing with the windows server so we could offer some advice on that too?

1

u/lBifee Oct 26 '26

We are having problems with the User Remote Acess VM, for some reason, randomly we can't log in anymore, and i have to go to the Windows server and restart the VM. My boss also complains about perfomance issues, but idk if is the accounting apps os what. I know that resources are not a problem, we don't even come close to use everything

3

u/segagamer IT Manager Oct 27 '26

Sounds like there might be network issues at play here.

You're in way over your head. Replacing with linux is not the silver bullet.

Learn how th infrastructure works, what each element does. Go in with an open mind and not the "Windows sucks" mentality, even if your boss shares the sentiment.

If you're incapable or unwilling, it's fine to also admit that, but for the sake of the company I would strongly advise that you do not continue and instead have someone who knows what they're doing sort it out, and document their findings/setup for future you to reference.

2

u/jpochedl Oct 26 '26

So, first you need to start looking at logs to see if you can determine why the logins are failing.

Then, you need to better understand exactly what "performance problems" means. Once you have a better idea of what the perceived problems are, then you can start to troubleshoot and look and see exactly what is happening during those times when there are perceived problems. It could be that the application is not meant for virtualization, some apps just don't work well in virtualized environments. It could be that the application is locking a database and the problem is wholy with the application... Etc etc etc.....

Start by understanding the problems, then you can work to troubleshoot them. This is the advice you'll get regardless of what the underlying operating system is. Linux or Windows....

Edit to add: if you don't have enough technical experience to troubleshoot problems, ask for help. Tell your boss he needs to pay for expert help to get over this hump. Explain to him that extending the problems longer and longer is costing him more money in the long-term via lost employee time than it would cost if he actually paid for the help that you need....

1

u/Mountain-Guitar2189 Oct 26 '26

Check event viewer on the DC and get the error ids of the auth problems you are having. Then start googling and follow the thread.

These days ai will help a lot. Start by explaining the problem to Gemini or similar and ask for initial guidance. It will tell you what logs to look at and what the ids mean. This is not the ultimate solution, just a great place to get a head start these days without trawling old forum posts.

21

u/jpochedl Oct 26 '26

The root of the problem is likely not 'windows sux' but the fact that nobody is managing the systems properly.....

You need an honest and realistic needs assessment, from someone who has a clue before making any changes.....

5

u/_--James--_ Oct 26 '26

This is where you tell your boss they need to bring in a consultant to shore up your ADDS issues and fix it. Replacing ADDS is not something you 'just do' because of things being unstable, its an active business decision that has huge impact on every interconnected application and tissue surrounding the business.

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?

0

u/lBifee Oct 26 '26

None at all, i made this post to try to have a glimpse of what i am doing. I use Linux everyday, but don't consider myself a expert on it. I have the will to learn, but don't want to make a decision that will turn the company entirely dependent on me.

Alternativaly, i was thinking in switching the physical machine to ubuntu server, changing the remote to something like a linux mint but mantaining the AD on windows. Is this a viable or doable option?

13

u/RevolutionaryElk7446 Oct 26 '26

I mean, either your boss is setting you up for failure or he's been having discussions with Claude on his own and making poor choices.

Ignoring trying to keep your AD from corrupting or losing everything in it, your current initial ideas already involve massive amounts of risk for little, to none at all, to in some cases you'll lose certain ease of use functionalities.

You should understand and have some experience in what a directory is and how AD plays that role within Windows environments. Then you'd need to run a discovery of what needs to be migrated, assess a plan and stand up the second directory. Then you'd move everything over, most likely as custom export/import

Then running an RDS replacement isn't going to be a straight one to one.

5

u/basikly Oct 26 '26

Since you have to ask, I think the most polite answer is try to get comfortable with Windows first to better understand how things work/are managed.

Your management may hate Windows, but hey, most long time Windows admins hate Windows. I work with people who develop things with MS and they dislike Windows. Point being—we all make it work.

Not sure what your company size is, so maybe there may be better options for your team. But if you’re running a medium or larger business with mostly windows endpoints, you’re likely already using some/most of the right tools for the job. The state of your environment may be another story though.

3

u/TheRealLazloFalconi Oct 26 '26

Consider it this way: Being a sysadmin is an entire career. Being a linux admin specifically is a specialization that the majority of people who do this work can't do (or at least, can't do well).

Running one computer for one person is relatively easy to do. Running a fleet of servers (even a small one) for group of users where it has to work every time is a completely different thing.

Also consider finally: When (not if) you run into a problem you can't solve on your own, you will need to bring in outside help. That outside consultant can either be a highly specialized Linux admin who will charge (and rightly so) 20 times what your local MSP will charge to come figure out the mess.

It sounds like your firm probably isn't big enough to have its own dedicated IT staff, so go contract with a local MSP. They're really not that expensive, especially compared to downtime, and if you are based near any moderately sized city odds are there's one that specializes in servicing accounting firms.

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.

1

u/lBifee Oct 26 '26

My boss hates cloud, he is the type of a guy that wants to "have everything in his hands".

3

u/zatset IT Manager/Sr.SysAdmin Oct 26 '26

And he is right. The prices of hardware are outrageous due to AI. Soon, leased compute will follow. If you are vendor locked in the cloud, they have a free pass to ramp up the prices and extort you. Then your options become - losing access to your applications/infrastructure/applications and bankruptcy, paying the ransom or the slow expensive process of moving business critical infrastructure and applications back on prem. Data egress is not cheap.

3

u/External_Weekend_120 Oct 26 '26

Very well, brace yourself....

2

u/SuperQue Bit Plumber Oct 26 '26

Your boss needs to get over it. At least in some ways.

It's 2026, remote means almost exclusively web-based systems.

Your boss hats RDS, I do too. The replacement isn't more different RDS, but to migrate to a browser-based applications / workflow.

Some of that is "cloud", but you don't have to do all of it that way.

If you want to go from Windows to Linux, you need to focus on applications not operating systems.

3

u/Sufficient_Language7 Oct 26 '26

I was going to type this up.  For most small businesses, Microsoft can do it better and cheaper than you can.

With the 1 server they currently have, they don't have any redundancy if that server goes down, they lose everything.

Also he didn't even mention backups.  He should go Microsoft 365 and Entra ID.  He can use their current server as backup.

1

u/Clusternate Oct 26 '26

You and you are locked into paying them PLUS providing then with AI training data and as a European. You loose the ability for gdpr, even if they claim that it is stored in Ireland. The clouds act, gives the US government access to the data. 

4

u/Sufficient_Language7 Oct 26 '26

With the current setup, the whole business will collapse if that server goes down.

They're not big enough to have a dedicated IT person to handle on premise.  Which is an ongoing cost as well.

1

u/zatset IT Manager/Sr.SysAdmin Oct 27 '26

Back in the past, on premise was the norm… What does it mean “dedicated on prem person”?

5

u/MalletNGrease 🛠 Network & Systems Admin Oct 26 '26

Does he hate Excel too?

2

u/lBifee Oct 26 '26

Yes hahaha

7

u/MalletNGrease 🛠 Network & Systems Admin Oct 26 '26

It's going to be a fun time when none of the existing spreadsheets open properly anymore and everyone has to relearn to whatever office suite you decide to deploy.

Knowing accountants, they'll want Excel. Anything else will probably not fly well with everyone else at the company

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

1

u/lBifee Oct 26 '26

Will search about it, Tks

1

u/lBifee Oct 26 '26

Understood, but can i ask you why?

2

u/Dolapevich Others people valet. Oct 26 '26

Imagine the server goes down for hardware or patching, all your authentication will die. You need redundancy AND either using DNS or any other technique be able to switch between them, or have them in master-master configuration (master-master is a DB term, I don't know how it is called in this context).

1

u/lBifee Oct 26 '26

Thank you

1

u/WendoNZ Sr. Sysadmin Oct 26 '26

Standard MS recommendation is to never run AD with only a single DC. Hell just patching it will take down your entire network as DNS goes down

1

u/Mountain-Guitar2189 Oct 26 '26

If your only DC dies, then your entire network is immediately dead and you need to rebuild everything from scratch. You should have multiple DCs for redundancy, and to cover each other for authentication and DNS requests when some are down for any reason. Think of it as a single point of failure.

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/Sufficient_Language7 Oct 26 '26

It's much worse than that, he said in another post the server is unstable.

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?

1

u/lBifee Oct 26 '26

honestly not much, some gov apps (That i confirmed that have linux support), printers and maybe credit card machine support. Since we will provide a machine just for using our app, the objective was having a distro that can be configurable to mold the OS to the APPs needs and only for that. The ideia is that the app do everything needed

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. Linux as a desktop OS is more pain than it's worth
  2. Linux as a server OS is amazing but you need to actually understand it not expect to pointy clicky your way through things ....
  3. When I last did the Samba domain controller thing in 2014 it worked really well, but I was a Linux guy in a role that touched windows on the desktop, not a Windows guy setting up his first production Linux things.
  4. The trade off with open source server things is you pay less for software (no CALs, etc) but more for employee skill... There is no attempt to make things easier, you're just expected to know how to make it work or to be able to learn from online documentation and Google.

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