Posted On May 4, 2022

How to Add New Lookup Domains into Windows DNS Suffixes

kimconnect 0 comments
blog.KimConnect.com >> Networking >> How to Add New Lookup Domains into Windows DNS Suffixes

Error message:

[server005.intranet.kimconnect.com]: PS E:\Users\kimconnect\Documents> add-localgroupmember -Group 'remote desktop users' -Member 'DMZ/testUser'
add-localgroupmember : Principal DMZ/testUser was not found.
+ CategoryInfo : ObjectNotFound: (WBMD/SVasmatkar:String) [Add-LocalGroupMember], PrincipalNotFoundException
+ FullyQualifiedErrorId : PrincipalNotFound,Microsoft.PowerShell.Commands.AddLocalGroupMemberCommand

# Resolution: Add Entries to DNS Suffixes

$addDomains='dmz.kimconnect.com'
$currentList=(Get-DnsClientGlobalSetting).SuffixSearchList
$newList=@($addDomains)
$newList+=$currentList
Set-DnsClientGlobalSetting -SuffixSearchList $newList

# Use legacy command to add user into local group (in case Windoze OS is dinosaur)

net localgroup 'remote desktop users' DMZ/testUser /add

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Post

Juniper OSPF

How to setup OSPF in Juniper:editset interfaces ge-0/0/1.0 family inet address 13.13.13.1/24set interfaces lo.0.0 family…

How to Analyze Inbound / Outbound Traffic

Connect to the PacketShaper by entering the following into your web browser:                packetshaper.kimconnect.com You will…

Wireless Optimal Setup

Have multiple access point using the same SSID for best handover Stagger channels 1, 6,…