home dir creates username.domain folders

jellekamma 221 Reputation points
2020-12-03T08:58:28.79+00:00

Hi,

I have created a GPO On our WIndows 2016 DC to create the Home dir folder for all users at a certain windows 2016 file server(on the network). It works fine but it created username.domainname folders.

How can I get it to create just username folders, not username.domain?

this is the policy:

This policy setting allows you to specify the location and root (file share or local path) of a user's home folder for a logon session.

If you enable this policy setting, the user's home folder is configured to the specified local or network location, creating a new folder for each user name.

To use this policy setting, in the Location list, choose the location for the home folder. If you choose “On the network,” enter the path to a file share in the Path box (for example, \ComputerName\ShareName), and then choose the drive letter to assign to the file share. If you choose “On the local computer,” enter a local path (for example, C:\HomeFolder) in the Path box.

Do not specify environment variables or ellipses in the path. Also, do not specify a placeholder for the user name because the user name will be appended at logon.

Note: The Drive letter box is ignored if you choose “On the local computer” from the Location list. If you choose “On the local computer” and enter a file share, the user's home folder will be placed in the network location without mapping the file share to a drive letter.

If you disable or do not configure this policy setting, the user's home folder is configured as specified in the user's Active Directory Domain Services account.

If the "Set Remote Desktop Services User Home Directory" policy setting is enabled, the “Set user home folder” policy setting has no effect.

Windows for business | Windows Server | User experience | Other
0 comments No comments
{count} votes

Accepted answer
  1. jellekamma 221 Reputation points
    2020-12-04T09:12:48.77+00:00

    Thanks, I hoped to do it automated. I have just created a GPO which creates the folder on the server. \Fileserver\HomeDir$\%LogonUser% which creates the folder without the domain suffix
    And a GPO for mapping a network drive. That worked fine also

    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Anonymous
    2020-12-04T06:26:23.577+00:00

    Hi,
    I created the home folder as following:
    Under the Home folder, i enter the path as:
    Connect : Z To \server name\sharefolder\%username%, once enter the apply button, the %username% became a actual user name
    45056-12042.png
    Then the folder named user name(not user name.domain) created in the share
    44949-12043.png

    When the user logon to workstation, it displays as :
    45007-12044.png

    1 person found this answer helpful.
    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.