Hi,
I am working on a Windows XP SP2 unattended RIS build and have come across a
small problem that I hope someone here may be able to resolve or explain...
I have modified the HIVEDEF.INF file in a number of ways so that I can
change per-user settings for the Default User and subsequently all users
that log onto the computer. Most of my modifications work perfectly but I
am not able to get my customisations for the "My Documents" path to stick.
Relevant lines from the file are (line numbers added for clarity):
1: HKCU,"Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell
Folders","Personal",0x00020000,"%U_SHELL_FOLDERS_PERSONAL%"
2: HKCU,"Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell
Folders","My Pictures",0x00020000,"%U_SHELL_FOLDERS_MYPICTURES%"
3: U_SHELL_FOLDERS_PERSONAL="%SYSTEMDRIVE%\My CLIENT Documents"
4: U_SHELL_FOLDERS_MYPICTURES="%SYSTEMDRIVE%\My CLIENT Documents\My
Pictures"
The customised folders I want to use are created by the RIS process - I have
a "$oem$\$1\My CLIENT Documents" folder in my RIS image.
My intention is to have all users of the computer save their documents in
the "C:\My CLIENT Documents" folder and all pictures in the "C:\My CLIENT
Documents\My Pictures" subfolder. I only want to change the document folder
paths - the rest of the user profile needs to stay in the normal location.
Once the machine is built however, only the My Pictures settings are
changed. The My Documents folder still points to the default
"%USERPROFILE%\My Documents" folder. Why is this happening?
Please help!
Thanks,
Mark
|