Help - Search - Members - Calendar
Full Version: Que: redirect user profile path?
MSFN Forums > Member Contributed Projects > Other Member Contributed Projects > Windows Installation Helper Utility

   
Google Internet Forums Unattended CD/DVD Guide
mow
How can I redirect the entire user profile when creating a new user with WIHU?

For now I redirect only specific shell folders. This is how I do it:

[environment]
Personal = D:\Users\%ThisUser%\My Documents
My Music = D:\Users\%ThisUser%\My Documents\My Music
My Pictures = D:\Users\%ThisUser%\My Documents\My Pictures
My Video = D:\Users\%ThisUser%\My Documents\My Video


is it not recommended to move the entire profile?
I want to do so I can restore a windows partition image without overwriting the users documents & setting.
BenjaminKalytta
Your example code would set default shell folders to specified location, i.e. each new created user account will use this as default settings instead windows default.

If this is your intention, you've to create at least one account to use this settings.

Of course you could set only some of the shell folders to new locations. Prefered locations are the Windows Desktop, Personal folder and may be also application data folders.

QUOTE (mov)
I want to do so I can restore a windows partition image without overwriting the users documents & setting.


You are right, that's the way to do it.

Benjamin Kalytta
mow
What about changing the default location for the entire profile. is that possible?

I want to set one variable, and all the user shell folders would be under that path
BenjaminKalytta
Of course this is possible.

CODE
[users]
Profile = c:\Profiles\%Thisuser%

... should work.

Update: It seems that I removed this feature some day ... don't know what my reason was. If you want I could add this again.
Update 2: Just try version x.7, I added it again.

Benjamin Kalytta
Google Internet Forums Unattended CD/DVD Guide
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.