PC Review


Reply
Thread Tools Rate Thread

Roaming profile filelock problem

 
 
Brian Kirkegaard
Guest
Posts: n/a
 
      19th Nov 2003
We are using roaming profiles with all of our users on Windows XP, but are
having problems deleting the profiles again from the client computers!

On the client computers (Windows XP) the profiles are supposed to be
automatically deleted when the user logs out. This is done using GP and it
has been working before. But now the profiles are no longer deleted.

When the user logs out the profile is still present in the C:\Documents and
Settings, and if we log on to the computer using an administrative account
and tries to delete the folder manually we get a "Error Deleting File or
Folder" error message.
If we use the "handle.exe" command from SysInternals we can see that the
WinLogon.exe process has locked the profile folder (eg. C:\Documents and
Settings\vibeke in this example). Further investigation seems to suggest
that the problem has to do with our logon script (from the GP). If we use a
CreateObject command in the script the folder gets locked! E.g. if the logon
scripts is as simple as just the line:

Set WSHNetwork = CreateObject("WScript.Network")

then the profile folder cannot be deleted. If we comment out the line there
seems to be no problem any more...

The user.log file shows the following errors:

USERENV(294.298) 17:49:38:958 Delnode: Failed to delete directory
<C:\Documents and Settings\vibeke>. Error = 32
USERENV(294.298) 17:49:38:958 DeleteProfileEx: Delnode failed. Error = 32
USERENV(294.298) 17:49:38:973 DeleteProfile: Failed to delete directory,
C:\Documents and Settings\vibeke with error 32
[...]
USERENV(294.298) 17:49:40:164 UnloadUserProfileP: Leaving with a return
value of 1
USERENV(294.298) 17:49:40:164 UnloadUserProfile: UnloadUserProfileP
succeeded
USERENV(294.298) 17:49:40:164 UnloadUserProfile: returning 1

Hope someone can help us as we cannot seem to get any further solving the
problem...

Thanks,
-Brian



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Roaming Profile error, but he doesn't have a roaming profile snowburnt@gmail.com Microsoft Windows 2000 Networking 0 18th Jan 2007 07:44 PM
Roaming Profile Problem tkinc@verizon.net Microsoft Windows 2000 Networking 3 27th Oct 2005 06:20 AM
Roaming Profile Problem Tony Windows XP Networking 2 25th Oct 2005 05:17 AM
problem with roaming profile Jason Gallas Microsoft Windows 2000 Group Policy 3 28th Jan 2004 01:02 AM
Roaming Profile problem Ste Windows XP Customization 0 4th Nov 2003 05:20 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:17 PM.