[K12OSN] Active Directory - SMB/LDAP Switch
jingalls at ellsworthschools.org
Wed Jul 27 13:18:45 UTC 2005
Here is how I do it (files are in netlogon share on PDC)
REM Change directory to P:\
REM If the folders My Documents and Desktop
REM don't exist in P:\ create them.
IF NOT EXIST "P:\My Documents\." MD "P:\My Documents"
IF NOT EXIST "P:\Desktop\." MD "P:\Desktop"
REM Now that we are certain that both directories exist,
REM run regedit silently using the file on osprey.
regedit /s \\osprey\netlogon\mydoc.reg
REM This didn't work...
REM regedit /s \\osprey\netlogon\logoff.reg
"ExcludeProfileDirs"="Local Settings;Temporary Internet Files;History;Temp;My
You can see here the first thing I do with the reg file is define which
directories I exlude from roaming.
Then I modifiy the entries that tell where to point My Documents
Ellsworth School Department
207-667-4722 Ext. 5529
jingalls (at) ellsworthschools.org
Quoting Mark Gumprecht <gumprechtm at msln.net>:
> Jason Ingalls wrote:
>> Perhaps the most important lesson we learned was that the profile
>> directory and
>> home directory MUST be different! What we decided to do was use roaming
>> profiles, but exclude the Desktop and My Documents directories from
>> roaming to
>> cut down on logon/logoff time (by merging a .reg file via logon script). We
>> instead chose to use folder redirection (by merging a .reg file via logon
>> script) for those two folders. We thought (wrongly) that since these folders
>> would be exluded from roaming the redirected folders could live
>> amongst the the
>> other profile directories. What this resulted in was files that
>> would randomly
>> disappear from the Desktop and My Documents folders. Ultimately we
>> stuck with
>> using folder redirection, but we redirected them to the home
>> directory and put
>> the profiles in /home/profiles/username. This made me happier than
>> putting the
>> profiles in the default location because we have a large partition
>> for /home.
> Does anyone have a howto on redirect or a url?
> Mark Gumprecht
> Data Systems Specialist
> Unity, ME
> gumprechtm at msln.net
> K12OSN mailing list
> K12OSN at redhat.com
> For more info see <http://www.k12os.org>
This message was sent using IMP, the Internet Messaging Program.
More information about the K12OSN