Sorry about the dead link to the missing script, but that post was 3 1/2 years ago. I was "customizing" my OS then for about a half a year or so, but I haven't done it that way since, so forgive me if I no longer remember some of the details. I didn't use audit mode because I didn't know what that was back then. And I didn't use unattended, I did everything manually, but there weren't as many hotfixes etc back then so it wasn't as big a deal as it is now. I honestly don't remember for sure, but I either ran the script at account creation, or I used Shift+F10 to get a command line during setup and ran the script that way. I think the latter, but I don't remember how I knew exactly when to run the script. Sorry. I believe it might even work OK if run immediately after installing the OS, but you definitely want to do it before any apps are installed and before anything is installed to the profiles because nothing is moved from the original location to the new, just the location definitions are changed, and the folders in the original locations are deleted. And no searches are made in the registry for any reference at all of anything that used the original locations. So do it as early as you can, but it has to be after the current user hive is created in the registry.
I'll reprint the files here, along with some of the notes from my thread at Ryan's so you don't have to look back and forth, but you'll just have to play with them so see if they work for you. It's just been too long since I've used them for me to be much more help than that. They did work for me, no problems that I recall, but you might also want to add some hard links in the "Standard" places to handle those few programs that are hard coded to use those locations and do not pay attention to the registry entries like they should. Unfortunately I think there were/are some such misbehaving, poorly written apps, but I can't name them off the top of my head, if they still exist. You could also do a copy of anything that was in the original locations before you turn them into hard links. The more I write the more I'm sure you'll think "that sure is a lot of trouble" and it was, which is why I quit doing it. You might find or figure out a better more reliable way. I still like the concept for organization, ease in backup, might help in SSD life for profiles to not be on them etc.
@Dogway, I really think you should be able to make this work the way you want to. Look carefully below at the differences I used to assign:
"UserProfile\Downloads" -> D:\Downloads
"UserProfile\Music" -> D:\Media\Music
So I was able to nest at least some of the folders and I don't know why you can't do that to all of them, unless it's just one of MS's "gotchas". You will just have to try it.
Make whatever use you wish out of this. I HAVE NOT TESTED THIS OR USED THIS METHOD IN THREE YEARS. Anyone who can improve this, please post. I'm sure there are others that would make use of it.
From Ryan's (2010-07-12):
Suggestion for improvement from vmanda (2011-03-04)
Cheers and Regards
Edited by bphlpt, 04 January 2014 - 11:01 PM.