Bondi007 Posted September 11, 2008 Share Posted September 11, 2008 Hello, I have a server with ''Windows Server 2003 Enterprise Edition'' and I want a script where if someone logs off on a client machine it will delete there profile on the local machine. It must have no user input to do this, and must apply to one OU.Any ideas on where to find one and how to go about doing this?ThanksBondi Link to comment Share on other sites More sharing options...
Siginet Posted September 11, 2008 Share Posted September 11, 2008 I may be wrong... but wouldn't doing this cause your logons and logoffs to become very slow?What I have done in the past is created a logon script that changes the security of my users profiles so that only they and myself have access rights to the files. If you are interested I may be able to dig up some examples for you. Link to comment Share on other sites More sharing options...
Bondi007 Posted September 11, 2008 Author Share Posted September 11, 2008 Access rights to what files?I just want it so the computers and heaped with profiles. Its for a project for my course, any other recommendation would be good but could you explain more as I am 15, takes a minute:) Thanks Link to comment Share on other sites More sharing options...
cluberti Posted September 12, 2008 Share Posted September 12, 2008 Problem is that the user's profile (just the act of using winlogon to log on) locks index.dat in the user's temporary internet files, which won't be released until fully logged off. Therefore, a logoff script won't be able to fully delete the profile. This would work on a 2008 or Vista machine, but not a 2003 box. Consider using delprof.exe in a script run from an automated task when the machine is idle, say overnight, to delete profiles older than <x> days (or all profiles, whatever). Link to comment Share on other sites More sharing options...
Bondi007 Posted September 12, 2008 Author Share Posted September 12, 2008 Could you please explain step by step on how to do this? as delprof was an idea but needs user input on a client i.e yes or no to removing profiles.Cheers Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now