Situation
John Smith Ltd has bought a new PC for the accounting department and named it
pc-admin-01. Jack Green (jgreen) will use it. When Jack switches the PC on and
signs in with his domain account, three things must happen without anyone touching
anything by hand:
- the PC finds the domain
corp.johnsmith.testand accepts his password; - the network folders appear: his personal folder on
Z:and the department shares (K:for\\atlas\administration,S:for\\atlas\common); - the company’s group policies (for example the screen lock) apply to the PC.
For a Windows PC, joining the domain is the only operation that is not done from the console: the console prepares everything else (account, groups, folders, policies) and then recognises the PC once it has joined. In this scenario you follow the right order, because almost all the problems of a new PC come from a step done before its turn (the network before the domain, the groups before the first sign-in).
Warning On the PC’s profile, this scenario is honest: today the console does not configure roaming profiles. The profile path field of a user exists in Active Directory, but the user’s page does not show it («The home directory and the profile path cannot be changed from here: the console keeps them as they are»). Jack will therefore have a local profile on every PC he signs in to (desktop, local documents, program settings) and his personal network folder on
Z:. Where a profile that follows the user is needed, you must intervene by hand with the Windows tools (see “Limits”).
What you need
- A console administrator account (
lwhite) and a domain administrator account to join the PC (lwhitewill do). - The PC, running the Pro edition of Windows (or higher): Home cannot join a domain.
- The user
jgreenalready created and in the groupadministration(see Users and Groups and computers). - The shares
administrationandcommonalready created, with their lettersK:andS:(see Shares). - The PC connected to the office LAN (192.168.10.0/24): in the example company its DHCP is served by Argos and the domain of Atlas is already forwarded to Atlas (scenario “Connecting the site to Argos”). If the PC is on the server LAN (10.20.0.0/24) instead, only the DNS changes, as step 4 explains.
Steps
1. Prepare the user
- Open Active Directory → Users, search for
jgreenand select it. - In the «Features» block check the switches: «File sharing» on (without it the
network folders do not open) and «Home drive» set to
Z:. If it is missing, chooseZ:and press «Save». - If Jack uses a logon script, also check «Logon script» (
logon.bat): it will run at his first sign-in. It is not needed when the drives are assigned by group policy. - Open Active Directory → Groups, select
administrationand check thatjgreenis among the «Members». Shares are given to groups: if Jack is not in the group,K:will not appear.
2. Check that the folders reach the right PCs
The drive letters on the PCs are applied by the «Edon - Condivisioni» policy, created
by Atlas with the first letter of a share and linked, to begin with, to a test
organizational unit (Edon-Pilot) that is empty: until the PC is in the unit the
policy is linked to, it sees no letter.
- Open Active Directory → Group policies and select «Edon - Condivisioni».
- In the detail read «Links»: if you see
OU=Edon-Pilot,…the policy applies only to the PCs (and users) inside it. To apply it to the whole company, in the «Shares by group» module change «Container» to the root of the domain and press «Apply». Message: «Policy applied.» - In the module also check «Drives»: you must see the rows
K:(administration, groupadministration) andS:(common, groupDomain Users), marked «from Shares». Those rows are not edited here: they are changed in Active Directory → Shares.
Tip If you do not want to open the policy to the whole company before testing it, leave
Edon-Pilotand move onlypc-admin-01into that unit in step 9.
3. Give the PC an address
- Switch the PC on and connect it to the office LAN. It gets an address from the
site’s DHCP (192.168.10.57 in the example). With
ipconfig /allon the PC note the address, the gateway and the DNS server. - If the office LAN is served by the DHCP of Argos, the DNS is the address of Argos
(192.168.10.1), which already knows how to ask Atlas for
corp.johnsmith.test. Check from the PC withnslookup corp.johnsmith.test: it must answer with the address of the domain controller (10.20.0.10). - If the site is served by the DHCP of Atlas (a network behind Argos with Kea), open
Network → IPAM - IP address management, select
192.168.10.0/24and check in «Edit network» the DHCP block: «Domain»corp.johnsmith.testand «DNS server» empty (the PC uses Argos) or the address of the domain controller. The PC also appears in Tools → DHCP Leases: search forpc-admin-01or192.168.10.57.
For the technician A PC that uses the provider’s router, or a public server, as its DNS never finds the domain: the records it needs (
_ldap._tcp.dc._msdcs.corp.johnsmith.testand similar) are known only to the domain’s DNS. This is the most common cause of “the domain was not found”. If Argos forces the DNS on the LAN, you do not choose the PC’s DNS: see the chapter “Joining the site to EDON Atlas” of the Argos manual.
4. Check which DNS the PC starts from
- If the PC is on the server LAN (10.20.0.0/24) and not on the office LAN, write
the DNS
10.20.0.10by hand in the properties of the network adapter: the address of the domain controller (the appliance itself). Do not write other DNS servers: Windows would use them in rotation and the domain would be found sometimes and not others. - In every case check the PC’s clock: Kerberos refuses a PC whose clock is off by more than five minutes. The domain controller offers the time (udp 123, see Ports and services); Windows normally synchronises it by itself once it has joined the domain.
5. Join the PC to the domain
This step is done on the PC, not in the console.
- Give the PC its final name (
pc-admin-01) before joining it, and restart if Windows asks: renaming after joining is possible, but it creates two rows to clean up in Computers. - In the system settings choose to join it to a domain (the “Domain” item, in
“About”) and type
corp.johnsmith.test. - When Windows asks for credentials, type those of a domain administrator:
lwhiteand her password. - Windows answers «Welcome to the corp.johnsmith.test domain». Restart the PC.
6. Recognise the PC in the console
- Open Active Directory → Computers and press «Reload».
PC-ADMIN-01appears, with no labels (the «system» labels belong to the domain controllers). - Select it and in «Description» type
Administration PC (Jack Green). Press «Save». - Open «Details»: «Joined» is today’s date.
- If you chose to test the policies on
Edon-Pilot, now movePC-ADMIN-01into that unit with Active Directory Users and Computers (a Windows tool: RSAT on an administrator’s PC, or the management server). The Computers page of Atlas does not move computers between organizational units.
7. Jack’s first sign-in
- At the sign-in screen Jack chooses «Other user» and types
JOHNSMITH\jgreen(orjgreen@corp.johnsmith.test) with his password. - Windows prepares the local profile (a few minutes the first time) and shows the desktop when it is done.
- If the sign-in happens before the policy has arrived, ask Jack to open a command
prompt and run
gpupdate /force, then to sign out and back in.
Check
- In File Explorer, under “This PC”, the network drives appear:
Z:(his personal folder),K:(\\atlas\administration) andS:(\\atlas\common). Jack creates a file inK:: he succeeds, because he is in the group with write permission. - In Tools → Folders the same user sees the group shares he has access to, with the same permissions he has from Windows (see Tools). It is not verified that his personal folder also appears there: the page lists the group shares.
- On the PC,
gpresult /rlists «Edon - Condivisioni» among the applied policies (and the other policies linked to the PC). The screen lock shows after the idle time chosen in the policy. - In Active Directory → Computers
PC-ADMIN-01has the description. In DNS → Zones, in the zonecorp.johnsmith.test, the PC normally has its own recordpc-admin-01with its address: Windows registers it by itself after joining the domain. If it is not there, runipconfig /registerdnson the PC and reopen the zone (automatic registration depends on Windows and on the DNS settings of the domain: if the record is missing, add it by hand as DNS explains).
If something goes wrong
| Symptom | Likely cause | Remedy |
|---|---|---|
| «A domain controller for the domain could not be found» while joining | The PC uses a DNS that does not know the domain | Steps 3 and 4: nslookup corp.johnsmith.test must answer with 10.20.0.10 |
| «The user name or password is incorrect» while joining | Credentials, or an account not allowed to join PCs | Try with lwhite; check in Users that the account is «Active» and not «Locked» |
| «The clock is not synchronised» or Kerberos errors | The PC’s time is more than 5 minutes away from the domain controller’s | Correct the PC’s time; udp port 123 must pass (appendix A) |
The PC has joined but PC-ADMIN-01 does not appear in Computers |
List not refreshed, or the PC joined another domain | Press «Reload»; on the PC check the domain name in “About” |
Jack signs in but does not see K: |
He is not in the group administration, or the policy is not linked to the PC |
Steps 1 and 2; then gpupdate /force and sign in again |
Jack sees K: but cannot write |
He is only in the read-only group of the share | In Shares check «Read-write group» and «Read-only group» |
| Windows creates a temporary profile («We can’t sign in to your account») | A roaming profile path in Active Directory that does not exist (for example inherited from a migration) | See “Limits”; the path cannot be changed from the console |
Z: does not appear |
«Home drive» on «(none)» or homeDirectory not written |
In Users, «Home drive» Z:, «Save» and sign in again |
| After removing him from the group, Jack still sees the folder | Kerberos ticket still valid | Sign out and in again; at most 10 hours (see Groups and computers) |
Limits
- The roaming profile is not managed by the console. Atlas publishes a hidden
share
profilesfor roaming profiles, but it assigns the path to no user and there is no field to do so on the user’s page. If a customer requires it, the path (\\<server>\profiles\<user>) must be written in theprofilePathattribute with the Windows tools, and tried on a single user before extending it. The manual does not describe this procedure because the console does not offer it. - Windows 10 has not been verified for the catalogue policies: the entries have been tested on Windows 11 (Scripts and GPO).
- Windows Home cannot join a domain.
- Removing a decommissioned PC: Active Directory → Computers → «Delete». It does not clean up the PC, which keeps believing it is in the domain.
- In a Windows domain with Atlas as an additional controller (coexistence) the drive letters are not assigned from the shares of Atlas: the policies belong to the Windows controller.
For the technician The PC gets its own account (
PC-ADMIN-01$) in the domain’sComputerscontainer. The user’s home is the share\\<server>\<user>(the Samba[homes]block, visible only to its owner) mapped to thehomeDriveletter by the Windows PCs at logon. Group shares do not come from scripts but from the GPO «Edon - Condivisioni» (the “Drive Maps” preferences, filtered by group). For diagnosis:gpresult /r,klistandnltest /dsgetdc:on the PC; on the appliance System → Shell andjournalctl -u edon-addc.