removing more RCS tags
[Samba.git] / docs / htmldocs / profilemgmt.html
blob73573361932c5095cdb7ed68194b588bcb959054
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2 <HTML
3 ><HEAD
4 ><TITLE
5 >Desktop Profile Management</TITLE
6 ><META
7 NAME="GENERATOR"
8 CONTENT="Modular DocBook HTML Stylesheet Version 1.7"><LINK
9 REL="HOME"
10 TITLE="SAMBA Project Documentation"
11 HREF="samba-howto-collection.html"><LINK
12 REL="UP"
13 TITLE="Advanced Configuration"
14 HREF="optional.html"><LINK
15 REL="PREVIOUS"
16 TITLE="System and Account Policies"
17 HREF="policymgmt.html"><LINK
18 REL="NEXT"
19 TITLE="Interdomain Trust Relationships"
20 HREF="interdomaintrusts.html"></HEAD
21 ><BODY
22 CLASS="CHAPTER"
23 BGCOLOR="#FFFFFF"
24 TEXT="#000000"
25 LINK="#0000FF"
26 VLINK="#840084"
27 ALINK="#0000FF"
28 ><DIV
29 CLASS="NAVHEADER"
30 ><TABLE
31 SUMMARY="Header navigation table"
32 WIDTH="100%"
33 BORDER="0"
34 CELLPADDING="0"
35 CELLSPACING="0"
36 ><TR
37 ><TH
38 COLSPAN="3"
39 ALIGN="center"
40 >SAMBA Project Documentation</TH
41 ></TR
42 ><TR
43 ><TD
44 WIDTH="10%"
45 ALIGN="left"
46 VALIGN="bottom"
47 ><A
48 HREF="policymgmt.html"
49 ACCESSKEY="P"
50 >Prev</A
51 ></TD
52 ><TD
53 WIDTH="80%"
54 ALIGN="center"
55 VALIGN="bottom"
56 ></TD
57 ><TD
58 WIDTH="10%"
59 ALIGN="right"
60 VALIGN="bottom"
61 ><A
62 HREF="interdomaintrusts.html"
63 ACCESSKEY="N"
64 >Next</A
65 ></TD
66 ></TR
67 ></TABLE
68 ><HR
69 ALIGN="LEFT"
70 WIDTH="100%"></DIV
71 ><DIV
72 CLASS="CHAPTER"
73 ><H1
74 ><A
75 NAME="PROFILEMGMT"
76 ></A
77 >Chapter 18. Desktop Profile Management</H1
78 ><DIV
79 CLASS="TOC"
80 ><DL
81 ><DT
82 ><B
83 >Table of Contents</B
84 ></DT
85 ><DT
86 >18.1. <A
87 HREF="profilemgmt.html#AEN3095"
88 >Roaming Profiles</A
89 ></DT
90 ><DD
91 ><DL
92 ><DT
93 >18.1.1. <A
94 HREF="profilemgmt.html#AEN3102"
95 >Samba Configuration for Profile Handling</A
96 ></DT
97 ><DD
98 ><DL
99 ><DT
100 >18.1.1.1. <A
101 HREF="profilemgmt.html#AEN3105"
102 >NT4/200x User Profiles</A
103 ></DT
104 ><DT
105 >18.1.1.2. <A
106 HREF="profilemgmt.html#AEN3115"
107 >Windows 9x / Me User Profiles</A
108 ></DT
109 ><DT
110 >18.1.1.3. <A
111 HREF="profilemgmt.html#AEN3130"
112 >Mixed Windows 9x / Me and Windows NT4/200x User Profiles</A
113 ></DT
114 ></DL
115 ></DD
116 ><DT
117 >18.1.2. <A
118 HREF="profilemgmt.html#AEN3137"
119 >Windows Client Profile Configuration Information</A
120 ></DT
121 ><DD
122 ><DL
123 ><DT
124 >18.1.2.1. <A
125 HREF="profilemgmt.html#AEN3139"
126 >Windows 9x / Me Profile Setup</A
127 ></DT
128 ><DT
129 >18.1.2.2. <A
130 HREF="profilemgmt.html#AEN3175"
131 >Windows NT4 Workstation</A
132 ></DT
133 ><DT
134 >18.1.2.3. <A
135 HREF="profilemgmt.html#AEN3184"
136 >Windows 2000/XP Professional</A
137 ></DT
138 ></DL
139 ></DD
140 ><DT
141 >18.1.3. <A
142 HREF="profilemgmt.html#AEN3257"
143 >Sharing Profiles between W9x/Me and NT4/200x/XP workstations</A
144 ></DT
145 ><DT
146 >18.1.4. <A
147 HREF="profilemgmt.html#AEN3264"
148 >Profile Migration from Windows NT4/200x Server to Samba</A
149 ></DT
150 ><DD
151 ><DL
152 ><DT
153 >18.1.4.1. <A
154 HREF="profilemgmt.html#AEN3267"
155 >Windows NT4 Profile Management Tools</A
156 ></DT
157 ><DT
158 >18.1.4.2. <A
159 HREF="profilemgmt.html#AEN3290"
160 >Side bar Notes</A
161 ></DT
162 ><DT
163 >18.1.4.3. <A
164 HREF="profilemgmt.html#AEN3294"
165 >moveuser.exe</A
166 ></DT
167 ><DT
168 >18.1.4.4. <A
169 HREF="profilemgmt.html#AEN3297"
170 >Get SID</A
171 ></DT
172 ></DL
173 ></DD
174 ></DL
175 ></DD
176 ><DT
177 >18.2. <A
178 HREF="profilemgmt.html#AEN3302"
179 >Mandatory profiles</A
180 ></DT
181 ><DT
182 >18.3. <A
183 HREF="profilemgmt.html#AEN3309"
184 >Creating/Managing Group Profiles</A
185 ></DT
186 ><DT
187 >18.4. <A
188 HREF="profilemgmt.html#AEN3315"
189 >Default Profile for Windows Users</A
190 ></DT
191 ><DD
192 ><DL
193 ><DT
194 >18.4.1. <A
195 HREF="profilemgmt.html#AEN3318"
196 >MS Windows 9x/Me</A
197 ></DT
198 ><DT
199 >18.4.2. <A
200 HREF="profilemgmt.html#AEN3330"
201 >MS Windows NT4 Workstation</A
202 ></DT
203 ><DT
204 >18.4.3. <A
205 HREF="profilemgmt.html#AEN3384"
206 >MS Windows 200x/XP</A
207 ></DT
208 ></DL
209 ></DD
210 ></DL
211 ></DIV
212 ><DIV
213 CLASS="SECT1"
214 ><H1
215 CLASS="SECT1"
217 NAME="AEN3095"
218 >18.1. Roaming Profiles</A
219 ></H1
220 ><DIV
221 CLASS="WARNING"
223 ></P
224 ><TABLE
225 CLASS="WARNING"
226 WIDTH="100%"
227 BORDER="0"
228 ><TR
229 ><TD
230 WIDTH="25"
231 ALIGN="CENTER"
232 VALIGN="TOP"
233 ><IMG
234 SRC="/usr/share/sgml/docbook/stylesheet/dsssl/modular/images/warning.gif"
235 HSPACE="5"
236 ALT="Warning"></TD
237 ><TD
238 ALIGN="LEFT"
239 VALIGN="TOP"
241 >Roaming profiles support is different for Win9x / Me and Windows NT4/200x.</P
242 ></TD
243 ></TR
244 ></TABLE
245 ></DIV
247 >Before discussing how to configure roaming profiles, it is useful to see how
248 Windows 9x / Me and Windows NT4/200x clients implement these features.</P
250 >Windows 9x / Me clients send a NetUserGetInfo request to the server to get the user's
251 profiles location. However, the response does not have room for a separate
252 profiles location field, only the user's home share. This means that Win9X/Me
253 profiles are restricted to being stored in the user's home directory.</P
255 >Windows NT4/200x clients send a NetSAMLogon RPC request, which contains many fields,
256 including a separate field for the location of the user's profiles.</P
257 ><DIV
258 CLASS="SECT2"
259 ><H2
260 CLASS="SECT2"
262 NAME="AEN3102"
263 >18.1.1. Samba Configuration for Profile Handling</A
264 ></H2
266 >This section documents how to configure Samba for MS Windows client profile support.</P
267 ><DIV
268 CLASS="SECT3"
269 ><H3
270 CLASS="SECT3"
272 NAME="AEN3105"
273 >18.1.1.1. NT4/200x User Profiles</A
274 ></H3
276 >To support Windowns NT4/200x clients, in the [global] section of smb.conf set the
277 following (for example):</P
279 ><PRE
280 CLASS="PROGRAMLISTING"
281 > logon path = \\profileserver\profileshare\profilepath\%U\moreprofilepath</PRE
284 This is typically implemented like:
286 <PRE
287 CLASS="PROGRAMLISTING"
288 > logon path = \\%L\Profiles\%u</PRE
290 where %L translates to the name of the Samba server and %u translates to the user name</P
292 >The default for this option is \\%N\%U\profile, namely \\sambaserver\username\profile.
293 The \\N%\%U service is created automatically by the [homes] service. If you are using
294 a samba server for the profiles, you _must_ make the share specified in the logon path
295 browseable. Please refer to the man page for smb.conf in respect of the different
296 symantics of %L and %N, as well as %U and %u.</P
297 ><DIV
298 CLASS="NOTE"
300 ></P
301 ><TABLE
302 CLASS="NOTE"
303 WIDTH="100%"
304 BORDER="0"
305 ><TR
306 ><TD
307 WIDTH="25"
308 ALIGN="CENTER"
309 VALIGN="TOP"
310 ><IMG
311 SRC="/usr/share/sgml/docbook/stylesheet/dsssl/modular/images/note.gif"
312 HSPACE="5"
313 ALT="Note"></TD
314 ><TD
315 ALIGN="LEFT"
316 VALIGN="TOP"
318 >MS Windows NT/2K clients at times do not disconnect a connection to a server
319 between logons. It is recommended to NOT use the <B
320 CLASS="COMMAND"
321 >homes</B
323 meta-service name as part of the profile share path.</P
324 ></TD
325 ></TR
326 ></TABLE
327 ></DIV
328 ></DIV
329 ><DIV
330 CLASS="SECT3"
331 ><H3
332 CLASS="SECT3"
334 NAME="AEN3115"
335 >18.1.1.2. Windows 9x / Me User Profiles</A
336 ></H3
338 >To support Windows 9x / Me clients, you must use the "logon home" parameter. Samba has
339 now been fixed so that <KBD
340 CLASS="USERINPUT"
341 >net use /home</KBD
342 > now works as well, and it, too, relies
343 on the <B
344 CLASS="COMMAND"
345 >logon home</B
346 > parameter.</P
348 >By using the logon home parameter, you are restricted to putting Win9x / Me
349 profiles in the user's home directory. But wait! There is a trick you
350 can use. If you set the following in the <B
351 CLASS="COMMAND"
352 >[global]</B
353 > section of your <TT
354 CLASS="FILENAME"
355 >smb.conf</TT
356 > file:</P
358 ><PRE
359 CLASS="PROGRAMLISTING"
360 > logon home = \\%L\%U\.profiles</PRE
361 ></P
363 >then your Windows 9x / Me clients will dutifully put their clients in a subdirectory
364 of your home directory called <TT
365 CLASS="FILENAME"
366 >.profiles</TT
367 > (thus making them hidden).</P
369 >Not only that, but <KBD
370 CLASS="USERINPUT"
371 >net use/home</KBD
372 > will also work, because of a feature in
373 Windows 9x / Me. It removes any directory stuff off the end of the home directory area
374 and only uses the server and share portion. That is, it looks like you
375 specified \\%L\%U for <B
376 CLASS="COMMAND"
377 >logon home</B
378 >.</P
379 ></DIV
380 ><DIV
381 CLASS="SECT3"
382 ><H3
383 CLASS="SECT3"
385 NAME="AEN3130"
386 >18.1.1.3. Mixed Windows 9x / Me and Windows NT4/200x User Profiles</A
387 ></H3
389 >You can support profiles for both Win9X and WinNT clients by setting both the
391 CLASS="COMMAND"
392 >logon home</B
393 > and <B
394 CLASS="COMMAND"
395 >logon path</B
396 > parameters. For example:</P
398 ><PRE
399 CLASS="PROGRAMLISTING"
400 > logon home = \\%L\%u\.profiles
401 logon path = \\%L\profiles\%u</PRE
402 ></P
403 ></DIV
404 ></DIV
405 ><DIV
406 CLASS="SECT2"
407 ><H2
408 CLASS="SECT2"
410 NAME="AEN3137"
411 >18.1.2. Windows Client Profile Configuration Information</A
412 ></H2
413 ><DIV
414 CLASS="SECT3"
415 ><H3
416 CLASS="SECT3"
418 NAME="AEN3139"
419 >18.1.2.1. Windows 9x / Me Profile Setup</A
420 ></H3
422 >When a user first logs in on Windows 9X, the file user.DAT is created,
423 as are folders "Start Menu", "Desktop", "Programs" and "Nethood".
424 These directories and their contents will be merged with the local
425 versions stored in c:\windows\profiles\username on subsequent logins,
426 taking the most recent from each. You will need to use the [global]
427 options "preserve case = yes", "short preserve case = yes" and
428 "case sensitive = no" in order to maintain capital letters in shortcuts
429 in any of the profile folders.</P
431 >The user.DAT file contains all the user's preferences. If you wish to
432 enforce a set of preferences, rename their user.DAT file to user.MAN,
433 and deny them write access to this file.</P
435 ></P
436 ><OL
437 TYPE="1"
438 ><LI
440 > On the Windows 9x / Me machine, go to Control Panel -&#62; Passwords and
441 select the User Profiles tab. Select the required level of
442 roaming preferences. Press OK, but do _not_ allow the computer
443 to reboot.
445 ></LI
446 ><LI
448 > On the Windows 9x / Me machine, go to Control Panel -&#62; Network -&#62;
449 Client for Microsoft Networks -&#62; Preferences. Select 'Log on to
450 NT Domain'. Then, ensure that the Primary Logon is 'Client for
451 Microsoft Networks'. Press OK, and this time allow the computer
452 to reboot.
454 ></LI
455 ></OL
457 >Under Windows 9x / Me Profiles are downloaded from the Primary Logon.
458 If you have the Primary Logon as 'Client for Novell Networks', then
459 the profiles and logon script will be downloaded from your Novell
460 Server. If you have the Primary Logon as 'Windows Logon', then the
461 profiles will be loaded from the local machine - a bit against the
462 concept of roaming profiles, it would seem!</P
464 >You will now find that the Microsoft Networks Login box contains
465 [user, password, domain] instead of just [user, password]. Type in
466 the samba server's domain name (or any other domain known to exist,
467 but bear in mind that the user will be authenticated against this
468 domain and profiles downloaded from it, if that domain logon server
469 supports it), user name and user's password.</P
471 >Once the user has been successfully validated, the Windows 9x / Me machine
472 will inform you that 'The user has not logged on before' and asks you
473 if you wish to save the user's preferences? Select 'yes'.</P
475 >Once the Windows 9x / Me client comes up with the desktop, you should be able
476 to examine the contents of the directory specified in the "logon path"
477 on the samba server and verify that the "Desktop", "Start Menu",
478 "Programs" and "Nethood" folders have been created.</P
480 >These folders will be cached locally on the client, and updated when
481 the user logs off (if you haven't made them read-only by then).
482 You will find that if the user creates further folders or short-cuts,
483 that the client will merge the profile contents downloaded with the
484 contents of the profile directory already on the local client, taking
485 the newest folders and short-cuts from each set.</P
487 >If you have made the folders / files read-only on the samba server,
488 then you will get errors from the Windows 9x / Me machine on logon and logout, as
489 it attempts to merge the local and the remote profile. Basically, if
490 you have any errors reported by the Windows 9x / Me machine, check the Unix file
491 permissions and ownership rights on the profile directory contents,
492 on the samba server.</P
494 >If you have problems creating user profiles, you can reset the user's
495 local desktop cache, as shown below. When this user then next logs in,
496 they will be told that they are logging in "for the first time".</P
498 ></P
499 ><OL
500 TYPE="1"
501 ><LI
503 > instead of logging in under the [user, password, domain] dialog,
504 press escape.
506 ></LI
507 ><LI
509 > run the regedit.exe program, and look in:
512 > HKEY_LOCAL_MACHINE\Windows\CurrentVersion\ProfileList
515 > you will find an entry, for each user, of ProfilePath. Note the
516 contents of this key (likely to be c:\windows\profiles\username),
517 then delete the key ProfilePath for the required user.
519 [Exit the registry editor].
522 ></LI
523 ><LI
525 > <SPAN
526 CLASS="emphasis"
528 CLASS="EMPHASIS"
529 >WARNING</I
530 ></SPAN
531 > - before deleting the contents of the
532 directory listed in the ProfilePath (this is likely to be
534 CLASS="FILENAME"
535 >c:\windows\profiles\username)</TT
536 >, ask them if they
537 have any important files stored on their desktop or in their start menu.
538 Delete the contents of the directory ProfilePath (making a backup if any
539 of the files are needed).
542 > This will have the effect of removing the local (read-only hidden
543 system file) user.DAT in their profile directory, as well as the
544 local "desktop", "nethood", "start menu" and "programs" folders.
546 ></LI
547 ><LI
549 > search for the user's .PWL password-caching file in the c:\windows
550 directory, and delete it.
552 ></LI
553 ><LI
555 > log off the windows 9x / Me client.
557 ></LI
558 ><LI
560 > check the contents of the profile path (see "logon path" described
561 above), and delete the user.DAT or user.MAN file for the user,
562 making a backup if required.
564 ></LI
565 ></OL
567 >If all else fails, increase samba's debug log levels to between 3 and 10,
568 and / or run a packet trace program such as ethereal or netmon.exe, and
569 look for error messages.</P
571 >If you have access to an Windows NT4/200x server, then first set up roaming profiles
572 and / or netlogons on the Windows NT4/200x server. Make a packet trace, or examine
573 the example packet traces provided with Windows NT4/200x server, and see what the
574 differences are with the equivalent samba trace.</P
575 ></DIV
576 ><DIV
577 CLASS="SECT3"
578 ><H3
579 CLASS="SECT3"
581 NAME="AEN3175"
582 >18.1.2.2. Windows NT4 Workstation</A
583 ></H3
585 >When a user first logs in to a Windows NT Workstation, the profile
586 NTuser.DAT is created. The profile location can be now specified
587 through the "logon path" parameter.</P
589 >There is a parameter that is now available for use with NT Profiles:
590 "logon drive". This should be set to <TT
591 CLASS="FILENAME"
592 >H:</TT
593 > or any other drive, and
594 should be used in conjunction with the new "logon home" parameter.</P
596 >The entry for the NT4 profile is a _directory_ not a file. The NT
597 help on profiles mentions that a directory is also created with a .PDS
598 extension. The user, while logging in, must have write permission to
599 create the full profile path (and the folder with the .PDS extension
600 for those situations where it might be created.)</P
602 >In the profile directory, Windows NT4 creates more folders than Windows 9x / Me.
603 It creates "Application Data" and others, as well as "Desktop", "Nethood",
604 "Start Menu" and "Programs". The profile itself is stored in a file
605 NTuser.DAT. Nothing appears to be stored in the .PDS directory, and
606 its purpose is currently unknown.</P
608 >You can use the System Control Panel to copy a local profile onto
609 a samba server (see NT Help on profiles: it is also capable of firing
610 up the correct location in the System Control Panel for you). The
611 NT Help file also mentions that renaming NTuser.DAT to NTuser.MAN
612 turns a profile into a mandatory one.</P
614 >The case of the profile is significant. The file must be called
615 NTuser.DAT or, for a mandatory profile, NTuser.MAN.</P
616 ></DIV
617 ><DIV
618 CLASS="SECT3"
619 ><H3
620 CLASS="SECT3"
622 NAME="AEN3184"
623 >18.1.2.3. Windows 2000/XP Professional</A
624 ></H3
626 >You must first convert the profile from a local profile to a domain
627 profile on the MS Windows workstation as follows:</P
629 ></P
630 ><UL
631 ><LI
633 > Log on as the LOCAL workstation administrator.
635 ></LI
636 ><LI
638 > Right click on the 'My Computer' Icon, select 'Properties'
640 ></LI
641 ><LI
643 > Click on the 'User Profiles' tab
645 ></LI
646 ><LI
648 > Select the profile you wish to convert (click on it once)
650 ></LI
651 ><LI
653 > Click on the button 'Copy To'
655 ></LI
656 ><LI
658 > In the "Permitted to use" box, click on the 'Change' button.
660 ></LI
661 ><LI
663 > Click on the 'Look in" area that lists the machine name, when you click
664 here it will open up a selection box. Click on the domain to which the
665 profile must be accessible.
667 ><DIV
668 CLASS="NOTE"
670 ></P
671 ><TABLE
672 CLASS="NOTE"
673 WIDTH="90%"
674 BORDER="0"
675 ><TR
676 ><TD
677 WIDTH="25"
678 ALIGN="CENTER"
679 VALIGN="TOP"
680 ><IMG
681 SRC="/usr/share/sgml/docbook/stylesheet/dsssl/modular/images/note.gif"
682 HSPACE="5"
683 ALT="Note"></TD
684 ><TD
685 ALIGN="LEFT"
686 VALIGN="TOP"
688 >You will need to log on if a logon box opens up. Eg: In the connect
689 as: MIDEARTH\root, password: mypassword.</P
690 ></TD
691 ></TR
692 ></TABLE
693 ></DIV
694 ></LI
695 ><LI
697 > To make the profile capable of being used by anyone select 'Everyone'
699 ></LI
700 ><LI
702 > Click OK. The Selection box will close.
704 ></LI
705 ><LI
707 > Now click on the 'Ok' button to create the profile in the path you
708 nominated.
710 ></LI
711 ></UL
713 >Done. You now have a profile that can be editted using the samba-3.0.0
715 CLASS="FILENAME"
716 >profiles</TT
717 > tool.</P
718 ><DIV
719 CLASS="NOTE"
721 ></P
722 ><TABLE
723 CLASS="NOTE"
724 WIDTH="100%"
725 BORDER="0"
726 ><TR
727 ><TD
728 WIDTH="25"
729 ALIGN="CENTER"
730 VALIGN="TOP"
731 ><IMG
732 SRC="/usr/share/sgml/docbook/stylesheet/dsssl/modular/images/note.gif"
733 HSPACE="5"
734 ALT="Note"></TD
735 ><TD
736 ALIGN="LEFT"
737 VALIGN="TOP"
739 >Under NT/2K the use of mandotory profiles forces the use of MS Exchange
740 storage of mail data. That keeps desktop profiles usable.</P
741 ></TD
742 ></TR
743 ></TABLE
744 ></DIV
745 ><DIV
746 CLASS="NOTE"
748 ></P
749 ><TABLE
750 CLASS="NOTE"
751 WIDTH="100%"
752 BORDER="0"
753 ><TR
754 ><TD
755 WIDTH="25"
756 ALIGN="CENTER"
757 VALIGN="TOP"
758 ><IMG
759 SRC="/usr/share/sgml/docbook/stylesheet/dsssl/modular/images/note.gif"
760 HSPACE="5"
761 ALT="Note"></TD
762 ><TD
763 ALIGN="LEFT"
764 VALIGN="TOP"
766 ></P
767 ><UL
768 ><LI
770 >This is a security check new to Windows XP (or maybe only
771 Windows XP service pack 1). It can be disabled via a group policy in
772 Active Directory. The policy is:</P
774 >"Computer Configuration\Administrative Templates\System\User
775 Profiles\Do not check for user ownership of Roaming Profile Folders"</P
777 >...and it should be set to "Enabled".
778 Does the new version of samba have an Active Directory analogue? If so,
779 then you may be able to set the policy through this.</P
781 >If you cannot set group policies in samba, then you may be able to set
782 the policy locally on each machine. If you want to try this, then do
783 the following (N.B. I don't know for sure that this will work in the
784 same way as a domain group policy):</P
785 ></LI
786 ><LI
788 >On the XP workstation log in with an Administrator account.</P
789 ></LI
790 ><LI
792 >Click: "Start", "Run"</P
793 ></LI
794 ><LI
796 >Type: "mmc"</P
797 ></LI
798 ><LI
800 >Click: "OK"</P
801 ></LI
802 ><LI
804 >A Microsoft Management Console should appear.</P
805 ></LI
806 ><LI
808 >Click: File, "Add/Remove Snap-in...", "Add"</P
809 ></LI
810 ><LI
812 >Double-Click: "Group Policy"</P
813 ></LI
814 ><LI
816 >Click: "Finish", "Close"</P
817 ></LI
818 ><LI
820 >Click: "OK"</P
821 ></LI
822 ><LI
824 >In the "Console Root" window:</P
825 ></LI
826 ><LI
828 >Expand: "Local Computer Policy", "Computer Configuration",</P
829 ></LI
830 ><LI
832 >"Administrative Templates", "System", "User Profiles"</P
833 ></LI
834 ><LI
836 >Double-Click: "Do not check for user ownership of Roaming Profile</P
837 ></LI
838 ><LI
840 >Folders"</P
841 ></LI
842 ><LI
844 >Select: "Enabled"</P
845 ></LI
846 ><LI
848 >Click: OK"</P
849 ></LI
850 ><LI
852 >Close the whole console. You do not need to save the settings (this
853 refers to the console settings rather than the policies you have
854 changed).</P
855 ></LI
856 ><LI
858 >Reboot</P
859 ></LI
860 ></UL
861 ></TD
862 ></TR
863 ></TABLE
864 ></DIV
865 ></DIV
866 ></DIV
867 ><DIV
868 CLASS="SECT2"
869 ><H2
870 CLASS="SECT2"
872 NAME="AEN3257"
873 >18.1.3. Sharing Profiles between W9x/Me and NT4/200x/XP workstations</A
874 ></H2
876 >Sharing of desktop profiles between Windows versions is NOT recommended.
877 Desktop profiles are an evolving phenomenon and profiles for later versions
878 of MS Windows clients add features that may interfere with earlier versions
879 of MS Windows clients. Probably the more salient reason to NOT mix profiles
880 is that when logging off an earlier version of MS Windows the older format
881 of profile contents may overwrite information that belongs to the newer
882 version resulting in loss of profile information content when that user logs
883 on again with the newer version of MS Windows.</P
885 >If you then want to share the same Start Menu / Desktop with W9x/Me, you will
886 need to specify a common location for the profiles. The smb.conf parameters
887 that need to be common are <SPAN
888 CLASS="emphasis"
890 CLASS="EMPHASIS"
891 >logon path</I
892 ></SPAN
893 > and
894 <SPAN
895 CLASS="emphasis"
897 CLASS="EMPHASIS"
898 >logon home</I
899 ></SPAN
900 >.</P
902 >If you have this set up correctly, you will find separate user.DAT and
903 NTuser.DAT files in the same profile directory.</P
904 ></DIV
905 ><DIV
906 CLASS="SECT2"
907 ><H2
908 CLASS="SECT2"
910 NAME="AEN3264"
911 >18.1.4. Profile Migration from Windows NT4/200x Server to Samba</A
912 ></H2
914 >There is nothing to stop you specifying any path that you like for the
915 location of users' profiles. Therefore, you could specify that the
916 profile be stored on a samba server, or any other SMB server, as long as
917 that SMB server supports encrypted passwords.</P
918 ><DIV
919 CLASS="SECT3"
920 ><H3
921 CLASS="SECT3"
923 NAME="AEN3267"
924 >18.1.4.1. Windows NT4 Profile Management Tools</A
925 ></H3
927 >Unfortunately, the Resource Kit information is specific to the version of MS Windows
928 NT4/200x. The correct resource kit is required for each platform.</P
930 >Here is a quick guide:</P
932 ></P
933 ><UL
934 ><LI
936 >On your NT4 Domain Controller, right click on 'My Computer', then
937 select the tab labelled 'User Profiles'.</P
938 ></LI
939 ><LI
941 >Select a user profile you want to migrate and click on it.</P
942 ><DIV
943 CLASS="NOTE"
945 ></P
946 ><TABLE
947 CLASS="NOTE"
948 WIDTH="90%"
949 BORDER="0"
950 ><TR
951 ><TD
952 WIDTH="25"
953 ALIGN="CENTER"
954 VALIGN="TOP"
955 ><IMG
956 SRC="/usr/share/sgml/docbook/stylesheet/dsssl/modular/images/note.gif"
957 HSPACE="5"
958 ALT="Note"></TD
959 ><TD
960 ALIGN="LEFT"
961 VALIGN="TOP"
963 >I am using the term "migrate" lossely. You can copy a profile to
964 create a group profile. You can give the user 'Everyone' rights to the
965 profile you copy this to. That is what you need to do, since your samba
966 domain is not a member of a trust relationship with your NT4 PDC.</P
967 ></TD
968 ></TR
969 ></TABLE
970 ></DIV
971 ></LI
972 ><LI
974 >Click the 'Copy To' button.</P
975 ></LI
976 ><LI
978 >In the box labelled 'Copy Profile to' add your new path, eg:
980 CLASS="FILENAME"
981 >c:\temp\foobar</TT
982 ></P
983 ></LI
984 ><LI
986 >Click on the button labelled 'Change' in the "Permitted to use" box.</P
987 ></LI
988 ><LI
990 >Click on the group 'Everyone' and then click OK. This closes the
991 'chose user' box.</P
992 ></LI
993 ><LI
995 >Now click OK.</P
996 ></LI
997 ></UL
999 >Follow the above for every profile you need to migrate.</P
1000 ></DIV
1001 ><DIV
1002 CLASS="SECT3"
1003 ><H3
1004 CLASS="SECT3"
1006 NAME="AEN3290"
1007 >18.1.4.2. Side bar Notes</A
1008 ></H3
1010 >You should obtain the SID of your NT4 domain. You can use smbpasswd to do
1011 this. Read the man page.</P
1013 >With Samba-3.0.0 alpha code you can import all you NT4 domain accounts
1014 using the net samsync method. This way you can retain your profile
1015 settings as well as all your users.</P
1016 ></DIV
1017 ><DIV
1018 CLASS="SECT3"
1019 ><H3
1020 CLASS="SECT3"
1022 NAME="AEN3294"
1023 >18.1.4.3. moveuser.exe</A
1024 ></H3
1026 >The W2K professional resource kit has moveuser.exe. moveuser.exe changes
1027 the security of a profile from one user to another. This allows the account
1028 domain to change, and/or the user name to change.</P
1029 ></DIV
1030 ><DIV
1031 CLASS="SECT3"
1032 ><H3
1033 CLASS="SECT3"
1035 NAME="AEN3297"
1036 >18.1.4.4. Get SID</A
1037 ></H3
1039 >You can identify the SID by using GetSID.exe from the Windows NT Server 4.0
1040 Resource Kit.</P
1042 >Windows NT 4.0 stores the local profile information in the registry under
1043 the following key:
1044 HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList</P
1046 >Under the ProfileList key, there will be subkeys named with the SIDs of the
1047 users who have logged on to this computer. (To find the profile information
1048 for the user whose locally cached profile you want to move, find the SID for
1049 the user with the GetSID.exe utility.) Inside of the appropriate user's
1050 subkey, you will see a string value named ProfileImagePath.</P
1051 ></DIV
1052 ></DIV
1053 ></DIV
1054 ><DIV
1055 CLASS="SECT1"
1056 ><H1
1057 CLASS="SECT1"
1059 NAME="AEN3302"
1060 >18.2. Mandatory profiles</A
1061 ></H1
1063 >A Mandatory Profile is a profile that the user does NOT have the ability to overwrite.
1064 During the user's session it may be possible to change the desktop environment, but
1065 as the user logs out all changes made will be lost. If it is desired to NOT allow the
1066 user any ability to change the desktop environment then this must be done through
1067 policy settings. See previous chapter.</P
1068 ><DIV
1069 CLASS="NOTE"
1071 ></P
1072 ><TABLE
1073 CLASS="NOTE"
1074 WIDTH="100%"
1075 BORDER="0"
1076 ><TR
1077 ><TD
1078 WIDTH="25"
1079 ALIGN="CENTER"
1080 VALIGN="TOP"
1081 ><IMG
1082 SRC="/usr/share/sgml/docbook/stylesheet/dsssl/modular/images/note.gif"
1083 HSPACE="5"
1084 ALT="Note"></TD
1085 ><TD
1086 ALIGN="LEFT"
1087 VALIGN="TOP"
1089 >Under NO circumstances should the profile directory (or it's contents) be made read-only
1090 as this may render the profile un-usable.</P
1091 ></TD
1092 ></TR
1093 ></TABLE
1094 ></DIV
1096 >For MS Windows NT4/200x/XP the above method can be used to create mandatory profiles
1097 also. To convert a group profile into a mandatory profile simply locate the NTUser.DAT
1098 file in the copied profile and rename it to NTUser.MAN.</P
1100 >For MS Windows 9x / Me it is the User.DAT file that must be renamed to User.MAN to
1101 affect a mandatory profile.</P
1102 ></DIV
1103 ><DIV
1104 CLASS="SECT1"
1105 ><H1
1106 CLASS="SECT1"
1108 NAME="AEN3309"
1109 >18.3. Creating/Managing Group Profiles</A
1110 ></H1
1112 >Most organisations are arranged into departments. There is a nice benenfit in
1113 this fact since usually most users in a department will require the same desktop
1114 applications and the same desktop layout. MS Windows NT4/200x/XP will allow the
1115 use of Group Profiles. A Group Profile is a profile that is created firstly using
1116 a template (example) user. Then using the profile migration tool (see above) the
1117 profile is assigned access rights for the user group that needs to be given access
1118 to the group profile.</P
1120 >The next step is rather important. PLEASE NOTE: Instead of assigning a group profile
1121 to users (ie: Using User Manager) on a "per user" basis, the group itself is assigned
1122 the now modified profile.</P
1123 ><DIV
1124 CLASS="NOTE"
1126 ></P
1127 ><TABLE
1128 CLASS="NOTE"
1129 WIDTH="100%"
1130 BORDER="0"
1131 ><TR
1132 ><TD
1133 WIDTH="25"
1134 ALIGN="CENTER"
1135 VALIGN="TOP"
1136 ><IMG
1137 SRC="/usr/share/sgml/docbook/stylesheet/dsssl/modular/images/note.gif"
1138 HSPACE="5"
1139 ALT="Note"></TD
1140 ><TD
1141 ALIGN="LEFT"
1142 VALIGN="TOP"
1144 > Be careful with group profiles, if the user who is a member of a group also
1145 has a personal profile, then the result will be a fusion (merge) of the two.
1147 ></TD
1148 ></TR
1149 ></TABLE
1150 ></DIV
1151 ></DIV
1152 ><DIV
1153 CLASS="SECT1"
1154 ><H1
1155 CLASS="SECT1"
1157 NAME="AEN3315"
1158 >18.4. Default Profile for Windows Users</A
1159 ></H1
1161 >MS Windows 9x / Me and NT4/200x/XP will use a default profile for any user for whom
1162 a profile does not already exist. Armed with a knowledge of where the default profile
1163 is located on the Windows workstation, and knowing which registry keys affect the path
1164 from which the default profile is created, it is possible to modify the default profile
1165 to one that has been optimised for the site. This has significant administrative
1166 advantages.</P
1167 ><DIV
1168 CLASS="SECT2"
1169 ><H2
1170 CLASS="SECT2"
1172 NAME="AEN3318"
1173 >18.4.1. MS Windows 9x/Me</A
1174 ></H2
1176 >To enable default per use profiles in Windows 9x / Me you can either use the Windows 98 System
1177 Policy Editor or change the registry directly.</P
1179 >To enable default per user profiles in Windows 9x / Me, launch the System Policy Editor, then
1180 select File -&#62; Open Registry, then click on the Local Computer icon, click on Windows 98 System,
1181 select User Profiles, click on the enable box. Do not forget to save the registry changes.</P
1183 >To modify the registry directly, launch the Registry Editor (regedit.exe), select the hive
1185 CLASS="FILENAME"
1186 >HKEY_LOCAL_MACHINE\Network\Logon</TT
1187 >. Now add a DWORD type key with the name
1188 "User Profiles", to enable user profiles set the value to 1, to disable user profiles set it to 0.</P
1189 ><DIV
1190 CLASS="SECT3"
1191 ><H3
1192 CLASS="SECT3"
1194 NAME="AEN3324"
1195 >18.4.1.1. How User Profiles Are Handled in Windows 9x / Me?</A
1196 ></H3
1198 >When a user logs on to a Windows 9x / Me machine, the local profile path,
1200 CLASS="FILENAME"
1201 >HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\ProfileList</TT
1202 >, is checked
1203 for an existing entry for that user:</P
1205 >If the user has an entry in this registry location, Windows 9x / Me checks for a locally cached
1206 version of the user profile. Windows 9x / Me also checks the user's home directory (or other
1207 specified directory if the location has been modified) on the server for the User Profile.
1208 If a profile exists in both locations, the newer of the two is used. If the User Profile exists
1209 on the server, but does not exist on the local machine, the profile on the server is downloaded
1210 and used. If the User Profile only exists on the local machine, that copy is used.</P
1212 >If a User Profile is not found in either location, the Default User Profile from the Windows 9x / Me
1213 machine is used and is copied to a newly created folder for the logged on user. At log off, any
1214 changes that the user made are written to the user's local profile. If the user has a roaming
1215 profile, the changes are written to the user's profile on the server.</P
1216 ></DIV
1217 ></DIV
1218 ><DIV
1219 CLASS="SECT2"
1220 ><H2
1221 CLASS="SECT2"
1223 NAME="AEN3330"
1224 >18.4.2. MS Windows NT4 Workstation</A
1225 ></H2
1227 >On MS Windows NT4 the default user profile is obtained from the location
1229 CLASS="FILENAME"
1230 >%SystemRoot%\Profiles</TT
1231 > which in a default installation will translate to
1233 CLASS="FILENAME"
1234 >C:\WinNT\Profiles</TT
1235 >. Under this directory on a clean install there will be
1236 three (3) directories: <TT
1237 CLASS="FILENAME"
1238 >Administrator, All Users, Default User</TT
1239 >.</P
1241 >The <TT
1242 CLASS="FILENAME"
1243 >All Users</TT
1244 > directory contains menu settings that are common across all
1245 system users. The <TT
1246 CLASS="FILENAME"
1247 >Default User</TT
1248 > directory contains menu entries that are
1249 customisable per user depending on the profile settings chosen/created.</P
1251 >When a new user first logs onto an MS Windows NT4 machine a new profile is created from:</P
1253 ></P
1254 ><TABLE
1255 BORDER="0"
1256 ><TBODY
1257 ><TR
1258 ><TD
1259 >All Users settings</TD
1260 ></TR
1261 ><TR
1262 ><TD
1263 >Default User settings (contains the default NTUser.DAT file)</TD
1264 ></TR
1265 ></TBODY
1266 ></TABLE
1268 ></P
1270 >When a user logs onto an MS Windows NT4 machine that is a member of a Microsoft security domain
1271 the following steps are followed in respect of profile handling:</P
1273 ></P
1274 ><OL
1275 TYPE="1"
1276 ><LI
1278 > The users' account information which is obtained during the logon process contains
1279 the location of the users' desktop profile. The profile path may be local to the
1280 machine or it may be located on a network share. If there exists a profile at the location
1281 of the path from the user account, then this profile is copied to the location
1283 CLASS="FILENAME"
1284 >%SystemRoot%\Profiles\%USERNAME%</TT
1285 >. This profile then inherits the
1286 settings in the <TT
1287 CLASS="FILENAME"
1288 >All Users</TT
1289 > profile in the <TT
1290 CLASS="FILENAME"
1291 >%SystemRoot%\Profiles</TT
1293 location.
1295 ></LI
1296 ><LI
1298 > If the user account has a profile path, but at it's location a profile does not exist,
1299 then a new profile is created in the <TT
1300 CLASS="FILENAME"
1301 >%SystemRoot%\Profiles\%USERNAME%</TT
1303 directory from reading the <TT
1304 CLASS="FILENAME"
1305 >Default User</TT
1306 > profile.
1308 ></LI
1309 ><LI
1311 > If the NETLOGON share on the authenticating server (logon server) contains a policy file
1312 (<TT
1313 CLASS="FILENAME"
1314 >NTConfig.POL</TT
1315 >) then it's contents are applied to the <TT
1316 CLASS="FILENAME"
1317 >NTUser.DAT</TT
1319 which is applied to the <TT
1320 CLASS="FILENAME"
1321 >HKEY_CURRENT_USER</TT
1322 > part of the registry.
1324 ></LI
1325 ><LI
1327 > When the user logs out, if the profile is set to be a roaming profile it will be written
1328 out to the location of the profile. The <TT
1329 CLASS="FILENAME"
1330 >NTuser.DAT</TT
1331 > file is then
1332 re-created from the contents of the <TT
1333 CLASS="FILENAME"
1334 >HKEY_CURRENT_USER</TT
1335 > contents.
1336 Thus, should there not exist in the NETLOGON share an <TT
1337 CLASS="FILENAME"
1338 >NTConfig.POL</TT
1339 > at the
1340 next logon, the effect of the provious <TT
1341 CLASS="FILENAME"
1342 >NTConfig.POL</TT
1343 > will still be held
1344 in the profile. The effect of this is known as <SPAN
1345 CLASS="emphasis"
1347 CLASS="EMPHASIS"
1348 >tatooing</I
1349 ></SPAN
1352 ></LI
1353 ></OL
1355 >MS Windows NT4 profiles may be <SPAN
1356 CLASS="emphasis"
1358 CLASS="EMPHASIS"
1359 >Local</I
1360 ></SPAN
1361 > or <SPAN
1362 CLASS="emphasis"
1364 CLASS="EMPHASIS"
1365 >Roaming</I
1366 ></SPAN
1367 >. A Local profile
1368 will stored in the <TT
1369 CLASS="FILENAME"
1370 >%SystemRoot%\Profiles\%USERNAME%</TT
1371 > location. A roaming profile will
1372 also remain stored in the same way, unless the following registry key is created:</P
1374 ><PRE
1375 CLASS="PROGRAMLISTING"
1376 > HKEY_LOCAL_MACHINE\SYSTEM\Software\Microsoft\Windows NT\CurrentVersion\winlogon\
1377 "DeleteRoamingCache"=dword:00000001</PRE
1380 In which case, the local copy (in <TT
1381 CLASS="FILENAME"
1382 >%SystemRoot%\Profiles\%USERNAME%</TT
1383 >) will be
1384 deleted on logout.</P
1386 >Under MS Windows NT4 default locations for common resources (like <TT
1387 CLASS="FILENAME"
1388 >My Documents</TT
1390 may be redirected to a network share by modifying the following registry keys. These changes may be affected
1391 via use of the System Policy Editor (to do so may require that you create your owns template extension
1392 for the policy editor to allow this to be done through the GUI. Another way to do this is by way of first
1393 creating a default user profile, then while logged in as that user, run regedt32 to edit the key settings.</P
1395 >The Registry Hive key that affects the behaviour of folders that are part of the default user profile
1396 are controlled by entries on Windows NT4 is:</P
1398 ><PRE
1399 CLASS="PROGRAMLISTING"
1400 > HKEY_CURRENT_USER
1401 \Software
1402 \Microsoft
1403 \Windows
1404 \CurrentVersion
1405 \Explorer
1406 \User Shell Folders\</PRE
1407 ></P
1409 >The above hive key contains a list of automatically managed folders. The default entries are:</P
1411 > <PRE
1412 CLASS="PROGRAMLISTING"
1413 > Name Default Value
1414 -------------- -----------------------------------------
1415 AppData %USERPROFILE%\Application Data
1416 Desktop %USERPROFILE%\Desktop
1417 Favorites %USERPROFILE%\Favorites
1418 NetHood %USERPROFILE%\NetHood
1419 PrintHood %USERPROFILE%\PrintHood
1420 Programs %USERPROFILE%\Start Menu\Programs
1421 Recent %USERPROFILE%\Recent
1422 SendTo %USERPROFILE%\SendTo
1423 Start Menu %USERPROFILE%\Start Menu
1424 Startup %USERPROFILE%\Start Menu\Programs\Startup
1425 </PRE
1429 >The registry key that contains the location of the default profile settings is:
1431 <PRE
1432 CLASS="PROGRAMLISTING"
1433 > HKEY_LOCAL_MACHINE
1434 \SOFTWARE
1435 \Microsoft
1436 \Windows
1437 \CurrentVersion
1438 \Explorer
1439 \User Shell Folders</PRE
1442 The default entries are:
1444 <PRE
1445 CLASS="PROGRAMLISTING"
1446 > Common Desktop %SystemRoot%\Profiles\All Users\Desktop
1447 Common Programs %SystemRoot%\Profiles\All Users\Programs
1448 Common Start Menu %SystemRoot%\Profiles\All Users\Start Menu
1449 Common Startu p %SystemRoot%\Profiles\All Users\Start Menu\Progams\Startup</PRE
1450 ></P
1451 ></DIV
1452 ><DIV
1453 CLASS="SECT2"
1454 ><H2
1455 CLASS="SECT2"
1457 NAME="AEN3384"
1458 >18.4.3. MS Windows 200x/XP</A
1459 ></H2
1460 ><DIV
1461 CLASS="NOTE"
1463 ></P
1464 ><TABLE
1465 CLASS="NOTE"
1466 WIDTH="100%"
1467 BORDER="0"
1468 ><TR
1469 ><TD
1470 WIDTH="25"
1471 ALIGN="CENTER"
1472 VALIGN="TOP"
1473 ><IMG
1474 SRC="/usr/share/sgml/docbook/stylesheet/dsssl/modular/images/note.gif"
1475 HSPACE="5"
1476 ALT="Note"></TD
1477 ><TD
1478 ALIGN="LEFT"
1479 VALIGN="TOP"
1481 > MS Windows XP Home Edition does use default per user profiles, but can not participate
1482 in domain security, can not log onto an NT/ADS style domain, and thus can obtain the profile
1483 only from itself. While there are benefits in doing this the beauty of those MS Windows
1484 clients that CAN participate in domain logon processes allows the administrator to create
1485 a global default profile and to enforce it through the use of Group Policy Objects (GPOs).
1487 ></TD
1488 ></TR
1489 ></TABLE
1490 ></DIV
1492 >When a new user first logs onto MS Windows 200x/XP machine the default profile is obtained from
1494 CLASS="FILENAME"
1495 >C:\Documents and Settings\Default User</TT
1496 >. The administrator can modify (or change
1497 the contents of this location and MS Windows 200x/XP will gladly user it. This is far from the optimum
1498 arrangement since it will involve copying a new default profile to every MS Windows 200x/XP client
1499 workstation. </P
1501 >When MS Windows 200x/XP participate in a domain security context, and if the default user
1502 profile is not found, then the client will search for a default profile in the NETLOGON share
1503 of the authenticating server. ie: In MS Windows parlance:
1505 CLASS="FILENAME"
1506 >%LOGONSERVER%\NETLOGON\Default User</TT
1507 > and if one exits there it will copy this
1508 to the workstation to the <TT
1509 CLASS="FILENAME"
1510 >C:\Documents and Settings\</TT
1511 > under the Windows
1512 login name of the user.</P
1513 ><DIV
1514 CLASS="NOTE"
1516 ></P
1517 ><TABLE
1518 CLASS="NOTE"
1519 WIDTH="100%"
1520 BORDER="0"
1521 ><TR
1522 ><TD
1523 WIDTH="25"
1524 ALIGN="CENTER"
1525 VALIGN="TOP"
1526 ><IMG
1527 SRC="/usr/share/sgml/docbook/stylesheet/dsssl/modular/images/note.gif"
1528 HSPACE="5"
1529 ALT="Note"></TD
1530 ><TD
1531 ALIGN="LEFT"
1532 VALIGN="TOP"
1534 > This path translates, in Samba parlance, to the smb.conf [NETLOGON] share. The directory
1535 should be created at the root of this share and msut be called <TT
1536 CLASS="FILENAME"
1537 >Default Profile</TT
1540 ></TD
1541 ></TR
1542 ></TABLE
1543 ></DIV
1545 >If a default profile does not exist in this location then MS Windows 200x/XP will use the local
1546 default profile.</P
1548 >On loging out, the users' desktop profile will be stored to the location specified in the registry
1549 settings that pertain to the user. If no specific policies have been created, or passed to the client
1550 during the login process (as Samba does automatically), then the user's profile will be written to
1551 the local machine only under the path <TT
1552 CLASS="FILENAME"
1553 >C:\Documents and Settings\%USERNAME%</TT
1554 >.</P
1556 >Those wishing to modify the default behaviour can do so through up to three methods:</P
1558 ></P
1559 ><UL
1560 ><LI
1562 > Modify the registry keys on the local machine manually and place the new default profile in the
1563 NETLOGON share root - NOT recommended as it is maintenance intensive.
1565 ></LI
1566 ><LI
1568 > Create an NT4 style NTConfig.POL file that specified this behaviour and locate this file
1569 in the root of the NETLOGON share along with the new default profile.
1571 ></LI
1572 ><LI
1574 > Create a GPO that enforces this through Active Directory, and place the new default profile
1575 in the NETLOGON share.
1577 ></LI
1578 ></UL
1580 >The Registry Hive key that affects the behaviour of folders that are part of the default user profile
1581 are controlled by entries on Windows 200x/XP is:</P
1583 ><PRE
1584 CLASS="PROGRAMLISTING"
1585 > HKEY_CURRENT_USER
1586 \Software
1587 \Microsoft
1588 \Windows
1589 \CurrentVersion
1590 \Explorer
1591 \User Shell Folders\</PRE
1592 ></P
1594 >The above hive key contains a list of automatically managed folders. The default entries are:</P
1596 > <PRE
1597 CLASS="PROGRAMLISTING"
1598 > Name Default Value
1599 -------------- -----------------------------------------
1600 AppData %USERPROFILE%\Application Data
1601 Cache %USERPROFILE%\Local Settings\Temporary Internet Files
1602 Cookies %USERPROFILE%\Cookies
1603 Desktop %USERPROFILE%\Desktop
1604 Favorites %USERPROFILE%\Favorites
1605 History %USERPROFILE%\Local Settings\History
1606 Local AppData %USERPROFILE%\Local Settings\Application Data
1607 Local Settings %USERPROFILE%\Local Settings
1608 My Pictures %USERPROFILE%\My Documents\My Pictures
1609 NetHood %USERPROFILE%\NetHood
1610 Personal %USERPROFILE%\My Documents
1611 PrintHood %USERPROFILE%\PrintHood
1612 Programs %USERPROFILE%\Start Menu\Programs
1613 Recent %USERPROFILE%\Recent
1614 SendTo %USERPROFILE%\SendTo
1615 Start Menu %USERPROFILE%\Start Menu
1616 Startup %USERPROFILE%\Start Menu\Programs\Startup
1617 Templates %USERPROFILE%\Templates
1618 </PRE
1622 >There is also an entry called "Default" that has no value set. The default entry is of type REG_SZ, all
1623 the others are of type REG_EXPAND_SZ.</P
1625 >It makes a huge difference to the speed of handling roaming user profiles if all the folders are
1626 stored on a dedicated location on a network server. This means that it will NOT be necessary to
1627 write Outlook PST file over the network for every login and logout.</P
1629 >To set this to a network location you could use the following examples:
1631 <PRE
1632 CLASS="PROGRAMLISTING"
1633 > %LOGONSERVER%\%USERNAME%\Default Folders</PRE
1636 This would store the folders in the user's home directory under a directory called "Default Folders"
1638 You could also use:
1640 <PRE
1641 CLASS="PROGRAMLISTING"
1642 > \\SambaServer\FolderShare\%USERNAME%</PRE
1645 in which case the default folders will be stored in the server named <SPAN
1646 CLASS="emphasis"
1648 CLASS="EMPHASIS"
1649 >SambaServer</I
1650 ></SPAN
1652 in the share called <SPAN
1653 CLASS="emphasis"
1655 CLASS="EMPHASIS"
1656 >FolderShare</I
1657 ></SPAN
1658 > under a directory that has the name of the MS Windows
1659 user as seen by the Linux/Unix file system.</P
1661 >Please note that once you have created a default profile share, you MUST migrate a user's profile
1662 (default or custom) to it.</P
1664 >MS Windows 200x/XP profiles may be <SPAN
1665 CLASS="emphasis"
1667 CLASS="EMPHASIS"
1668 >Local</I
1669 ></SPAN
1670 > or <SPAN
1671 CLASS="emphasis"
1673 CLASS="EMPHASIS"
1674 >Roaming</I
1675 ></SPAN
1677 A roaming profile will be cached locally unless the following registry key is created:</P
1679 ><PRE
1680 CLASS="PROGRAMLISTING"
1681 > HKEY_LOCAL_MACHINE\SYSTEM\Software\Microsoft\Windows NT\CurrentVersion\winlogon\
1682 "DeleteRoamingCache"=dword:00000001</PRE
1685 In which case, the local cache copy will be deleted on logout.</P
1686 ></DIV
1687 ></DIV
1688 ></DIV
1689 ><DIV
1690 CLASS="NAVFOOTER"
1691 ><HR
1692 ALIGN="LEFT"
1693 WIDTH="100%"><TABLE
1694 SUMMARY="Footer navigation table"
1695 WIDTH="100%"
1696 BORDER="0"
1697 CELLPADDING="0"
1698 CELLSPACING="0"
1699 ><TR
1700 ><TD
1701 WIDTH="33%"
1702 ALIGN="left"
1703 VALIGN="top"
1705 HREF="policymgmt.html"
1706 ACCESSKEY="P"
1707 >Prev</A
1708 ></TD
1709 ><TD
1710 WIDTH="34%"
1711 ALIGN="center"
1712 VALIGN="top"
1714 HREF="samba-howto-collection.html"
1715 ACCESSKEY="H"
1716 >Home</A
1717 ></TD
1718 ><TD
1719 WIDTH="33%"
1720 ALIGN="right"
1721 VALIGN="top"
1723 HREF="interdomaintrusts.html"
1724 ACCESSKEY="N"
1725 >Next</A
1726 ></TD
1727 ></TR
1728 ><TR
1729 ><TD
1730 WIDTH="33%"
1731 ALIGN="left"
1732 VALIGN="top"
1733 >System and Account Policies</TD
1734 ><TD
1735 WIDTH="34%"
1736 ALIGN="center"
1737 VALIGN="top"
1739 HREF="optional.html"
1740 ACCESSKEY="U"
1741 >Up</A
1742 ></TD
1743 ><TD
1744 WIDTH="33%"
1745 ALIGN="right"
1746 VALIGN="top"
1747 >Interdomain Trust Relationships</TD
1748 ></TR
1749 ></TABLE
1750 ></DIV
1751 ></BODY
1752 ></HTML