[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [K12OSN] Active Directory - SMB/LDAP Switch

Here is how I do it (files are in netlogon share on PDC)


REM Change directory to P:\
cd 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





[HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Winlogon]

"ExcludeProfileDirs"="Local Settings;Temporary Internet Files;History;Temp;My


"Personal"="P:\\My Documents"


[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell

"Personal"="P:\\My Documents"



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 (personal) and

Jason Ingalls
Ellsworth School Department
IT Specialist
207-667-4722 Ext. 5529
jingalls (at) ellsworthschools.org

Quoting Mark Gumprecht <gumprechtm 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 msln net

K12OSN mailing list
K12OSN redhat com
For more info see <http://www.k12os.org>

---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program.

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]