XP and Domain Controller

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hello,
I log on a Samba domain controller, getting the Linux home as drive p:\
How can I manage to map the "my Files" Folder automatically on this drive,
so that the linux-home is identical with windows "My files " -folder ?

Frank
 
In
Frank said:
Hello,
I log on a Samba domain controller, getting the Linux home as drive
p:\ How can I manage to map the "my Files" Folder automatically on
this drive, so that the linux-home is identical with windows "My
files " -folder ?

Frank

If I understand what you're asking, why not redirect your My Documents to
point at the P drive? Just right-click on My Documents, go to properties,
and it should be pretty clear how to do this.
 
Lanwench said:
In

If I understand what you're asking, why not redirect your My Documents to
point at the P drive? Just right-click on My Documents, go to properties,
and it should be pretty clear how to do this.
This will work, if eaach user does it after logging on. however there are
over a thosand users. Would be nice, if this is done automatically during the
log-on process.
 
The correct method is with policies, but as you're on Linux that option might
not be so easy to use. Registry modification should work though.

What you're looking for is the "Shell Folders" registry key.

http://windowsxp.mvps.org/usershellfolders.htm

The entries in this key are of the "expanding string" type -that is, any
%environment% variables will be replaced with that variable's value. (Type
'set' at a commandprompt to see the environment variables available to you)

However, if the mapping is always P: you don't need any more than P:\ as the
value. (Or P:\Documents might be better, to allow other uses of the home
folder such as email, but that's your call) If you make the change on one
computer with regedit, you can export this change as a .reg file.

To automate the process you can set the value(s) using this .reg file by
adding

regedit /s \\servername\netlogon\shellfolders.reg

to your logon script. Since this acts on the user part of the registry it
should work for non-admin users. (whereas modifying the machine defaults
wouldn't)
 
In
Frank said:
This will work, if eaach user does it after logging on. however there
are over a thosand users. Would be nice, if this is done
automatically during the log-on process.

This is a piece of cake if you have Active Directory; Group Policy will do
this and much more. Otherwise, it will not be much fun to manage anything
you do manage to set up - and if you have over a thousand users, I'd
strongly recommend AD - even if you want to keep Samba in the picture.
 
Back
Top