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

Re: [K12OSN] OT: easy way to move "documents and settings" folder?



I'm looking to move the entire Documents and Settings folder, not just
My Documents.  Does your method affect the entire Documents and Settings
folder?  If so, then I'll give it a try.

-Rob

Brian Chivers wrote:
> Sorry if I'm being a little slow here but aren't all the folders in
> doc's & settings controlled by one section of the registry ??
> 
> What we do is alter the location of My Doc's at login by using a login
> script that just alters the following in there registry
> 
> HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell
> Folders
> 
> and
> 
> HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User
> Shell Folders
> 
> My doc's is the key called "Personal" so I have a kixscript that does this
> 
> :alter_my_docs
>    ;************************************************
>    ;*         - Alter My Documents -        *
>    ;************************************************
>   
> $ikey="HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell
> Folders"
>        IF (WriteValue($ikey,"Personal",$mydocs,"REG_SZ") <> 0) 
>            ? "Update error MyDocuments @error: @serror"
>        ENDIF
>   
> $ikey="HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User
> Shell Folders"
>        IF (WriteValue($ikey,"Personal",$mydocs,"REG_SZ") <> 0) 
>            ? "Update error MyDocuments @error: @serror"
>        ENDIF
> RETURN
> 
> where $mydocs = there P: drive (why P:, p for personal :-) )
> 
> If you look at the Samba How to they have a whole section on "Folder
> Redirection" have a look at this
> 
> http://wiki.samba.org/index.php/Samba_&_Windows_Profiles#Folder_Redirection
> 
> &
> 
> http://us1.samba.org/samba/docs/man/Samba-Guide/happy.html#redirfold
> 
> Something we also do is to use poledit to remove all files except for
> "favourites" (could alter registry to store this on there P: drive) from
> the users profile and delete profiles as they logout so keeping what's
> held in there roaming profile to a minimum.
> 
> If you'd like a complete copy of the login.kix script let me know.
> 
> Brian
> 
> Doug Simpson wrote:
>> For teachers, they will learn after their "profile" disappears a few
>> times to put their stuff in their H drive.
>>
>> For students, we had linux/samba set up and I had my samba server set
>> up so that their profile was stored on the server but as soon as they
>> logged out, samba deleted the server copy of their profile. Then, we
>> had DriveShield (similar to DeepFreeze without the lockup problems)
>> installed and once the computers were rebooted, they came back clean.
>> . .(no local profiles, either) MAJOR space saver!!!!!!on the server
>> and the workstation.
>>
>> If you would like assistance with setting this up in samba (the
>> client-side stuff is a different animal) let me know and I can give
>> you pointers and examples to make ti clean those wasteful profiles off
>> the server at least. Then you can decide how to handle the client-side
>> cleanup.
>>
>> Doug
>>
>> Doug Simpson
>> Technology Specialist
>> De Queen Public Schools
>> De Queen, AR
>> simpsond leopards k12 ar us
>>
>>  
>>>>> Huck <dhuckaby paasda org> 9/19/2007 12:24 PM >>>
>>>>>         
>> Huck is of no use here as well...sorry :(
>> I only know of the other because when using Samba with roaming
>> profiles...when staff members put all of their files in My
>> Documents(the default location)...their login and logout times stretch
>> over a millennium it seems...and for some reason they do NOT listen
>> when you request/explain/ask/nudge/encourage them to save to the
>> NETWORK drive(s).
>>
>> --Huck
>>
>> Jim Kronebusch wrote:
>>  
>>> On Wed, 19 Sep 2007 13:07:29 -0400, Rob Owens wrote
>>>    
>>>> Jim and Huck, thanks for the responses.  But I want to move not just
>>>> "My
>>>> Documents", but the entire Documents and Settings folder.  The
>>>> reason is
>>>> that things like temporary internet files, etc. are filling up the very
>>>> small C drive on my terminal server.  Users are instructed to save all
>>>> of their "stuff" on a network drive anyway, so My Documents doesn't
>>>> actually take up much space.
>>>>
>>>> Also, to be clear, I'd like to set it up so that all new users get
>>>> their
>>>> settings put in d:\documents and settings\username
>>>>
>>>> -Rob
>>>>       
>>> Ahh, my apologies.  I misread your original email which was very
>>> clear in stating you
>>> wanted to move Documents and Settings.  Can't say I can help you there. 
>>> Jim
>>>
>>>     
>>
>> _______________________________________________
>> K12OSN mailing list
>> K12OSN redhat com https://www.redhat.com/mailman/listinfo/k12osn For
>> more info see <http://www.k12os.org>
>>
>>
>> _______________________________________________
>> K12OSN mailing list
>> K12OSN redhat com
>> https://www.redhat.com/mailman/listinfo/k12osn
>> For more info see <http://www.k12os.org>
>>
>>   
> 
> 
> 
> ------------------------------------------------------------------------------------------------
> 
>    The views expressed here are my own and not necessarily
> 
>                the views of Portsmouth College   
> _______________________________________________
> K12OSN mailing list
> K12OSN redhat com
> https://www.redhat.com/mailman/listinfo/k12osn
> For more info see <http://www.k12os.org>


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