|
-
Jul 28th, 2011, 01:20 PM
#1
Thread Starter
Addicted Member
Program for Folder Redirection in Windows 7
Hello all,
I am hoping this is possible and their is a way to do this
I want to create several folders on a specified drive, some are up to 3 levels deep such as x:\users\%username%\Documents
%username% would be a folder created after the users actual user name
What I would like to be able to do is create these folders for each username that resides on computer including the "default user" however the rest of the built in windows accounts I do not need to do this with.
I then want to change the registry setting under each user, for example these two keys (their are more keys however but they all follow this except for the last part of the key where instead of personal it would be named videos or something):
HKU\S-1-5-21-9999999999-999999999999-9999999999999-1002\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders\Personal: "C:\Users\Test User\Documents"
HKU\S-1-5-21-9999999999-999999999999-9999999999999-1002\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders\Personal: "%USERPROFILE%\Documents"
specifically this value needs to change "C:\Users\Test User\Documents" and this one "%USERPROFILE%\Documents"
However it is my understanding that this key is specific to each user based on the S-1-5-21-999999999999-999999999999 number which I believe is referred to a GUID.
I know how to create a folder, I know how to change other registry settings that have integers but I am stumped on this.
-
Jul 28th, 2011, 03:42 PM
#2
Fanatic Member
Re: Program for Folder Redirection in Windows 7
What exactly are you trying to do? Is the machine on a domain?
If the machine is on a domain, you could do this with a Group Policy.
My.Settings.Signature = String.Empty
-
Jul 28th, 2011, 05:25 PM
#3
Thread Starter
Addicted Member
Re: Program for Folder Redirection in Windows 7
No its not and it cannot be. Thats where the problem stems from. Im not much of a programmer but I know a enough to get in trouble. I was hoping to solve the problem by making a program
My goal is Have a bunch of Windows 7 Home Premium machines have the ability for redirection like the enterprise & ultimate version does when its on a domain.
I am installing SSD drives as the primary drive but seeing as how their space is a premium I want to turn the secondary SATA drive into the storage drive.
So what I want to do is make it so that instead of everything saving to c:\Users\%username%\Documents for my documents etc. it creates new folders on the secondary drive assigned S: so that it redirects to S:\Users\%username%\Documents etc... I need to do this for all of the directories from C:\Users and down
I forgot that just changing the registry will not move the files to the new location so I need to also copy the directory structure and files from c:\Users to S:\Users and then make the change in the registry. There are multiple user accounts on the computer so this also has to be repeated for each user account on the system preferably without logging in under each one.
Being that I have quite a few machines it will take a long time to do this manually
I know this may be a tall order but im hoping it can be done
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|