mikmeoli Posted July 10, 2019 Posted July 10, 2019 Hi, I am trying to set up folder redirection of the documents folder for all users. Now im sure that if i have \\servername\share\%username% as the home folder path and set up documents redirection i will end up will all the folders being renamed as Documents. One of the things Microsoft recommends is to create all home folders like the following \\servername\share\%username%\Documents which would work fine but when i put that into the profile settings for each user then it complains that it cant find the file path. Ad will create the file path if the location ends with the %username% but apparently not when you add another folder like 'Documents' after it. Short of crating something that creates the file path first, is there anyway i can do this? Thanks Mik
chazzy2501 Posted July 10, 2019 Posted July 10, 2019 This should work. Being daft are you adding the trailing backslash? \\servername\share\%username%\Documents\ EDIT: trailing backslash disappeared in example?
mikmeoli Posted July 10, 2019 Author Posted July 10, 2019 "The specified path is not valid. Enter a valid path using the for: \\server\share\folder." if you try to add a backslash at the end
chazzy2501 Posted July 10, 2019 Posted July 10, 2019 I've tried this today and I get the same error. (as I use the old format) \\fileserv1\students\13\%username% changing to \\fileserv1\students\13\%username%\mydocs worked fine. BUT then I deleted the folders and started from scratch. it failed complaining about intermediate folders. I was going to move to this model next year.
Foresthippy Posted July 10, 2019 Posted July 10, 2019 Use GPP to create the folder? I know that is what you're hoping to avoid but it's simple enough and you could put it in the same GPO. 1
PyROm Posted July 12, 2019 Posted July 12, 2019 We do this here. You need to first set the profile path to \\fileserv1\students\13\%username% , apply it so it creates the folder, then add the Documents on the end, ie. \\fileserv1\students\13\%username%\Documents , this will then create the documents folder. The problem you have is that it only creates the last folder in the path, if the one before it in the path doesnt exist it will error out.
PyROm Posted July 12, 2019 Posted July 12, 2019 As a side note, using \\fileserv1\students\13\%username% for users folders only appear all as documents after the Desktop.ini gets written the first time they login. You can deny writing desktop.ini using fsrm to get around this, however it used to (dont know it still does) slow logins down.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now