![]() | Register | FAQ | Members | Social Groups | User Map | Calendar | Search | Today's Posts | Mark Forums Read |
| Notices |
Windows
Windows forum sponsored by |
| | | LinkBack | Thread Tools | Search Thread | Language |
| Sponsored Links |
| | #1 |
![]() Join Date: May 2007 Location: Portsmouth
Posts: 126
Thanks: 4
Thanked 1 Time in 1 Post
Rep Power: 0 | i want to delete all local profiles other than administrator and all users from my XP workstations in a 2003 domain when a user logs off. any ideas Thanks |
| |
| | #3 |
![]() Join Date: May 2007 Location: Portsmouth
Posts: 126
Thanks: 4
Thanked 1 Time in 1 Post
Rep Power: 0 | from what i know, and i may well be wrong, i think delprof will delete all profiles and not leave certain ones. i also need it to run unattended at log off |
| |
| | #5 |
![]() Join Date: Jun 2007 Location: Midlands
Posts: 45
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0 | Doesn't the user profile hive cleanup (or whatever it's called) do this? Basically, you just need to install it on the local machine, ensure that you have left whichever profiles you want loaded onto the machine, and when a user logs off, it deletes their own profile. This only works assuming you have roaming profiles set up though iirc... hth |
| |
| | #6 |
![]() Join Date: Nov 2005 Location: County Durham
Posts: 5,570
Thanks: 90
Thanked 83 Times in 67 Posts
Blog Entries: 1 Rep Power: 37 | Bossman made a vbscript to delete all but some profiles from local machines, and assigned it via GPO as a shutdown script. Attached here, might be handy... |
| |
| | #7 |
![]() Join Date: May 2007 Location: Portsmouth
Posts: 126
Thanks: 4
Thanked 1 Time in 1 Post
Rep Power: 0 | that script you uploaded is supurb, thank you. one question. i have run it with exclusions on administrator and all users but now my users cant log in with an error of cant find profile. is this because i have deleted default user? |
| |
| | #9 |
![]() Join Date: Jun 2005 Location: East Lancs
Posts: 3,921
Thanks: 2
Thanked 37 Times in 31 Posts
Rep Power: 21 | The default profile should recreate itself though. |
| |
| | #11 |
![]() Join Date: Jan 2007 Location: I'll be back in Madchester before you knows it
Posts: 1,188
Thanks: 139
Thanked 11 Times in 11 Posts
Rep Power: 8 | You will have to recreate the default user if it's gone (probably best way is just copy any local profile folder and rename it default user i'd have thought). I find this works best as a computer startup script, that way the little darlings dont forcibly switch the PC off whilst it runs shutdown scripts |
| |
| | #12 |
![]() Join Date: Dec 2005 Location: Essex
Posts: 86
Thanks: 7
Thanked 3 Times in 3 Posts
Rep Power: 7 | Use delprof. It comes as an msi that can be deployed via group policy. Then create a script and set it to run on startup to run delprof and the desired switches. I'm pretty sure you can have delprof delete local and/or roaming profiles depending on the switches used. So if you didnt want your local profiles removed then you can set it to remove roaming profiles only. James |
| |
| | #13 | |
![]() Join Date: May 2007 Location: That bit in the middle of England
Posts: 2,378
Thanks: 114
Thanked 75 Times in 32 Posts
Blog Entries: 1 Rep Power: 27 | Quote:
| |
| |
| | #14 |
![]() | You don't even need to deploy delprof, you can run it from a network share. I always used to bung it in \\domain.tld\netlogon and run it as a shutdown script. |
| |
| | #15 |
![]() Join Date: Apr 2008 Location: glasgow
Posts: 797
Thanks: 89
Thanked 31 Times in 21 Posts
Rep Power: 10 | delprof isnt working for me. Have it set to run as a machine startup script from a world readable share. The policy is definately being applied. But the profiles arent being deleted. am I doing something wrong? |
| |
| |
| | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Deletion of local profiles on xp. | mac_shinobi | Scripts | 25 | 13-06-2007 08:14 PM |
| Delprof not Deleting all Local Profiles - Why? | Behuck | Windows | 17 | 14-12-2006 02:52 PM |
| Deleting profiles on server | pinemarten | General Chat | 4 | 29-08-2006 08:44 PM |
| Deleting User Profiles | Gordie | Scripts | 4 | 19-06-2006 03:41 PM |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search Thread |
|
|








