See all of the top support solutions for our most common issues here
When managing SMS or SCCM clients that are in a workgroup, clients will need access to a WINS server the contains the proper entries for the SMS/SCCM site systems. If a WINS is not available, as an alternative you can edit the LMHOSTS and HOSTS files on each client to allow for name resolution.
Add the SMS information to an LMHOSTS file, which you can copy to each client:
<IP Address> Siteserver #PRE <IP Address> "SMS_SLP \0x1A" #PRE <IP Address> "SMS_MP \0x1A" #PRE <IP Address> "SMS_NLB \0x1A" #PRE (Only needed if the MP is load balanced) # "12345678901234567890"
Note: There must be 20 characters between the quotation marks for each entry. The last line (# "12345678901234567890") is there to help make sure of that requirement and you can eliminate it in your actual LMHOSTS file.
If your clients need to assign to a secondary site, replace the SMS_MP with the following:
<IP Address of Secondary Site MP> "SMS_XXX \0x1A" #PRE (XXX replace with site code) # "12345678901234567890"
Add the SMS information to an HOSTS file, which you can copy to each client.
<IP Address> siteserver.your.domain <IP Address> MPservername.your.domain
Both the LMHOSTS and the HOSTS file can be found in the \windows\system32\drivers\etc directory. LMHOSTS will be named LMHOSTS.sam so after editing the file you will need to remove the .sam extension.
Once that is completed, open a command prompt and run the following command:
This will load the LMHOSTS file.
Ellis George | Senior System Center Support Engineer
Good information. In my experience, clients using secondary sites (but assigned to primary sites) need to resolve both the default management point 0x1A name "MP_PRI", and the proxy management point 0x1A name "MP_SEC", where PRI is the site code for the primary site and SEC is the site code for the secondary site (child of PRI).
Also, according to some documentation, this method (WINS/LMHOSTS) won't work for clients assigned to native mode sites and DNS publishing should be used instead.
Thanks for the post but it's not entirely clear. For workgroup hosts that do not have access to DNS, do we need to enable BOTH HOSTS and LMHOSTS files? We generally disable NetBIOS name resolution for our internet-facing web servers as a part of the hardening procedure.