Welcome, Register for free! or Login below:
EduGeek.net RSS Feeds Register FAQ Members Social Groups User Map Calendar Search Today's Posts Mark Forums Read

Notices

Windows

Windows forum sponsored by

For all of your Windows problems

Go Back   EduGeek.net Forums > Technical > Windows
Reply
 
LinkBack Thread Tools Search Thread Language
Sponsored Links
Old 12-07-2007, 09:32 AM   #1
 
Mr_M_Cox's Avatar
 
Join Date: May 2007
Location: Portsmouth
Posts: 126
Thanks: 4
Thanked 1 Time in 1 Post
Rep Power: 0 Mr_M_Cox has a little shameless behaviour in the past
Default Deleting Local Profiles

Firstly i am sure this will have been discussed on another thread, i did search but could not find it. if someone knows of a relevant thread please just post link.

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
  Reply With Quote
Old 12-07-2007, 09:37 AM   #2
 
Domino's Avatar
 
Join Date: Oct 2006
Location: Hastings
Posts: 1,136
uk uk sussex
Thanks: 12
Thanked 70 Times in 58 Posts
Blog Entries: 4
Rep Power: 19 Domino is just really niceDomino is just really niceDomino is just really niceDomino is just really nice
Send a message via MSN to Domino
Default Re: Deleting Local Profiles

have a search fpr Delprof, it'll run from the network and do it
  Reply With Quote
Old 12-07-2007, 09:58 AM   #3
 
Mr_M_Cox's Avatar
 
Join Date: May 2007
Location: Portsmouth
Posts: 126
Thanks: 4
Thanked 1 Time in 1 Post
Rep Power: 0 Mr_M_Cox has a little shameless behaviour in the past
Default Re: Deleting Local Profiles

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
  Reply With Quote
Old 12-07-2007, 10:13 AM   #4
 
Geoff's Avatar
 
Join Date: Jun 2005
Location: Fylde, Lancs, UK.
Posts: 9,887
uk uk lancashire
Thanks: 42
Thanked 223 Times in 203 Posts
Blog Entries: 1
Rep Power: 66 Geoff has much to be proud ofGeoff has much to be proud ofGeoff has much to be proud ofGeoff has much to be proud ofGeoff has much to be proud ofGeoff has much to be proud ofGeoff has much to be proud ofGeoff has much to be proud ofGeoff has much to be proud of
Send a message via ICQ to Geoff Send a message via AIM to Geoff Send a message via MSN to Geoff Send a message via Yahoo to Geoff Send a message via Skype™ to Geoff
Default Re: Deleting Local Profiles

It'll leave All Users, Default User and Administrator alone.
  Reply With Quote
Old 12-07-2007, 10:53 AM   #5
 
lovelldr's Avatar
 
Join Date: Jun 2007
Location: Midlands
Posts: 45
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0 lovelldr is an unknown quantity at this point
Default Re: Deleting Local Profiles

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
  Reply With Quote
Old 12-07-2007, 11:08 AM   #6
 
webman's Avatar
 
Join Date: Nov 2005
Location: County Durham
Posts: 5,570
uk uk durham city
Thanks: 90
Thanked 83 Times in 67 Posts
Blog Entries: 1
Rep Power: 37 webman is a name known to allwebman is a name known to allwebman is a name known to allwebman is a name known to allwebman is a name known to allwebman is a name known to all
Default Re: Deleting Local Profiles

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...
Attached Files
File Type: zip profiles-clean.zip (787 Bytes, 222 views)
  Reply With Quote
Old 12-07-2007, 01:20 PM   #7
 
Mr_M_Cox's Avatar
 
Join Date: May 2007
Location: Portsmouth
Posts: 126
Thanks: 4
Thanked 1 Time in 1 Post
Rep Power: 0 Mr_M_Cox has a little shameless behaviour in the past
Default Re: Deleting Local Profiles

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?
  Reply With Quote
Old 12-07-2007, 02:11 PM   #8
 
Geoff's Avatar
 
Join Date: Jun 2005
Location: Fylde, Lancs, UK.
Posts: 9,887
uk uk lancashire
Thanks: 42
Thanked 223 Times in 203 Posts
Blog Entries: 1
Rep Power: 66 Geoff has much to be proud ofGeoff has much to be proud ofGeoff has much to be proud ofGeoff has much to be proud ofGeoff has much to be proud ofGeoff has much to be proud ofGeoff has much to be proud ofGeoff has much to be proud ofGeoff has much to be proud of
Send a message via ICQ to Geoff Send a message via AIM to Geoff Send a message via MSN to Geoff Send a message via Yahoo to Geoff Send a message via Skype™ to Geoff
Default Re: Deleting Local Profiles

Yes
  Reply With Quote
Old 12-07-2007, 02:59 PM   #9
 
ChrisH's Avatar
 
Join Date: Jun 2005
Location: East Lancs
Posts: 3,921
uk uk lancashire
Thanks: 2
Thanked 37 Times in 31 Posts
Rep Power: 21 ChrisH has a spectacular aura aboutChrisH has a spectacular aura about
Default Re: Deleting Local Profiles

The default profile should recreate itself though.
  Reply With Quote
Old 12-07-2007, 03:10 PM   #10
 
Geoff's Avatar
 
Join Date: Jun 2005
Location: Fylde, Lancs, UK.
Posts: 9,887
uk uk lancashire
Thanks: 42
Thanked 223 Times in 203 Posts
Blog Entries: 1
Rep Power: 66 Geoff has much to be proud ofGeoff has much to be proud ofGeoff has much to be proud ofGeoff has much to be proud ofGeoff has much to be proud ofGeoff has much to be proud ofGeoff has much to be proud ofGeoff has much to be proud ofGeoff has much to be proud of
Send a message via ICQ to Geoff Send a message via AIM to Geoff Send a message via MSN to Geoff Send a message via Yahoo to Geoff Send a message via Skype™ to Geoff
Default Re: Deleting Local Profiles

I'm fairly sure it doesn't.
  Reply With Quote
Old 12-07-2007, 06:45 PM   #11
 
Oops_my_bad's Avatar
 
Join Date: Jan 2007
Location: I'll be back in Madchester before you knows it
Posts: 1,188
uk
Thanks: 139
Thanked 11 Times in 11 Posts
Rep Power: 8 Oops_my_bad will become famous soon enough
Default Re: Deleting Local Profiles

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
  Reply With Quote
Old 19-01-2008, 08:43 PM   #12
 
JamesC's Avatar
 
Join Date: Dec 2005
Location: Essex
Posts: 86
uk uk essex
Thanks: 7
Thanked 3 Times in 3 Posts
Rep Power: 7 JamesC is on a distinguished road
Default

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
  Reply With Quote
Old 19-01-2008, 09:53 PM   #13
 
tech_guy's Avatar
 
Join Date: May 2007
Location: That bit in the middle of England
Posts: 2,378
england us hawaii
Thanks: 114
Thanked 75 Times in 32 Posts
Blog Entries: 1
Rep Power: 27 tech_guy is a name known to alltech_guy is a name known to alltech_guy is a name known to alltech_guy is a name known to alltech_guy is a name known to alltech_guy is a name known to all
Default

Quote:
Originally Posted by JamesC View Post
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
Yeah, and Mattx has got it on his very handy Admin's Admin Toolbar.
  Reply With Quote
Old 19-01-2008, 11:54 PM   #14
 
Norphy's Avatar
 
Join Date: Jan 2006
Location: Dunstable
Posts: 1,032
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0 Norphy is an unknown quantity at this point
Send a message via MSN to Norphy
Default

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.
  Reply With Quote
Old 02-07-2008, 03:29 PM   #15
 
RabbieBurns's Avatar
 
Join Date: Apr 2008
Location: glasgow
Posts: 797
uk scotland
Thanks: 89
Thanked 31 Times in 21 Posts
Rep Power: 10 RabbieBurns has a spectacular aura aboutRabbieBurns has a spectacular aura aboutRabbieBurns has a spectacular aura about
Default

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?
  Reply With Quote
Reply

Register now for FREE and post messages!


Username: Password: Confirm Password: E-Mail: Confirm E-Mail:
Birthday:      
Image Verification
  I agree to forum rules 

Similar Threads
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
Search Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT +1. The time now is 09:45 PM.
Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 ©2008, Crawlability, Inc.
Copyright EduGeek.net