PC Review


Reply
Thread Tools Rate Thread

Can I use HIVEDEF.INF to alter the "My Documents" path?

 
 
Mark
Guest
Posts: n/a
 
      24th Oct 2005
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




 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
"Shared documents" Folder Is Displayed As "documents" In Path Jim Windows XP General 3 29th Aug 2008 06:57 PM
Changing default path of "My Documents" (User files)to D: drive? =?Utf-8?B?bWF0aA==?= Windows Vista File Management 4 17th Jul 2007 01:12 AM
I Wanna change my default "Documents and settings" folder's path =?Utf-8?B?SlJBbmRyYWRl?= Windows XP General 4 24th Jun 2007 04:55 AM
Repost: Can I use HIVEDEF.INF to alter the "My Documents" path? Mark Windows XP Setup 0 26th Oct 2005 11:28 PM
<forms name="CompanyWeb" loginUrl="login.aspx" protection="All" path="/" /> Murphy Microsoft ASP .NET 2 19th Apr 2004 08:01 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:41 PM.