Regarding Home Drive Creation

Shweta Agarwal 1 Reputation point
2021-05-28T10:30:32.717+00:00

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
{count} votes

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.