How to set a whitelist on a DayZ server
enableWhitelist = 1 and whitelist.txt with the 44-character ID from the .ADM log. Steam64 does not work. Put your own ID first.

You want a server for the group only, without relying only on a password that leaks on Discord. DayZ's native whitelist turns the lock on in the cfg and allows who is in whitelist.txt. The ID is not Steam64: it is the 44-character identity the server writes in the .ADM log.
Order that works: turn the lock on → someone tries to join (can be you) → copy the ID from .ADM → paste in the file (your ID first) → restart if needed.
Where the whitelist lives
- serverDZ.cfg: enableWhitelist = 1;
- whitelist.txt in the profiles folder (or at the root, if the server created it there)
- .ADM log in the profiles folder (needs -adminlog on start)
1. Turn on the whitelist
Stop the server. In serverDZ.cfg:
enableWhitelist = 1;Confirm -adminlog on the DayZServer_x64.exe command, or the .ADM will not appear. Start the server.
2. Get the ID
- Join (or ask the person to try). With an empty list, join is refused — that is expected.
- Open the .ADM file in the profiles folder (the one from -profiles=).
- Copy the 44-character ID from that attempt. Do not copy the nick. Do not use Steam64.
3. whitelist.txt
Create or edit whitelist.txt. One ID per line. Put yours first.
JCNShusG41ALBHLwqmAu5wINMUMVGiGONjUqccYdh4I=
The example above is fake: replace it with the real ID from .ADM. Save. If the server was already running, restart to ensure it reads the file.
How to verify
- With your ID on the list: you join.
- Account off the list: refused.
- Steam64 alone in the file: does not allow anyone.
If it failed
- No .ADM → missing -adminlog or wrong profiles folder.
- Pasted Steam64 → use the 44-character ID from the log.
- File in the wrong folder → check where the server created whitelist.txt.
Frequently asked questions
Straight answers before you order
You may also like
How to set a password on a DayZ server
Lock joins with password in serverDZ.cfg. Who does not know the password stays out. passwordAdmin is a different field. Windows step-by-step over RDP.
Samuel Akires
How to become admin on a DayZ server
Timeline: passwordAdmin in the cfg → first start → BEServer_x64.cfg → RCon client. Spawn and teleport need a mod. DayZ is not Arma.
Samuel Akires
How to create a DayZ dedicated server on Windows
From scratch on Windows: RDP, SteamCMD (223350), what appears in C:\DayZServer, serverDZ.cfg, firewall and the start command. Then links for password, admin, map and mods.
Samuel Akires
DayZ admin commands (BattlEye RCon)
With BattlEye RCon already set up: players, kick, ban, say. A list with #login is from Arma. How to verify and what to do if kick fails.
Samuel Akires
