[K12OSN] regfile for redirect of My Documents

Jason Ingalls jingalls at ellsworthschools.org
Tue Jul 5 01:25:21 UTC 2005


It does run everytime, but seems to go very quickly. I'm sure a test could be
written to make it happen only on the first login. One thing I have noticed,
though, is that if a user already has a profile on the machine, the 
changes the
script makes don't take effect until they log out and log back in. However, if
it is the first time the user has logged into a certain machine the changes
happen immediately.

I'm curious if the post that Heath made applies here? Should I instead use a
path like \\server\%username%\My Documents to map that directory? Or is P:\My
Doc sufficient?

Also, we are putting the profiles and the home dir in /home/username on 
the same
server. I'm not sure what issues will come up, but I'm fairly confident the
majority of users will just save their stuff in My Docs and be fairly 
oblivious
to the fact they can even access a P:\ in My Computer, thus most will 
never even
see the other stuff in their home drive (access from Linux may be the 
exception
here, I'm not sure exactly how that'll look).

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


Quoting David Trask <dtrask at vcsvikings.org>:

> Very cool!  One question (having not tried it yet, but merely trying to
> visualize)....does the regedit command run every time or just once and
> then if the keys are in place it doesn't run? (I'm assuming it runs
> everytime) I'm curious about the speed of the login script...do you find
> it to run pretty quickly?  This is cool...thanks for sharing....you should
> consider "wiki-ing" it at LTSP.org or preferably K12LTSP.org as many folks
> could use this tweak!  :-)  Attaboy!
>
> "Support list for opensource software in schools." <k12osn at redhat.com> on
> Monday, July 4, 2005 at 11:15 AM +0000 wrote:
>> David,
>>
>> Chuck and I just did this here and seems to work well in a test
>> environment. We
>> exluded Desktop and My Documents from "Roaming" and instead used a
>> registry
>> script to point them directly at the server.
>>
>> Here is how I did it:
>> --
>> startup.bat
>>
>> cd p:
>> IF NOT EXIST "P:\My Documents\." MD "P:\My Documents"
>> IF NOT EXIST "P:\Desktop\." MD "P:\Desktop"
>> regedit /s \\osprey\netlogon\mydoc.reg
>> :END
>> --
>> mydoc.reg
>>
>> REGEDIT4
>>
>> [HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Winlogon]
>> "ExcludeProfileDirs"="Local Settings;Temporary Internet
>> Files;History;Temp;My
>> Documents;Desktop"
>>
>> [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell
>> Folders]
>> "Personal"="P:\\My Documents"
>> "Desktop"="P:\\Desktop"
>>
>> [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User
>>
>> Shell
>> Folders]
>> "Personal"="P:\\My Documents"
>> "Desktop"="P:\\Desktop"
>
>
> David N. Trask
> Technology Teacher/Coordinator
> Vassalboro Community School
> dtrask at vcsvikings.org
> (207)923-3100
>
> _______________________________________________
> K12OSN mailing list
> K12OSN at redhat.com
> https://www.redhat.com/mailman/listinfo/k12osn
> For more info see <http://www.k12os.org>
>



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





More information about the K12OSN mailing list