Overclock.net › Forums › Software, Programming and Coding › Operating Systems › Windows › ntuser.dat locked by system process
New Posts  All Forums:Forum Nav:

ntuser.dat locked by system process

post #1 of 4
Thread Starter 
tons of stuff on internet about this but no actual fix. we are currently using roaming profiles on a 2k3 server for our Citrix setup. we have run into the issue of temp profiles being created because the ntuser.dat file is locked by system in their regular account profile. this has actually been a issue for several years at this contract and i am now trying to clean it up.

we have GPO set to point to a share to store profile data, hints the roaming profile setup.

first thing i noticed was tons of SID keys located under HKLM\Software\Microsoft\Windows NT\Current Version\Profile List. i deleted all these keys, and profiles off the application servers under Docs & Settings. now on first login my account was created on the server, SID key created. after logging off application, it deleted SID key in registry, wrote data to profile on share but left profile on app server because ntuser.dat was locked. so next login it starts creating temp profiles.

this may be a little to much info for the actual issue at hand but wanted to explain the setup here incase it helps.


does anyone have a fix for this?
UPHClean is not a option because we use roaming profiles. they are still locked.

or does anyone have a script i could use that forces a release of the file upon log off?

any info would be much appreciated. thanks guys smile.gif
post #2 of 4
Ive been having a think about this and have witness the increment multiple SID keys due to locked files not allowing windows to use the existing keys...

UPH Clean or DelProf are the standard solutions for something like this. They can be used in roaming profile environment, put the program on the app server and run it in a logoff script. Use switches to forcefully clean up the locally cached profile.

I know the above is a workaround and not a fix but this is an open ended problem. Is the app server in question the citrix server? If so, what citrix product is running, XenApp?
TJ07 Type R Build
(78 photos)
  
Reply
TJ07 Type R Build
(78 photos)
  
Reply
post #3 of 4
Thread Starter 
Quote:
Originally Posted by The_Rocker View Post

Ive been having a think about this and have witness the increment multiple SID keys due to locked files not allowing windows to use the existing keys...

UPH Clean or DelProf are the standard solutions for something like this. They can be used in roaming profile environment, put the program on the app server and run it in a logoff script. Use switches to forcefully clean up the locally cached profile.

I know the above is a workaround and not a fix but this is an open ended problem. Is the app server in question the citrix server? If so, what citrix product is running, XenApp?

Yes it's xenapp 4.5 I believe. The app server is one of 3 Citrix servers we have hosting applications. No difference on all 3. I am going to look into Delprof. Never heard of it. From eat I've read online nothing can release the Ntuser file once locked by the system except a reboot. Is this true?
post #4 of 4
Quote:
Originally Posted by quattroginger View Post

Yes it's xenapp 4.5 I believe. The app server is one of 3 Citrix servers we have hosting applications. No difference on all 3. I am going to look into Delprof. Never heard of it. From eat I've read online nothing can release the Ntuser file once locked by the system except a reboot. Is this true?

Check permissions over the Profile List registry key and the profile directory on the machine. I suspect something may not be able to complete and therefore system keeps hold of the file.
TJ07 Type R Build
(78 photos)
  
Reply
TJ07 Type R Build
(78 photos)
  
Reply
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: Windows
Overclock.net › Forums › Software, Programming and Coding › Operating Systems › Windows › ntuser.dat locked by system process