Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Roaming profiles

Status
Not open for further replies.
Mar 4, 1999
2
NZ
We have this strange problem here...<br>
<br>
We're using Netware 4.11 (server) and NT 4.0 SP4 (workstations).<br>
<br>
We're using the NetWare Client for NT 4.5 and have tried 4.6, as well as<br>
using the MS Client for NetWare. It's not a client related issue then...<br>
<br>
We're setting the roaming profile location (it's on a NetWare server) from<br>
within User Manager for Domains.<br>
<br>
Anyway, here's the problem... I can recreate it every time.<br>
<br>
When a user logs into the network, on Machine1, for the first time, a new<br>
profile is created locally. The user creates file1.txt on the desktop.<br>
When they log off, the ntuser.dat, all desktop files and Favorites etc are<br>
copied up normally. This part works as expected. I can view the contents<br>
of their home directory. File1.txt is there.<br>
<br>
The user logs onto Machine2. This is the first time that the user has<br>
logged into this machine.<br>
Their ntuser.dat is copied down and implemented correctly and file1.txt<br>
appears on the desktop.<br>
The user deletes file1.txt and creates a new file2.txt on their desktop.<br>
They log off. The ntuser.dat and file2.txt are copied correctly up to the<br>
server. File1.txt is deleted from their roaming profile.<br>
<br>
Up until now, everything is working as expected. Here's where it gets<br>
weird.<br>
<br>
The user logs back onto Machine1. Remember that on the locally stored<br>
profile, there was a file1.txt on the desktop. This file does not exist in<br>
the roaming profile, and I expected that file1.txt would be deleted, but<br>
it's not. It seems to combine the two profiles in terms of desktop files<br>
and Favorites etc. File1.txt is there (but it is in a different location on<br>
the desktop) and file2.txt is also there.<br>
When the user logs off file1 and file2 are copied up to the server and are<br>
then part of the roaming profile.<br>
<br>
If the user logs onto Machine2, both files will appear on the desktop. <br>
<br>
What this means is that you want to delete a file off the desktop and keep<br>
it from reappearing, you need to go around to every machine that you've ever<br>
logged onto while that file has existed and delete it. Our users couldn't<br>
handle that.<br>
<br>
There is a policy setting to "delete cached copies of roaming profiles" but<br>
the problem with that is that it is a Default computer setting. We have a<br>
few laptops in the organization and we rely on the cached profile so they<br>
can log in. If we were to make exceptions for laptops, we'd have to create<br>
a policy for each laptop in the organization, because there are no computer<br>
"groups".<br>
<br>
Can ANYONE help?<br>

 
Not sure if this will help....<br>
<br>
PSS ID Number: Q191416<br>
Article last modified on 08-14-1998<br>
<br>
WINDOWS:<br>
<br>
WINDOWS<br>
<br>
<br>
======================================================================<br>
---------------------------------------------------------------------<br>
The information in this article applies to:<br>
<br>
- Microsoft Windows 98<br>
---------------------------------------------------------------------<br>
<br>
SYMPTOMS<br>
========<br>
<br>
When you try to use roaming profiles, the profiles may not update<br>
correctly.<br>
<br>
CAUSE<br>
=====<br>
<br>
This issue can occur if you are using different NetWare network clients on<br>
different Windows 98-based computers. The Novell NetWare Client32 version<br>
2.2 program stores roaming user profiles in a different location than the<br>
Microsoft Client for NetWare Networks using the same user account. Because<br>
these profiles are stored in different locations, these profiles can not<br>
be correctly updated between two computers that are running different<br>
clients.<br>
<br>
RESOLUTION<br>
==========<br>
<br>
To resolve this issue, use the same client configuration on all of the<br>
computers you want to use roaming profiles with. For information about how<br>
to do so, contact your system administrator.<br>
<br>
MORE INFORMATION<br>
================<br>
<br>
The third-party product discussed in this article is manufactured by a<br>
vendor independent of Microsoft; we make no warranty, implied or<br>
otherwise, regarding this product's performance or reliability.<br>
<br>
The Novell NetWare Client32 version 2.2 program stores roaming user<br>
profiles in the USER\&lt;username&gt; folder. The Microsoft Client for NetWare<br>
Networks stores roaming user profiles in the SYS\Mail folder. Microsoft<br>
Service for NetWare Directory Services (MSNDS) stores roaming user<br>
profiles in the Home folder.<br>
<br>
Additional query words: 98<br>
======================================================================<br>
Keywords : kb3rdparty kbnetwork 3rdpartynet win98<br>
Version : WINDOWS:<br>
Platform : WINDOWS<br>
Issue type : kbprb<br>
=============================================================================<br>
Copyright Microsoft Corporation 1998.<br>
<br>
<br>
<br>
----------------------------------------------------------------<br>
<br>
<br>
<br>
PSS ID Number: Q154120<br>
Article last modified on 12-17-1998<br>
<br>
WinNT:4.0<br>
<br>
winnt<br>
<br>
<br>
======================================================================<br>
--------------------------------------------------------------------------<br>
The information in this article applies to:<br>
<br>
- Microsoft Windows NT Server version 4.0<br>
- Microsoft Windows NT Server version 4.0, Terminal Server Edition<br>
--------------------------------------------------------------------------<br>
<br>
IMPORTANT: This article contains information about editing the registry.<br>
Before you edit the registry, make sure you understand how to restore it<br>
if a problem occurs. For information on how to do this, view the<br>
"Restoring the Registry" online Help topic in Regedit.exe or the<br>
"Restoring a Registry Key" online Help topic in Regedt32.exe.<br>
<br>
SUMMARY<br>
=======<br>
<br>
The checked version of Userenv.dll, in conjunction with a registry entry,<br>
creates a log file useful in troubleshooting and debugging problems with<br>
roaming profiles and system policies on Microsoft Windows NT version 4.0<br>
clients.<br>
<br>
MORE INFORMATION<br>
================<br>
<br>
To enable the log file:<br>
<br>
1. Rename the Userenv.dll file in the %Windir%\System32 directory to<br>
Usernv.orig or the unique name of your choice.<br>
<br>
2. Copy the checked version of Userenv.dll to the %Windir%\System32<br>
directory of the client computer that you want to debug. The checked<br>
version of the Userenv file must match the version of the operating<br>
system being used.<br>
<br>
WARNING: Using Registry Editor incorrectly can cause serious problems that<br>
may require you to reinstall your operating system. Microsoft cannot<br>
guarantee that problems resulting from the incorrect use of Registry<br>
Editor can be solved. Use Registry Editor at your own risk.<br>
<br>
For information about how to edit the registry, view the "Changing Keys<br>
And Values" online Help topic in Registry Editor (Regedit.exe) or the "Add<br>
and Delete Information in the Registry" and "Edit Registry Data" online<br>
Help topics in Regedt32.exe. Note that you should back up the registry<br>
before you edit it.<br>
<br>
3. Start Regedt32 and locate the following path:<br>
<br>
HKEY_LOCAL_MACHINE\Software\Microsoft\WindowsNT\CurrentVersion<br>
\Winlogon<br>
<br>
NOTE: The above registry key is one path; it has been wrapped for<br>
readability.<br>
<br>
4. Create a new value called UserEnvDebugLevel as a reg_dword. Assign<br>
the value 10002 in hexadecimal format.<br>
<br>
5. Restart the computer with the .dll and registry changes<br>
in place.<br>
<br>
Log information will be recorded in the root directory of drive C as<br>
Userenv.log and can be viewed with Notepad, WordPad, or the text editor of<br>
your choice.<br>
<br>
Information displayed in the log includes: profile path, profile type,<br>
system policy path (useful to determine which server the Ntconfig.pol file<br>
was pulled from), whether the profile was successfully loaded and unloaded<br>
at the client, and if the remote profile is newer than the local profile.<br>
<br>
A sample Userenv.log based on the following information is shown below.<br>
<br>
Username = profile<br>
Profile path defined in User Manager =<br>
PDCServerName\Profiles\%username%<br>
Domain Controller = PDCServerName<br>
System Policy Path: PDCServerName\Netlogon<br>
<br>
NOTE: The response to the seventeenth line<br>
<br>
Profile is not reachable, error = 2<br>
<br>
is normal as a check is made for the existence of a mandatory profile path<br>
being defined in User Manager for Domains<br>
(Servername\Sharename\%Username%.man). Mandatory profiles were not used in<br>
this example, so the test fails.<br>
<br>
--------------------------------------------------------------------------<br>
LoadUserProfile: Entering, hToken = &lt;0xa8&gt;, lpProfileInfo = 0x12f4e8<br>
LoadUserProfile: lpProfileInfo-&gt;dwFlags = &lt;0x2&gt;<br>
LoadUserProfile: lpProfileInfo-&gt;lpUserName = &lt;profile&gt;<br>
LoadUserProfile: lpProfileInfo-&gt;lpProfilePath =<br>
&lt;\\PDCServerName\profiles\profile&gt;<br>
LoadUserProfile: lpProfileInfo-&gt;lpDefaultPath =<br>
&lt;\\PDCServerName\netlogon\Default User&gt;<br>
LoadUserProfile: lpProfileInfo-&gt;lpServerName = &lt;\\PDCServerName&gt;<br>
LoadUserProfile: lpProfileInfo-&gt;lpPolicyPath =<br>
&lt;\\PDCServerName\netlogon\ntconfig.pol&gt;<br>
ParseProfilePath: Entering, lpProfilePath =<br>
&lt;\\PDCServerName\profiles\profile&gt;<br>
ParseProfilePath: Tick Count = 60<br>
ParseProfilePath: FindFirstFile found something with attributes &lt;0x10&gt;<br>
ParseProfilePath: Found a directory<br>
LoadUserProfile: ParseProfilePath returned a directory of<br>
&lt;\\PDCServerName\profiles\profile&gt;<br>
RestoreUserProfile: Entering<br>
RestoreUserProfile: Profile path = &lt;\\PDCServerName\profiles\profile&gt;<br>
RestoreUserProfile: User is a Admin<br>
IsCentralProfileReachable: Entering<br>
IsCentralProfileReachable: Testing<br>
&lt;\\PDCServerName\profiles\profile\ntuser.man&gt;<br>
IsCentralProfileReachable: Profile is not reachable, error = 2<br>
IsCentralProfileReachable: Testing<br>
&lt;\\PDCServerName\profiles\profile\ntuser.dat&gt;<br>
IsCentralProfileReachable: Found a user profile.<br>
RestoreUserProfile: Central Profile is reachable<br>
RestoreUserProfile: Central Profile is floating<br>
GetLocalProfileImage: Found entry in profile list for existing local<br>
profile<br>
GetLocalProfileImage: Local profile image filename =<br>
&lt;%SystemRoot%\Profiles\profile&gt;<br>
GetLocalProfileImage: Expanded local profile image filename =<br>
&lt;C:\WINNT\Profiles\profile&gt;<br>
GetLocalProfileImage: Found local profile image file ok<br>
&lt;C:\WINNT\Profiles\profile\ntuser.dat&gt;<br>
Local profile is reachable<br>
Local profile name is &lt;C:\WINNT\Profiles\profile&gt;<br>
RestoreUserProfile: About to call UpdateToLatestProfile<br>
UpdateToLatestProfile: Entering. Central =<br>
&lt;\\PDCServerName\profiles\profile&gt;<br>
Local = &lt;C:\WINNT\Profiles\profile&gt;<br>
UpdateToLatestProfile: Central and local profile times match.<br>
RestoreUserProfile: About to Leave. Final Information follows:<br>
Profile was successfully loaded.<br>
lpProfile-&gt;szCentralProfile = &lt;\\PDCServerName\profiles\profile&gt;<br>
lpProfile-&gt;szLocalProfile = &lt;C:\WINNT\Profiles\profile&gt;<br>
lpProfile-&gt;dwInternalFlags = 0x112<br>
RestoreUserProfile: Leaving.<br>
UpgradeProfile: Entering<br>
UpgradeProfile: Build numbers match<br>
UpgradeProfile: Leaving Successfully<br>
ApplyPolicy: Entering<br>
ApplyPolicy: PolicyPath is: &lt;\\PDCServerName\netlogon\ntconfig.pol&gt;.<br>
ReconcileFile: \\PDCServerName\netlogon\ntconfig.pol ==&gt;<br>
C:\WINNT\Profiles\Policy\ntconfig.pol [OK]<br>
ApplyPolicy: Local PolicyPath is:<br>
&lt;C:\WINNT\Profiles\Policy\ntconfig.pol&gt;.<br>
ApplyPolicy: Leaving succesfully.<br>
LoadUserProfile: Leaving with a value of 1. hProfile = &lt;0x90&gt;<br>
--------------------------------------------------------------------------<br>
<br>
Below is a successful logoff and update by the client of the server-<br>
based roaming profile.<br>
<br>
--------------------------------------------------------------------------<br>
UnloadUserProfile: Entering, hProfile = &lt;0xe0&gt;<br>
UnloadUserProfile: Succesfully unloaded profile<br>
UnloadUserProfile: Copying profile back to<br>
\\PDCServerName\profiles\profile<br>
CopyProfileDirectory: Entering, lpSourceDir = &lt;C:\WINNT\Profiles\profile&gt;,<br>
lpDestinationDir = &lt;\\PDCServerName\profiles\profile&gt;, dwFlags = 0x32<br>
ReconcileFile: C:\WINNT\Profiles\profile\NTUSER.DAT ==&gt;<br>
\\PDCServerName\profiles\profile\NTUSER.DAT [OK]<br>
ReconcileFile: C:\WINNT\Profiles\profile\ntuser.dat.LOG ==&gt;<br>
\\PDCServerName\profiles\profile\ntuser.dat.LOG [OK]<br>
CopyProfileDirectory: Leaving with a return value of 1<br>
UnloadUserProfile: Leaving with a return value of 1<br>
--------------------------------------------------------------------------<br>
<br>
Additional query words: ntfaqdom<br>
======================================================================<br>
Keywords : nthowto NTSrv<br>
Version : WinNT:4.0<br>
Platform : winnt<br>
Issue type : kbhowto<br>
=============================================================================<br>
Copyright Microsoft Corporation 1998.<br>
<br>
<br>
<br>
<br>
<br>

 
Really you shouldn't have anything except shortcuts on your desktop because it takes excess amount of time to download from your profile to the client. Especially if the person is long distance .
 
I'm not sure I entirely trust the Microsoft answer for Novell questions. For one thing, the profiles are placed by Client32 in the SYS:MAIL directory, not USERS.... at least on our server. I have no troubles with the profiles on our Netware servers, but those which go to our NT box are showing similar troubles, but no Novell clients are involved!
 
I've worked extensively with profiles and policies, and I've found that if you are using roaming profiles, the best way to keep them up to date is to use Poledit.exe on the client, go into the System setting, I think, and tell the workstation to "Delete Local Copies of Profiles". If you run Poledit.exe, then select OPen, Local Registry, then click on Local Computer, it will be one of the last settings you can change. That way, whenever a user logs onto the computer, they are forced to get the most recent up to date profile from your profile server.<br>
<br>
<br>
Later
 
This is not a MAC your using. Don't put stuff on the desktop and you won't have this problem. I have seen many people use the desktop as a workspace, extracting zips to it, opening up new documents, etc... This is not what it was designed for! If your real desktop (the formica one) looked like a mess it would be a mark against your character. Use a network folder for your work and you'll be able to delete things from anywhere w/o having to repeat the process at each PC you have visited. Let's look at this another way...<br>
Ow!! each time I put my finger in this light socket, I get a shock! Maybe I should not put my finger in lightsockets. The shock is not a malfunction. The socket was simply intended for other uses. Now, you could paint the socket w/ rubber paint and stop the shock, but... I give up, you'll figure it out eventually!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top