8,329 questions
Regarding Home Drive Creation
Shweta Agarwal
1
Reputation point
Hi Team,
I have powershell script for creating the home drive for the new user and I am using below command:-
Set-ADUser $User -HomeDrive $driveLetter -HomeDirectory $fullPath
But in this case it is creating home drive for the user but user is not able to access it.
One more thing whenever I can copying the created home drive manually and again pasting it and clicking on apply then only it is working fine.
Kindly suggest your solution.
Thanks in advance!!
Windows for business | Windows Server | User experience | PowerShell
Sign in to answer