Skip to main content
ByteHaven
Explorer III
May 12, 2026
Solved

Best Practice for First-Time Device Registration

  • May 12, 2026
  • 3 replies
  • 146 views

Hello everyone,

 

After finalizing the bulk registration using the Persistent Agent, I’m wondering what’s considered the best practice to register a brand new device.

The issue I’m seeing is kind of a chicken and egg problem:

  • New devices can’t access the network because they get isolated (no Persistent Agent yet)
  • But to deploy the Persistent Agent with GPO, the device first needs to join the domain
  • And to join the domain, it needs network access first...

How are you guys usually handling first time onboarding for new company devices after the first enrollement ?

BR,

Best answer by ebilcari

There are two possibilities:

3 replies

ebilcari
Staff
ebilcariAnswer
Staff
May 12, 2026

There are two possibilities:

Emirjon
AEK
SuperUser
SuperUser
May 12, 2026

Hi Emirjon

I usually allow hosts in isolation to access domain via these ports to authenticate: 88,135,389,445,636.

Please correct me if I’m wrong because probably it doesn’t need all these ports open.

AEK
ebilcari
Staff
Staff
May 13, 2026

I think all those ports are required. I always check Microsoft documentation to refresh my memory :)

The best way would be to monitor the activity on the firewall and then restrict access by allowing only the ports that are actually used, based on observed traffic.

Emirjon
Thought Leadership. Security Summit. Thursday, November 12th, PGA National Resort, Palm Beach Gardens, FL.
Thought Leadership. Security Summit. Thursday, October 8th. Disney's Grand Californian Hotel & SPA, Anaheim, CA.
Security Operations Summit: Modernize SecOps. Operate AI-Native.AMER: November 4 | 9:00 AM PST. India and SAARC: November 5 | 10:00 AM IST. EMEA: November 5 | 10:30 AM CET. APAC: November 5 | 11:00 AM SGT