I'm having a problem with volatile user profiles not being removed from a
Windows 2003 server. The user account gets removed but the folder in
Documents and Settings remains.
Here is an extract from the userenv.log file:

..
..
USERENV(274.dbc) 11:07:38:567 ReconcileFile: C:\Documents and
Settings\Marky.CITRIXEX2\Recent\userenv.log.lnk ==>
\\OddJob\DATA\itt\Marky\Windows NT 5.2 Workstation
Profile\Recent\userenv.log.lnk [OK]
USERENV(274.2a4) 11:07:38:567 CopyProfileDirectoryEx: Setting Directory
TimeStamps all Directories
USERENV(274.2a4) 11:07:38:745 CopyProfileDirectoryEx: Set times on all
directories
USERENV(274.2a4) 11:07:38:745 CopyProfileDirectoryEx: Leaving with a return
value of 1
USERENV(274.2a4) 11:07:38:762 UnloadUserProfileP: Writing local ini file
USERENV(274.2a4) 11:07:38:762 UnloadUserProfileP: Reverting to Self
USERENV(274.2a4) 11:07:38:762 UnloadUserProfileP: Deleting the cached
profile
USERENV(274.2a4) 11:07:38:762 DeleteProfileEx: Failed to query profile guid
with error 2
USERENV(274.2a4) 11:07:38:762 Delnode_Recurse: Entering, lpDir =
<\\?\C:\Documents and Settings\Marky.CITRIXEX2>
USERENV(274.2a4) 11:07:38:762 Delnode_Recurse: FindFile found:
<.consoleone>
..
..
..
USERENV(274.2a4) 11:07:38:940 Delnode_Recurse: Leaving <\\?\C:\Documents and
Settings\Marky.CITRIXEX2\ZfdGP\User>
USERENV(274.2a4) 11:07:38:940 Delnode_Recurse: Leaving <\\?\C:\Documents and
Settings\Marky.CITRIXEX2\ZfdGP>
USERENV(274.2a4) 11:07:38:940 Delnode: Failed to delete directory
<C:\Documents and Settings\Marky.CITRIXEX2>. Error = 145
USERENV(274.2a4) 11:07:38:940 DeleteProfileEx: Delnode failed. Error = 145
USERENV(274.2a4) 11:07:38:940 DeleteProfile: Failed to delete directory,
C:\Documents and Settings\Marky.CITRIXEX2 with error 145
USERENV(274.2a4) 11:07:38:940 DeleteProfile: Ignoring Drive A:\ because it
is not fixed hard disk
USERENV(274.2a4) 11:07:38:940 DeleteProfile: Ignoring Drive B:\ because it
is not fixed hard disk
USERENV(274.2a4) 11:07:38:940 Delnode_Recurse: Entering, lpDir =
<\\?\C:\Recycler\S-1-5-21-67111878-907112563-916934953-1485>
USERENV(274.2a4) 11:07:38:940 Delnode_Recurse: FindFile found: <Dc1.log>
USERENV(274.2a4) 11:07:38:940 Delnode_Recurse: FindFile found: <Dc2.log>
..
..

I've also seen messages such as the following:

..
..
USERENV(98c.d18) 11:45:34:760 GetProfileType: Profile is to be deleted
USERENV(98c.d18) 11:45:34:760 GetProfileType: ProfileFlags is 3
USERENV(2c4.2d8) 11:45:36:583 ImpersonateUser: Failed to impersonate user
with 5.
USERENV(2c4.2d8) 11:45:36:583 GetUserNameAndDomain Failed to impersonate
user
USERENV(2c4.2d8) 11:45:36:583 GetUserDNSDomainName: Local user account. No
DNS domain name available.
USERENV(c6c.ed0) 11:45:37:067 LibMain: Process Name: C:\Program
Files\Novell\ZENworks\WMRUNDLL.EXE
USERENV(c6c.ed0) 11:45:37:239 GetUserDNSDomainName: Local user account. No
DNS domain name available.
..
..

Can anyone help?

Ta in advance

Mark