Adding a second person to a Windows VPS involves three separate layers that are easy to conflate: the local account, the right to log on through Remote Desktop, and the profile that gets created on first login. Getting the first two right and ignoring the third produces the classic symptom — a new user logs in successfully and finds an empty desktop, a “temporary profile” notice, or applications that cannot see their settings. This walkthrough covers all three, with the commands and paths for each.
Decide the account type before you create it
On a standalone Windows Server VPS (not domain-joined), accounts are local accounts stored in the SAM database. There are three useful tiers:
| Group | Can do | Typical use |
|---|---|---|
Administrators | Everything, including RDP by default | You, and one break-glass second admin |
Remote Desktop Users | RDP logon, no local admin rights | Colleagues who need a desktop |
Users only | No RDP by default | Service accounts, file shares |
A standalone server is limited to two simultaneous administrative RDP sessions by default. If a second person needs to be logged in while you are, they should not be in Administrators — two admins plus you hits the limit and Windows will disconnect one of you mid-task. Add them to Remote Desktop Users and grant specific rights with file ACLs or icacls where needed.
Create the account and set the password policy
Use PowerShell so the account is created with the correct flag set at the same time. Setting -PasswordNeverExpires is a judgement call: for a personal account with a strong unique password it avoids a mid-maintenance lockout, but for a shared operations account it means the password never rotates. If the account is used by more than one person, either rotate it on a schedule or use a per-person account and share access to a folder instead.
# Create a standard user with a password set now
$pw = Read-Host -AsSecureString "Password for new user"
New-LocalUser -Name "opsuser" -Password $pw -FullName "Operations User" -Description "RDP access" -PasswordNeverExpires
# Grant RDP logon rights by group membership
Add-LocalGroupMember -Group "Remote Desktop Users" -Member "opsuser"
# Verify
Get-LocalUser -Name "opsuser" | Select-Object Name, Enabled, PasswordExpires
Get-LocalGroupMember -Group "Remote Desktop Users"
If the password is rejected, it is the local security policy, not the command. Check the minimum length, complexity, and history with net accounts; on a fresh install the defaults are 0 length and no complexity, but some images ship hardened. Change them with net accounts /minpwlen:14 /maxpwage:unlimited only if you understand the trade-off — a long maximum password age is what actually causes expiry lockouts during a weekend.
Confirm they can actually reach the login screen
Group membership is only one of several things that block RDP. Before telling a colleague to connect, check all four:
- Firewall: the inbound “Remote Desktop” rule set must be enabled.
Get-NetFirewallRule -DisplayGroup "Remote Desktop" | Select Name, Enabled, Direction, Action. - NLA: with Network Level Authentication required, an old client fails before the login screen. Check
Get-ItemProperty 'HKLM:\System\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp' -Name UserAuthentication— 1 means NLA is required. - Logon rights:
Remote Desktop Usersis the standard route, but a Domain or local policy with “Deny log on through Remote Desktop Services” overrides group membership. Inspect withsecedit /export /cfg C:\temp\secpol.txtand look forSeDenyRemoteInteractiveLogonRight. - Account state: a disabled or locked-out account fails with a generic credential error.
Get-LocalUsershowsEnabled;net user opsusershows the lockout state.
First login and the profile that gets created
The first successful RDP logon creates C:\Users\<username> from the default profile, which is a copy of C:\Users\Default. That copy takes 20 seconds to a few minutes depending on disk speed, and it is where most “second user” problems originate. A few facts worth knowing:
- The profile folder name is derived from the username, truncated and de-duplicated if needed. Do not assume
opsusermaps toC:\Users\opsuserif a similar name already exists. - Applications installed into
AppDatafor one user are not available to the second user. Machine-wide installs (Program Files) are. - Drive mappings made in one session do not exist in another unless they are persisted in a logon script or GPO.
- Anything in the first user’s Desktop, Documents, or browser profile is invisible to the second user by design.
The temporary profile problem
If the new user logs in and sees a notification about a temporary profile, Windows could not load or create their real profile and is using a throwaway one. Nothing saved there survives the logoff. The cause is almost always one of three registry conditions under HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList:
- A key with a
.baksuffix and a counterpart without it — the classic interrupted-profile-load state. - A
Statevalue of0x4(temporary profile marker) or aRefCountthat never returned to zero. - A
ProfileImagePathpointing at a folder that does not exist or belongs to a different SID.
# List profile keys with their SIDs, paths and state
Get-ChildItem 'HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList' |
ForEach-Object {
$p = Get-ItemProperty $_.PSPath
[pscustomobject]@{ Key=$_.PSChildName; Path=$p.ProfileImagePath; State=$p.State; RefCount=$p.RefCount }
} | Format-Table -AutoSize
# Map an account to its SID so you can find the right key
(Get-LocalUser -Name "opsuser").SID.Value
To repair: log the affected user off (their session must not be active), confirm no process is holding a handle on the profile folder, rename the stale profile folder, and delete the offending registry key for that SID. The next logon then recreates the profile cleanly. Renaming rather than deleting the folder preserves any files the user managed to save before the problem appeared.
If the profile fails to be created at all, check free space on C: first. A profile copy needs roughly 100–300 MB plus the size of any roaming template, and a disk at 98% will produce a temporary profile with no other error.
Separating users’ data without separating desktops
When two people share one VPS, the practical need is usually a shared working folder rather than two full desktops. Create it once, grant access with icacls, and skip the per-user profile migration entirely:
# Create a shared folder and grant Modify to a group
New-Item -ItemType Directory -Path "D:\Shared\Projects" -Force
# Grant at folder level, inheritable to files and subfolders
icacls "D:\Shared\Projects" /grant "opsuser:(OI)(CI)M" /T
# Verify effective permissions
icacls "D:\Shared\Projects"
# Share over SMB only if needed internally; RDP users do not need a share
New-SmbShare -Name Projects -Path "D:\Shared\Projects" -FullAccess "opsuser"
Keep D: as a separate volume from the OS where the provider supports it. Profile corruption and OS rebuilds then leave the working data intact, and a snapshot restore of C: no longer rolls back a colleague’s documents.
Deciding between local accounts and a directory
Local accounts stop being manageable at around four or five people. Before then they are simpler and cheaper; after, the per-server duplication of credentials and the lack of a single place to revoke access become the problem. The escalation path when the VPS is not domain-joined:
| Users | Approach | Revocation |
|---|---|---|
| 1–2 | Local accounts, separate folders | Disable the account, keep the profile |
| 3–6 | Local accounts plus a shared security group for folder ACLs | Remove from group, disable account |
| 7+ | AD domain or Entra ID-joined server | Central disable, GPO-driven policy |
One caveat for plans in the budget range: joining a domain adds 30–60 seconds to every logon and requires a VPN or a reachable domain controller. On a single Windows VPS where the only users are two colleagues, local accounts with a documented password rotation are the lower-risk choice.
Offboarding: what to clean up when someone leaves
Removing the account from Remote Desktop Users does not end their session, does not delete their profile, and does not revoke file permissions granted directly to the account. The complete sequence:
# 1. See active sessions and log them off
query session
logoff 3
# 2. Disable the account (keeps the profile and SID intact)
Disable-LocalUser -Name "opsuser"
# 3. Remove from RDP group
Remove-LocalGroupMember -Group "Remote Desktop Users" -Member "opsuser"
# 4. Check for direct ACL grants left behind
Get-ChildItem D:\Shared -Recurse -ErrorAction SilentlyContinue |
Get-Acl | Where-Object { $_.Access.IdentityReference -match "opsuser" } |
Select-Object Path
# 5. Retrieve files before deleting anything
# Profile: C:\Users\opsuser -- copy out, then remove the registry key and folder
Disable rather than delete on the first pass. A disabled account keeps the SID, so file ownership and ACL entries remain readable if something needs to be recovered; deleting the account turns those entries into orphaned SIDs that are painful to attribute later. Delete after the data has been confirmed irrelevant.
Verification checklist
After adding a user, run through these five checks from the administrator’s own session before handing over credentials. Each takes under a minute and catches the failures that would otherwise surface as a confusing support message.
- Account enabled and password set:
Get-LocalUser -Name "opsuser"showsEnabled: True. - RDP group membership present:
Get-LocalGroupMember "Remote Desktop Users". - Firewall rule enabled for the Remote Desktop group.
- Free space on
C:above 2 GB before their first logon. - Shared folder ACLs resolve correctly: connect from the new account and open the folder.
The final check is the honest one: log in as the new user, from a machine that is not yours, and try to do the actual task. Profile problems, missing mapped drives, and permission gaps rarely appear in a session started on the server console — only over RDP, from outside, with the client’s own credentials cached.


