Roaming Profile " Can't create a file when that file already exist"

P

post101

We have W2K SP4 When a user logs off they receive the message " Windows can
not copy file C: Documents and Settings\profilename\start
menu\programs\startup to location \server\profiles\profilename " Contact
your network administrators Detail- Can not create a file when that file
already exist.

I checked the following:
1) the user is the owner and has full control
2) Doc and settings is set to "allow inheritable" at the root on the local
machine
3) The GPO is set to limit a roaming user profile size; however none of
these profiles are close to the max size

Thanks,
 
C

Chriss3

Make sure the user has FC to all child objects to the his/she's profile, if
not replace the permission.

also check the permission of the network share, make sure users effective
rights are FC
 
P

post101

If the user is the owner of the folder wouldn't he/she have FC to all child
object ( I ask because I am new to this field and I'm still learning) and
if not how do I check all of the child objects

Also, you stated "also check the permission of the network share, make sure
users effective
rights are FC"
We are using DFS , do I need to check the "everyone" group on DFS and the
Profile Folder to make sure that the "everyone" group has full control or
do I need to make sure that the domain group for the user has Full Control.

Thanks for your help!
 
C

Chriss3

inline/

--
Regards,

Christoffer Andersson
No email replies please - reply in the newsgroup
post101 said:
If the user is the owner of the folder wouldn't he/she have FC to all
child

Thats not sure, becuse you can applie rights to just to the folder, or to
folders and subfolders and files etc.

You can replace the premission to take effect on chilld objects.
object ( I ask because I am new to this field and I'm still learning) and
if not how do I check all of the child objects

Also, you stated "also check the permission of the network share, make sure
users effective
We are using DFS , do I need to check the "everyone" group on DFS and the
Profile Folder to make sure that the "everyone" group has full control or
do I need to make sure that the domain group for the user has Full
Control.

even if you use DFS you have a share, and FC for the Domain Users Group
should be finne.
 
P

post101

I gathered more information today.
I looked in the userenv.log and after one of the user's logged off, this is
what I see:
USERENV(1b8.1bc) 15:25:03:754 ProcessFiles: Failed to deleted <C:\Documents
and Settings\user'sname\Start Menu\Programs\MSN Messenger Service.lnk> with
2

USERENV(904.908) 15:37:55:743 DeleteProfile: Failed to delete the appmgmt
dir
C:\WINNT\system32\appmgmt\S-1-5-21-1730247397-1018633608-2121680497-6196,
error 2

USERENV(904.908) 15:37:55:763 DeleteProfile: Failed to delete rsop data

USERENV(904.908) 15:38:22:501 DeleteProfile: Failed to delete the appmgmt
dir
C:\WINNT\system32\appmgmt\S-1-5-21-1730247397-1018633608-2121680497-6202,
error 2

USERENV(904.908) 15:38:22:521 DeleteProfile: Failed to delete rsop data

USERENV(904.908) 15:38:53:376 DeleteProfile: Failed to delete the appmgmt
dir
C:\WINNT\system32\appmgmt\S-1-5-21-1730247397-1018633608-2121680497-6205,
error 2

USERENV(904.908) 15:38:53:386 DeleteProfile: Failed to delete rsop data

USERENV(1b8.1bc) 16:23:51:976 MyRegUnLoadKey: Failed to unmount hive
00000005

USERENV(1b8.1bc) 16:23:52:006 DumpOpenRegistryHandle: 14 user registry
Handles leaked from
\Registry\User\S-1-5-21-1730247397-1018633608-2121680497-76340

USERENV(1b8.1bc) 16:23:52:006 UnloadUserProfileP: Didn't unload user profile
<err = 5>

USERENV(1b8.1bc) 16:23:54:360 ReconcileFile: Unable to open temporary file

USERENV(1b8.1bc) 16:23:54:810 CreateNestedDirectory: CreateDirectory failed
with 183.

USERENV(1b8.1bc) 16:23:54:810 ReconcileDirectory: Failed to create the
destination directory <E:\org\profiles\user'sname\Application
Data\Sun\Java\Deployment>. Error = 183

USERENV(1b8.1bc) 16:23:54:820 CopyProfileDirectoryEx: Failed to create the
destination directory <E:\org\profiles\user'sname\Application
Data\Sun\Java\Deployment>. Error = 183

USERENV(1b8.1bc) 16:23:54:840 ReportError: Impersonating user.

1) I checked the Profiles (Share Folder) and the user has FC and FC to all
their folder and subfolders.

2) The administrator group is the owner of the Profiles Folder (I read in
one of the Microsoft Tech Articles that the administrator not a member of
the administrator group must be the owner of the Profile Folder)

Any IDeas?
 
P

post101

Thanks! Chriss3 and Christoffer Andersson,
I enabled Userenv.log on our Windows 2000 SP4 and noticed messages about
"windows will try unloading the registry hive once a second for the next 60
seconds (max)
MyRegunloadkey: Windows was not able to unload the registry hive.
MyRegUnload Key" failed to unmount hive 5
UnNloadUser Profile " Didn't unload user profile <error = 5>
It appears that when Windows attempts to copy these files as part of the
roaming profile synchronization process it fails( Didn't unload user
profile) because the registry hive is locked.
I can not tell by looking at the Userenv.log which application ( or
applications) locked the registry; however, a few people in this newsgroup
have mentioned oh.exe. According to them Oh.exe can identify which
applications are locking the registry. Does Microsoft have documentation on
how to use OH.exe.? Also I noticed several errors in these Userenv log,
for example
in my last posting it had error 2, error 5 and error 183
Where can I find a list of descriptions for these errors?

Thanks again
 
D

Diana Smith [MSFT]

Hello,

At Microsoft, we use a utility called Uphclean:

In the past these issues have been fixed by changes to code to release the
registry handle. The disadvantage of this approach is that in many cases
multiple issues
(different code paths) are causing the profiles to not unload. Unless all
problem code paths are fixed profiles do not unload.

The concept of UPHClean is to deal with these the same way the operating
system deals with other resource issue: when a task is done resources
(memory, handles, etc) are automatically reclaimed.

UPHClean accomplishes this simply by monitoring for users to log off and
verifying that unused resources are reclaimed. If they are not it reclaims
the resource and logs its action. This approach is superior as it works for
any known reason that profiles do not unload and also will keep working to
address new unknown issues.

Another advantage to UPHClean is that no computer restart is required to
install it or remove it (except on Windows NT 4). You can install and remove
UPHClean to find out whether it helps with a profile unload problem or not.
You can do this without having to worry about what hotfix, service pack,
feature pack, etc has been installed. Set it and forget is the goal of
UPHClean.

By default UPHClean takes action to allow profiles to unload. You can also
choose to have UPHClean only report what processes it finds preventing
profiles from
unloading.

Thank You.

Diana.

This posting is provided "AS IS" with no warranties, and confers no rights.
 
P

post101

Diana,

Does UPHClean need to be applied to the Server or each workstation? Also
can we purchase this utility from Microsoft and what can of license do we
need?
My last question is, the error codes that I mentioned from the Userenv.log
where can I find a description of each error code?

Thanks so much!
 
D

Diana Smith [MSFT]

Hello,

Yes, uphclean needs to be installed on the servers.

You can contact Microsoft to obtain this free utility.

In reference to the errors:
319909 A User May Experience a Slow Logoff Process Because of an Open
Registry
http://support.microsoft.com/?id=319909

253820 Roaming User Profiles Do Not Unload
http://support.microsoft.com/?id=253820

285192 Msinfo32.exe Causes Userenv Event ID 1000 in Windows 2000
http://support.microsoft.com/?id=285192

327984 Your Profile Is Not Unloaded If You Change Printer Settings and Then
Log
http://support.microsoft.com/?id=327984

Thank You.

Diana.

This posting is provided "AS IS" with no warranties, and confers no rights.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top