+ Post New Thread
Page 3 of 3 FirstFirst 123
Results 31 to 44 of 44
Windows Thread, Deleting Local Profiles in Technical; To reinforce the cautionary tale: I ran delprof- carefully avoiding the staff laptops - but forgot that the ART computer ...
  1. #31

    witch's Avatar
    Join Date
    Nov 2005
    Location
    Dorset
    Posts
    11,133
    Thank Post
    1,373
    Thanked 2,377 Times in 1,674 Posts
    Rep Power
    703
    To reinforce the cautionary tale: I ran delprof- carefully avoiding the staff laptops - but forgot that the ART computer is used locally as well as on the network (no, I don't know why either!)
    Cue a very upset teacher whose pics of the whole schools art work had vanished....
    Luckily, the handy little prog called 'recuva' recommended on this site found everything which was moved onto the server very quickly.
    The local log on was speedily removed as well

  2. #32
    chrbb's Avatar
    Join Date
    Oct 2005
    Location
    Midlands
    Posts
    1,507
    Thank Post
    141
    Thanked 67 Times in 62 Posts
    Rep Power
    46
    Does recuva recover even deleted profiles then? Handy to know just in case

  3. #33
    tjb
    tjb is offline
    tjb's Avatar
    Join Date
    Mar 2008
    Location
    Townsville
    Posts
    38
    Thank Post
    4
    Thanked 6 Times in 4 Posts
    Rep Power
    15
    Quote Originally Posted by webman View Post
    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...
    Does anyone have a copy of Bossman's profiles-clean.vbs script anywhere please as the attached zip file appears to be corrupt?

  4. #34
    mrtechsystems's Avatar
    Join Date
    Jun 2005
    Location
    Yorkshire
    Posts
    424
    Thank Post
    99
    Thanked 22 Times in 22 Posts
    Rep Power
    25
    Check this out aswell


    Delete Local Profiles (VBScript)

  5. Thanks to mrtechsystems from:

    tjb (28th August 2008)

  6. #35
    Andi's Avatar
    Join Date
    Feb 2007
    Location
    Newport, South Wales
    Posts
    276
    Thank Post
    52
    Thanked 4 Times in 4 Posts
    Rep Power
    16
    Has anybody successfully deployed delprof via GPO then? I've extracted the files to get the msi but deploy doesn't work.

    I know that you can get it to run from a server, but this scrolls through machines one at a time and takes a while, whereas if I had it installed locally I could run a whole room at a time, as well as other scheduled tasks, (Virus scan, defrag etc).

  7. #36
    Andi's Avatar
    Join Date
    Feb 2007
    Location
    Newport, South Wales
    Posts
    276
    Thank Post
    52
    Thanked 4 Times in 4 Posts
    Rep Power
    16
    Scratch that, I've successfully deployed it with a script.

  8. #37
    mullet_man's Avatar
    Join Date
    Oct 2005
    Location
    Oldham
    Posts
    726
    Thank Post
    34
    Thanked 46 Times in 45 Posts
    Rep Power
    26
    Quote Originally Posted by mattx View Post
    Deleting local profiles using Delprof can take time - [ depending on how large the profiles are to start with ] and you will be surprised as to how large local profiles can be.
    Not advisable running on startup.
    If you need to remove all the profiles over the summer the best way would be to make a .txt file with the names of your PCs in and then run delprof from a PC that has admin rights on over the network. [ Make sure all the PCs are turned on !! ]
    Create a txt file called computers.txt - make sure each computer name is on a new line then:

    Code:
    For /f %a in (computers.txt) Do 
    Delprof.exe /I /Q /C:\\%a /D:90
    Delprof will then delete all the profiles that haven't been used in 90 days that are in the txt file.
    Just had a little go with this before I left school but couldn't get it going.

    If i put the code into a batch file in a folder with delprof and computers.txt file it should work when running?

    Upon running it I got nothing back, and sometimes got an unepected in error.

    Any pointers?

  9. #38
    WHSadmin's Avatar
    Join Date
    Oct 2008
    Location
    Wollongong
    Posts
    1
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    Quote Originally Posted by Oops_my_bad View Post
    the little darlings
    I thought I was the only one that called them that!!!

    Thanks for the script. Works a charm. This forum is the best resource for a new Administrator like me. Thanks very much to you all!!!!

  10. #39

    Join Date
    Nov 2008
    Posts
    1
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Domain Guest account

    I thought i read someone's post that if you set the user up as a Domain Guest that their local profile will be deleted after log off, i've tried this and it didn't work. Is there something else i need to do?

  11. #40
    ICT_GUY's Avatar
    Join Date
    Feb 2007
    Location
    Weymouth
    Posts
    2,261
    Thank Post
    646
    Thanked 283 Times in 204 Posts
    Rep Power
    104
    delprof worked for me, run on the computers gpo, at start up form a share on the server. Pretty quick too after the first run since its only ever deleting 3 - 4 profiles per day.

  12. #41

    Join Date
    Apr 2008
    Location
    Meifod
    Posts
    27
    Thank Post
    0
    Thanked 1 Time in 1 Post
    Rep Power
    0
    I have installed delprof on a couple of machines in one room just to test it out. Much to my delight it fired up and began the long slow process of deleting around about 700 local profiles. I returned later on to find that it had finished, and when I opened the Documents and settings folder I found 180 profiles still there!! delprof would not resume to get rid of these, although it did delete the two or three that had been added a few days later when I tried it again. Again when I tried it on another machine it removed most, but still left almost 200 on there.

    Any thoughts?

  13. #42

    RabbieBurns's Avatar
    Join Date
    Apr 2008
    Location
    Sydney
    Posts
    5,521
    Thank Post
    1,333
    Thanked 469 Times in 306 Posts
    Blog Entries
    6
    Rep Power
    199
    run it with the /F i think to force deletion

  14. #43

    Join Date
    Apr 2008
    Location
    Meifod
    Posts
    27
    Thank Post
    0
    Thanked 1 Time in 1 Post
    Rep Power
    0
    I have indeed tried a few combinations of the codes that the readme provides. For example the /F as you suggest, and also option for Profiles that have not been used in so many days. And some of these profiles have not even been used in a year. And still it does not want to go!!

  15. #44

    mattx's Avatar
    Join Date
    Jan 2007
    Posts
    9,240
    Thank Post
    1,058
    Thanked 1,068 Times in 625 Posts
    Rep Power
    740
    Quote Originally Posted by Trenton_Lister View Post
    I have indeed tried a few combinations of the codes that the readme provides. For example the /F as you suggest, and also option for Profiles that have not been used in so many days. And some of these profiles have not even been used in a year. And still it does not want to go!!
    Boot a PC into safe mode and delete them by just deleting them as if they are a folder......
    [ Or trying Delprof again ] - not sure if Delprof works in safe mode. [ I think it does ]

SHARE:
+ Post New Thread
Page 3 of 3 FirstFirst 123

Similar Threads

  1. Deletion of local profiles on xp.
    By mac_shinobi in forum Scripts
    Replies: 25
    Last Post: 13th June 2007, 08:14 PM
  2. Replies: 17
    Last Post: 14th December 2006, 01:52 PM
  3. Deleting profiles on server
    By pinemarten in forum General Chat
    Replies: 4
    Last Post: 29th August 2006, 08:44 PM
  4. Deleting User Profiles
    By Gordie in forum Scripts
    Replies: 4
    Last Post: 19th June 2006, 03:41 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •