Jump to content

Recommended Posts

Posted

Hi

 

Does anyone have a script to delete the NTUSER.DAT file from the server on logoff?

 

At present we have a problem when students log off that the file gets corrupted and next time they try to login that are unable able to and get the message group policy service failed the logon access is denied. I have tried to stop this happening but at present i am unable to stop it, so we are stuck reseting profiles when it happens so i'm looking for a script that will do this automactically when the students log off.

Posted
You want the group policy settings under computer configuration > adminsitrative templates > system > user profiles (or it could be group policy folder, i forget which) but look through those anyway :)
Posted
I know which policy you are refering to but this only removes profiles form the local machine and not from the server, plus i only want it to remove the ntuser.dat file and not the whole profile as this slow the login down.
Posted

If you delete the ntuser.dat from the server though aren't you just wiping their personal settings everytime? in which case you'd might as well just use mandatory profiles?

 

Setting up a script to delete it is probably easiest but it sounds like a bit of a backwards patch to a problem rather than an actual fix

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...