Skip to content
May 17, 2025
  • Administration
  • PowerShell
  • SharePoint 2013
  • SharePoint 2019

Get-SPNote

All about SharePoint and PowerShell

  • Home
  • Administration
  • User Profile
  • What Should I do when my NetBios Name and Domain names are different in SharePoint 2013 User Profile Service?
  • SharePoint 2013
  • User Profile

What Should I do when my NetBios Name and Domain names are different in SharePoint 2013 User Profile Service?

SPNoteAdmin8 years ago2 years ago04 mins

Example Problem

  • Domain Name : somecompany.abc.com
  • NetBIOS Name of the Domain : SC
  • User Profile Service does not properly Sync the Profiles with Active Directory.
  • Some of the user names has domain name as SC\AccountName and some of the user profiles loaded as abc\AccountName.
  • This is happening when we have two different values in our Active Directory Domain name and NetBIOS name.
  • SharePoint User Profile Service is getting confused to get which details during the Sync.

Solution:

Enable NetBIOS Name to use during the Profile Synchronization.

How to Enable NetBIOS Name in SharePoint User Profile Service?

  1. Delete the Existing User Profile Synchronization Connection.
  2. Enable The NetBIOS Name in User Profile Service Via PowerShell
  3. Create New User Profile Synchronization Connection with your Active Directory.
  4. Run Full Profile Synchronization.
  5. Run STSADM Command to delete existing data if it is still showing the old data in UPS

1. Delete Existing User Profile Synchronization Connection

  1. Navigate to SharePoint Central Administration Site.
  2. CA -> Application Management -> Manage Service Applications – > Select User Profile Service to modify.
  3. Click Manager Synchronization Connections
  4. Select the existing connection and select to delete the connection.

2. Enable NetBIOS Name in User Profile Service.

  • Open SharePoint Management Shell as Administrator.
  • Get the User Profile Service Details
    1. Type Get-SpServiceApplication and execute.
    2. Above command will list down all the Service applications of the Farm.
    3. Select the UPS Application which you need to modify and copy the GUID of the service.
  • Get the User Profile Application in to variable
    • Type below command and execute
$UPS = Get-SpServiceApplication –identity “GUID”;
$UPS. NetBiosDomainNamesEnabled = $True;
$UPS.Update();

As a practice I used to restart the server (if Possible) once I do this kind of a modification.

Or else at least do a service restart and IIS Reset of the server which UPS is configured to run.

3. Create new User Profile Sync Connection.

  • Navigate to SharePoint Central Administration Site.
  • CA -> Application Management -> Manage Service Applications – > Select User Profile Service to modify.
  • Create New Connection with your active Directory.

NOTE: Make sure you have granted the Replicate Directory Permissions to your UPS Synchronization Account in your Active Directory.

Once everything above is completed, start a Full Profile Synchronization.

For some schnarios even after full Synchronization completed, it is not showing the Updated Accounts in AD.
In this kind of a situation, you need to execute below STSADM Command

Stsadm.exe -o deleteolddatabases 0
Tagged: NetBios User Profile Service

Post navigation

Previous: How to Create SharePoint 2013 User Profile Service
Next: How to change Language in SharePoint 2013

Leave a Reply Cancel reply

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

Related News

Free SharePoint Pre-Upgrade Check List

SPNoteAdmin2 years ago2 years ago 0

Extract Documents to Folder based on Managed Metadata Column – SharePoint

SPNoteAdmin4 years ago2 years ago 0

Enabling Nintex Workflow Feature Failed – Sorry, Something Went Wrong

SPNoteAdmin5 years ago2 years ago 0

Recent Posts

  • Free SharePoint Pre-Upgrade Check List
  • Extract Documents to Folder based on Managed Metadata Column – SharePoint
  • How To Fix Nintex Workflow Activation Error
  • Enabling Nintex Workflow Feature Failed – Sorry, Something Went Wrong
  • System.Data.SqlClient.SqlException (0x80131904): The EXECUTE permission – User Profile Issue

Get Free SharePoint Pre-Upgrade Check List

Set yourself up for a successful upgrade by following in the footsteps of those who have already done it right.

Access Denied Administration Administrator Best Practice Delete e-book free books free resources Get-AppPoolDetails Get-AuthProviders Get-ExecutionPolicy Get-OutgoingMail Get-SPFarmDetails Large Lists list view threshold Managed Metadata Microsoft NetBios Nintex Nintex Form Nintex Workflow PDF Icon Permission Issue PowerShell Pre-Upgrade Publish Form Search Set-ExecutionPolicy SharePoint SharePoint 2013 SharePoint document Icon SharePoint Management Shell SharePoint On-Prem SharePoint Upgrade Site Collection SPQuery Sub sites SubSites Super Reader Super User Upgrade User Profile Service Web Application Workflow WSS_Content_Application_Pools

Recent Comments

No comments to show.
Trendy News - News WordPress Theme. All Rights Reserved 2025. Powered By BlazeThemes.