# join to domain, done, but domain not active issue

**URL:** <https://forums.powershell.org/t/join-to-domain-done-but-domain-not-active-issue/9431>\
**Category:** PowerShell Help\
**Created:** [September 28, 2017, 12:52pm UTC](https://forums.powershell.org/t/join-to-domain-done-but-domain-not-active-issue/9431 "2017-09-28T12:52:32Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jasonleech](https://avatars.discourse-cdn.com/v4/letter/j/65b543/32.png) [@jasonleech](https://forums.powershell.org/u/jasonleech)\
**Post date:** [September 28, 2017, 12:52pm UTC](https://forums.powershell.org/t/join-to-domain-done-but-domain-not-active-issue/9431/1 "2017-09-28T12:52:32Z")

</div>

Hi guys, little help required please…  
If I add a hyper-v server to hyper-v DC in usual control panel\settings GUI, it joins ok, and I have a GPO to disable the Windows Domain firewall…and shows my domain as an ‘active’ domain and my GPO allows for pings etc…but, if I use powershell…  
add-computer -computername XXXX -domainname YYYY and supply creds, yes it add’s to domain, applies GPO as domain firewall is then off, but doesn’t show domain as ‘active’ and I can’t ping the new addition?

I’ve removed the server from the domain, then re-added in the old school way, without powershell and it works ???  
Any ideas how to specify the domain as active? really foxed with this!

thanks

---

<div class="post-metadata">

**Author:** ![donj](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.powershell.org/donj/32/137_2.png) [@donj](https://forums.powershell.org/u/donj)\
**Post date:** [October 3, 2017, 9:03am UTC](https://forums.powershell.org/t/join-to-domain-done-but-domain-not-active-issue/9431/2 "2017-10-03T09:03:11Z")

</div>

The GUI is going a bit more work than just adding to the domain. You might try manually refreshing group policy, or restarting the machine again to get everything to “stick.”

---

<div class="post-metadata">

**Author:** ![dotnVo](https://avatars.discourse-cdn.com/v4/letter/d/4af34b/32.png) [@dotnVo](https://forums.powershell.org/u/dotnVo)\
**Post date:** [May 16, 2024, 8:37pm UTC](https://forums.powershell.org/t/join-to-domain-done-but-domain-not-active-issue/9431/3 "2024-05-16T20:37:28Z")

</div>


