Skip to content
Windows & RDP6 min read

VDI Setup on Windows Server 2022: Step by Step for a Small Office

A step-by-step VDI setup on Windows Server 2022 for a small office: users, Remote Desktop access, shared folders, licences, security and connecting.

VDI Setup on Windows Server 2022: Step by Step for a Small Office

A small-office VDI setup on Windows Server takes one afternoon: update the server, create one user per person, allow those users into Remote Desktop, install programs once, create a shared data folder, then lock it down and test. Up to two people can work at once out of the box; more need the RDS role and licences.

This guide walks through each step on Windows Server 2022 with the exact commands. The same steps work on Windows Server 2025. We assume you have a Windows server with administrator access, such as a rented Windows RDP server.

What do you need before you start?

Before a VDI setup on Windows Server, you need the server’s IP address, the administrator password, a list of staff who will log in, the installers and licence keys for your software, and a decision on how many people will work at the same time.

That last point decides licensing. If no more than two people are ever logged in together, the steps below are all you need. If more people work at once, follow steps 7 and 8 too. Unsure which model fits? Read VDI vs Remote Desktop and size the server with VDI server requirements.

Step 1: Update Windows and protect the admin account

Start by installing all Windows updates and restarting, then create a named admin account so the built-in Administrator can be disabled later. Bots try the name “Administrator” first.

Shell
New-LocalUser -Name "officeadmin" -Password (Read-Host -AsSecureString "Admin password")
Add-LocalGroupMember -Group "Administrators" -Member "officeadmin"

Log out, log in as officeadmin to confirm it works, and only then disable the built-in account with Disable-LocalUser -Name "Administrator".

VDI setup steps on Windows Server 2022 with the tool used and time needed for each step
A small-office setup in one afternoon

Steps 2 and 3: How do you add staff to the server?

You add staff by creating one standard Windows account per person and then adding those accounts to the Remote Desktop Users group. Both steps take a few minutes in PowerShell.

Step 2: Create one user per person

Create a standard Windows account for each person. Never share one login between staff, because you lose the record of who did what and cannot remove one person without changing everyone’s password.

Shell
$names = "accounts1","accounts2","sales1"
foreach ($n in $names) {
  New-LocalUser -Name $n -Password (Read-Host -AsSecureString "Password for $n")
}

PowerShell asks for each password in turn without showing it. Run Get-LocalUser afterwards; the output lists every account and whether it is enabled.

Step 3: Allow those users into Remote Desktop

Only members of the Remote Desktop Users group (and administrators) can log in remotely. Add each staff account:

Shell
foreach ($n in "accounts1","accounts2","sales1") { Add-LocalGroupMember -Group "Remote Desktop Users" -Member $n }
Get-LocalGroupMember -Group "Remote Desktop Users"

The second command prints the members, so you can confirm all three were added.

Steps 4 and 5: How do you set up software and shared data?

You install every program once as the administrator for all users, then create one shared folder for company data with permissions per role. This keeps software consistent and data easy to back up.

Step 4: Install programs once for everyone

Log in as the admin account and install Tally, Office, a PDF reader, browsers and any other software, choosing “install for all users” when asked. Programs installed this way appear for every staff account.

Then log in once as each user to create their profile and check the shortcuts appear. Set the default printer behaviour now too: Remote Desktop can pass each user’s local printer into their session.

Xenax Cloud Speed RDP plans with Windows Server for a VDI setup
The Speed RDP page on xenaxcloud.com. Screenshot taken 20 Nov 2026; prices are hidden, see the plan box for today’s price.

Step 5: Create a shared data folder

Put company data in one folder, for example D:\CompanyData, with permissions that match roles. Keeping data in one place makes backups simple and keeps it out of individual profiles.

Shell
New-Item -Path "D:\CompanyData" -ItemType Directory
icacls "D:\CompanyData" /grant "accounts1:(OI)(CI)M" "accounts2:(OI)(CI)M" "sales1:(OI)(CI)RX"

Here the two accounts users get modify rights and the sales user gets read-only access. Run icacls "D:\CompanyData" to see the result. If the server has only a C drive, use C:\CompanyData instead.

Step 6: Lock it down and set up backups

Before staff start, apply the security basics: account lockout, a firewall rule that limits who can reach Remote Desktop, idle-session limits and a backup routine.

  1. Account lockout: net accounts /lockoutthreshold:5 /lockoutduration:15 /lockoutwindow:15.
  2. Firewall: allow port 3389 only from your office IP or VPN range.
  3. Session limits: in gpedit.msc, Remote Desktop Session Host, Session Time Limits.
  4. Backups: keep the server backup and add a daily copy of CompanyData.

The full list with explanations is in VDI security best practices.

Steps 7 and 8: More than two users at once

For more than two simultaneous users, install the Remote Desktop Session Host and Licensing roles, then add RDS client access licences. Without them, Windows Server allows only two remote sessions at the same time.

Shell
Install-WindowsFeature RDS-RD-Server, RDS-Licensing -IncludeManagementTools
Restart-Computer

After the restart, open Remote Desktop Licensing Manager, activate the licence server and install your RDS CALs, then point the Session Host at the licence server through Group Policy. Microsoft’s RDS licensing guide covers activation. Windows gives a grace period after the Session Host role is installed, but plan to install licences before it ends. Ask our support team before ordering if you are unsure what your user count needs.

How do staff connect to their desktop?

Staff connect with the built-in Remote Desktop Connection app on Windows (mstsc), or Microsoft’s Windows App on Mac, iPhone and Android. They enter the server IP, their own username and password, and their desktop opens.

Test the VDI setup on Windows Server with two users for a full working week before moving everyone. Check printing, Tally or billing reports, file access in CompanyData, and speed at the busiest hour. Guides for RDP on Mac help staff on Apple devices.

Common problems after setup and how to fix them

Most problems in the first week come from four places: the two-session limit, printers, profile disk space and slow logins. Each has a simple fix.

ProblemLikely causeFix
“Another user is signed in” messageTwo sessions already in use without RDS licencesLog off unused sessions or add the Session Host role and CALs
Bills print on the wrong printerDefault printer not redirectedTick Printers under Local Resources in the Remote Desktop app
C drive fills upDownloads and temp files in profilesMove data to CompanyData, clear old downloads, extend the disk
Logins take a minute or moreLow RAM or many startup programsRemove startup items, check RAM at login hour

To see and close sessions people forgot to log off, run query session to list them and logoff <ID> to end one. Warn the user first, because unsaved work in that session is lost.

When a user cannot connect at all, check three things in order: the account is enabled (Get-LocalUser), it is in the Remote Desktop Users group, and the firewall rule allows their current IP address. Our RDP not connecting fix covers the rarer cases.

VDI setup on Windows Server: FAQs

How long does a VDI setup on Windows Server take?

For a small office of up to ten users, about half a day for steps 1 to 6, plus an hour for RDS roles and licences if more than two people work at once.

Do I need Active Directory for a small VDI setup?

No. Local accounts on one server are enough for a small team. Active Directory helps when you manage many servers or more than about 20 users.

Can two people use one Windows Server at the same time without RDS licences?

Yes. Windows Server allows two simultaneous remote sessions for administration. A third simultaneous user needs the Session Host role and RDS licences.

Can I use Windows Server 2025 instead of 2022?

Yes. The commands and steps in this guide work the same on Windows Server 2025.

How do I remove a user who leaves?

Disable the account with Disable-LocalUser -Name "username", copy any data you need from their profile, then delete the account once nothing else depends on it.

For a small office, a Xenax Cloud Speed RDP server with full administrator access is enough to complete this VDI setup on Windows Server in an afternoon; start with two users, then add licences when the team grows past two at a time.

Xenax Cloud
Written by

Xenax Cloud

Part of the Xenax Cloud team — writing practical guides on hosting, servers and everything that keeps a website fast.