+ Post New Thread
Results 1 to 10 of 10
Windows 7 Thread, Delete local profiles from Win 7 machine at log off/reboot - Best way? in Technical; Ok... i've googled, i've binged and i've even yahoo'd this and come up with not a lot... What is the ...
  1. #1

    Join Date
    Mar 2008
    Location
    Boston, Lincolnshire
    Posts
    189
    Thank Post
    1
    Thanked 8 Times in 8 Posts
    Rep Power
    15

    Exclamation Delete local profiles from Win 7 machine at log off/reboot - Best way?

    Ok... i've googled, i've binged and i've even yahoo'd this and come up with not a lot...

    What is the best way to get a computer to delete the user profiles on a machine when it restarts - ive seen the GP delete after X number of days - its configured to 1 day...

    there is also the advanced system settings and deleting each profile individually but on some of my machines there are 100-150 local profiles...

    basically i want something like delprof.exe to run after a student logs off to delete all the profiles...

  2. #2

    localzuk's Avatar
    Join Date
    Dec 2006
    Location
    Minehead
    Posts
    18,518
    Thank Post
    526
    Thanked 2,641 Times in 2,045 Posts
    Blog Entries
    24
    Rep Power
    923
    I know this may not be any help, but my first question would be - why?

  3. #3

    Join Date
    Mar 2008
    Location
    Boston, Lincolnshire
    Posts
    189
    Thank Post
    1
    Thanked 8 Times in 8 Posts
    Rep Power
    15
    as everytime a student logs on it copies their account from the server to the local machine - i've changed a whole load of settings and the PCs even after a GPupdate still wil refer to the the local account - once the account is removed they can log on again and all the settings are correct - i just didn't fancy reinstalling all the compueters again! (Well reimaging them anyway...)

  4. #4

    Join Date
    Apr 2007
    Location
    Christchurch
    Posts
    421
    Thank Post
    41
    Thanked 64 Times in 62 Posts
    Rep Power
    26
    Which settings have you changed ?

  5. #5

    Join Date
    Mar 2008
    Location
    Boston, Lincolnshire
    Posts
    189
    Thank Post
    1
    Thanked 8 Times in 8 Posts
    Rep Power
    15
    redirected folder paths... in group policy... even if you force the gpupdate makes no difference - deleting the profiles off and allowing them to be recreated makes the paths work fine...

  6. #6
    cromertech's Avatar
    Join Date
    Dec 2007
    Location
    Cromer by the coast
    Posts
    731
    Thank Post
    177
    Thanked 109 Times in 97 Posts
    Rep Power
    55
    I use delprof.exe set to run on a shutdown script because I was getting the same problem. I think the switches are /q /t 0 or something to delete all profile created on the day the script is run but I can pm the details if you want me to find them

    EDIT: I have PM'ed the relevant switches to you
    Last edited by cromertech; 15th February 2011 at 02:59 PM.

  7. Thanks to cromertech from:

    ronnoco (2nd March 2011)

  8. #7

    Join Date
    Mar 2008
    Location
    Boston, Lincolnshire
    Posts
    189
    Thank Post
    1
    Thanked 8 Times in 8 Posts
    Rep Power
    15
    i throught delprof wouldn't work on a windows 7 machine?

  9. #8
    cromertech's Avatar
    Join Date
    Dec 2007
    Location
    Cromer by the coast
    Posts
    731
    Thank Post
    177
    Thanked 109 Times in 97 Posts
    Rep Power
    55
    Quote Originally Posted by hotwired007 View Post
    i throught delprof wouldn't work on a windows 7 machine?
    It works fine. Haven't had any issues yet. It looks in the registry to find the profilelist key which is the same as it has been since NT

  10. #9

    Join Date
    Apr 2007
    Location
    Christchurch
    Posts
    421
    Thank Post
    41
    Thanked 64 Times in 62 Posts
    Rep Power
    26
    I had exactly that problem and from memory there is a setting in the group policy that cures it ... I'm not at school untill tommorrow and will check for you and report back then ...

  11. #10

    Join Date
    Oct 2010
    Location
    New Hampshire
    Posts
    28
    Thank Post
    6
    Thanked 9 Times in 6 Posts
    Rep Power
    10
    I took a quick look at my GPOs and I'm not sure this is it exactly, but there is a policy called "At logoff, delete local copy of user's offline files" under Computer Configuration -> Policies -> Administrative Templates -> Network/Offline Files .



SHARE:
+ Post New Thread

Similar Threads

  1. Replies: 18
    Last Post: 13th August 2012, 06:58 PM
  2. Delete local profiles.
    By firefighting in forum How do you do....it?
    Replies: 8
    Last Post: 28th April 2011, 09:28 PM
  3. Delete User profiles on local machines
    By martinb in forum How do you do....it?
    Replies: 2
    Last Post: 16th March 2010, 11:13 AM
  4. Replies: 7
    Last Post: 26th February 2010, 11:00 AM
  5. Full chkdsk on reboot with log file??
    By actech in forum Windows
    Replies: 2
    Last Post: 9th May 2008, 11:09 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
  •