andreas82 Posted April 26, 2005 Posted April 26, 2005 Hello everybody,this is my first posting and I hope you can give me some hints and tips.my challenge:I have to change the "My Documents" folder for each user that logs on to a pc.By default the folder is located in the %userprofile% directory. I need the "my documents" on the d:\ drive in a folder called users. So everytime a new user logs onto a pc in d:\users a new folder has to be created by the system.my problem:I edited the registry key: HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders\personal. The value is now D:\Users\%USERNAME%\AllDataI did the same for the "my Pictures" folders.The folder is NOT created by the system during the first logon. When the user clicks the first time on "My documents" Icon the folder is created.Untill now there is no Problem. This would be ok for me.Unfortunately the permissins aren' t set right. The local users groups has the permission to read and write documents. But I only want the administrators to do this on all folders. A user should only have the permission to access his "my documents" folder. Not the one of his colleagues. It seems that the permissions for the group user are inherrited from the the folder d:\users. I thougt if I changed the registry values in the mentiones keys an than save the profile as the default profile this should work like I want it to work. There should be the same permissions like on the c:\documents and Settings\%username% folder.my hope:Would be a great help if you have some advices. ore mybe only links and ideas, how to solve the problem. I spend a lot of time in the net and on microsoft website, but nowhere was a solution for my problem. So give your bestThanks in advance,Andreas
KJxp Posted April 26, 2005 Posted April 26, 2005 If you say the My Documents folder is not created until the user clicks on it for the first time, then put a program or batch file in the startup of the default user (which will then be copied to any new user account), which program will move the My Documents folder or update the registry to point to the correct location.I have not tested this idea, so don't know if it would work or not.
andreas82 Posted April 27, 2005 Author Posted April 27, 2005 Yes I wrote a script. It creates the folder and sets the rights. After that it deletes the script from the startup folder. It works fine.bye
DigeratiPrime Posted April 27, 2005 Posted April 27, 2005 I know TweakUI can change the location for individual profiles.I think the best way to do what you want is to change the Profiles Direcotry in WINNT.SIF.[GuiUnattended]ProfilesDir="C:\Documents and Settings\"You can change the default location of Documents and Settings using this entry.
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