The second method is to map the user folder directly, and only display the user folder after the client has logged in.
1, preferred we need to log on to the ad on the drive map that was just made in Group Policy to delete, in the User Configuration preferences Windows set drive mapping, select the created drive right-click Delete, after deleting the same need to refresh Group Policy.
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/83/FF/wKioL1eDM0TSjIH-AAC23T8Rlao576.jpg "/>
2, login domain user account can be seen, now the hardware does not have mapped drive letter.
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/84/00/wKiom1eDM0SRNYr9AABZMiY9Tv4914.jpg "/>
3. Use the command:
"Dsmod user" CN=ZHANGJIANGUO,OU=IT,OU=BJN99USER,OU=BJN99,DC=BJN99,DC=CN "-hmdrv Z:-hmdir \\fileserver\UserFile\ Test01.it "To map the specified user folder because the number of users is more so I used Excel to create a command for each user and copy the commands into the TXT document. (If you're going to loop for a statement then this is pretty easy to do)
4. Copy all the commands in the TXT text document and paste them on PowerShell on the file server, which is the following interface is being created.
5, using the domain user login client will find that in the network location directly display the user's own folder, the right-click property will look at the user's folder space of 100M, prove that we do the test has been successful; (I'll be making a technical document on DFS Distributed File system later)
This article from "Nuzhihai" blog, reproduced please contact the author!
File Server Deployment (iv)