Hi,
I have windows server 2019. I created a home folder for all users and it's working fine. My question is there any way that can be done to change the home folder name without going to each computer and renaming the drive or by adding a login script?
I found the below script from (https://social.technet.microsoft.com/Forums/windowsserver/en-US/7bbf68de-4573-4c1d-bf72-d30f7c3477f7/home-folder-drive-mapping-adding-a-label?forum=winserverDS)
but I did not use it. I do not want to use login script.
Option Explicit
Dim objNetwork, strDrive, objShell, objUNC
Dim strRemotePath, strDriveLetter, strNewName
strDriveLetter = "z:"
strRemotePath = "\\server\home"
strNewName = "HomeDrive"
' Section which actually (re)names the Mapped Drive
Set objShell = CreateObject("Shell.Application")
objShell.NameSpace(strDriveLetter).Self.Name = strNewName
WScript.Quit
' End of script.
To what end?
I can not interpret your scenario.
Lets say I am one of your users .
Is This an RDS setup?
How do I as a user access it.
Is this a share to which you redirect folders,
I.e. Currently \\server2019\soneshare\%us
You want to move the sharename to another drive where there is more space?