+ Post New Thread
Page 2 of 3 FirstFirst 123 LastLast
Results 16 to 30 of 31
Windows 7 Thread, Delprof2 - Unofficial successor to Microsoft’s Delprof user profile deletion tool in Technical; Yes, on the root of c: I have file call del.bat (can be any name) with the above code in. ...
  1. #16

    Danp's Avatar
    Join Date
    Jul 2011
    Posts
    1,468
    Thank Post
    78
    Thanked 170 Times in 150 Posts
    Rep Power
    149
    Yes, on the root of c: I have file call del.bat (can be any name) with the above code in. I also have DelProf2.exe in the same place.

    Yes, I have a text file called dellist_all.txt with a list of machines in

    e.g.
    CC4-ARTS-01
    CC4-ARTS-02
    CC4-ARTS-03
    CC4-ARTS-04
    CC4-ARTS-05
    CC4-ARTS-06

    I have a few of these saved now, some without the 7 day retention.

  2. #17

    tmcd35's Avatar
    Join Date
    Jul 2005
    Location
    Norfolk
    Posts
    6,128
    Thank Post
    911
    Thanked 1,025 Times in 835 Posts
    Blog Entries
    9
    Rep Power
    352
    Does this also remove any mention of the profile from the Win7 registry? This as been a problem for us in the past and I'm thinking delprof2 might be part of a wider solution to our roaming profile woes. I'm also thinking of using redirected folders for AppData as I guess it's this folder causing most of the corruption problems, I'm just unsure how to go about it.

  3. #18

    Join Date
    Aug 2012
    Location
    Nashville, TN
    Posts
    1
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Help me follow your thinking/sample

    Quote Originally Posted by Danp View Post
    Yes, on the root of c: I have file call del.bat (can be any name) with the above code in. I also have DelProf2.exe in the same place.

    Yes, I have a text file called dellist_all.txt with a list of machines in

    e.g.
    CC4-ARTS-01
    CC4-ARTS-02
    CC4-ARTS-03
    CC4-ARTS-04
    CC4-ARTS-05
    CC4-ARTS-06

    I have a few of these saved now, some without the 7 day retention.
    I want to follow your lead but need some code explaination.
    Can I put the text file, Delprof2.exe and the *.bat in a folder (c:\profdel\***)?

    What is /f (I can guess but..) and %%a ?

    I want to run these on all our library machines from my machine, here is what I have so far DELPROF2 /i /u /d:60 /ed:admin* /ed:MyName /ed:default* I want to add a text file showing all our lib. machines (on domain, networked)
    hs-lib-d01
    hs-lib-d02
    ect...to d30
    Last edited by nashphil; 29th March 2013 at 08:44 PM. Reason: emoticon not wanted but added

  4. #19

    plexer's Avatar
    Join Date
    Dec 2005
    Location
    Norfolk
    Posts
    13,758
    Thank Post
    768
    Thanked 1,724 Times in 1,535 Posts
    Rep Power
    440
    Why not just run it as a shutdown script?

    Ben

  5. #20

    Join Date
    May 2012
    Location
    USA
    Posts
    7
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    I've found this batch script does a wonderful job at removing profiles...Win7. Just be sure to do it after a fresh restart. - User Profile Cleaning Script for Windows 7 – Version 3.1 « Mike's Thoughts

  6. #21

    plexer's Avatar
    Join Date
    Dec 2005
    Location
    Norfolk
    Posts
    13,758
    Thank Post
    768
    Thanked 1,724 Times in 1,535 Posts
    Rep Power
    440
    Quote Originally Posted by bonedog73 View Post
    I've found this batch script does a wonderful job at removing profiles...Win7. Just be sure to do it after a fresh restart. - User Profile Cleaning Script for Windows 7 – Version 3.1 « Mike's Thoughts
    Delprof2 as a shutdown script is one line.

    Ben

  7. #22

    Danp's Avatar
    Join Date
    Jul 2011
    Posts
    1,468
    Thank Post
    78
    Thanked 170 Times in 150 Posts
    Rep Power
    149
    Quote Originally Posted by nashphil View Post
    I want to follow your lead but need some code explaination.
    Can I put the text file, Delprof2.exe and the *.bat in a folder (c:\profdel\***)?

    What is /f (I can guess but..) and %%a ?

    I want to run these on all our library machines from my machine, here is what I have so far DELPROF2 /i /u /d:60 /ed:admin* /ed:MyName /ed:default* I want to add a text file showing all our lib. machines (on domain, networked)
    hs-lib-d01
    hs-lib-d02
    ect...to d30
    I don't see why you cant have them in their own folder, I just stuck them on the root of C because I am lazy. I also run this from a machine on the same domain as the machines I want clean up, otherwise I wont work. I dont know what the %%a is for, but it works

  8. #23

    Join Date
    Jan 2010
    Posts
    64
    Thank Post
    7
    Thanked 5 Times in 5 Posts
    Rep Power
    11
    how are people using this at shutdown? as a gpo? Pointing to the exe? as mine doesnt seem to work ?

  9. #24

    Join Date
    Oct 2014
    Location
    Florida
    Posts
    1
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    Delprof2 is fantastic. However, I wonder if it can be run simultaneously on the same machine to speed up the deletion of profiles? We are collapsing a domain and rolling all the users into a new domain. Each machine can have upwards of 30 user profiles on them. I am running the command from a utility machine at the local site. It reads a file list of computer names to remove the profiles on those machines. I'd like to break that list of machines up into smaller chunks and run Delprof2 reading each file. Is that possible?

  10. #25
    busby's Avatar
    Join Date
    Dec 2009
    Location
    manchester
    Posts
    149
    Thank Post
    38
    Thanked 15 Times in 13 Posts
    Rep Power
    13
    Quote Originally Posted by Danp View Post
    Yes, on the root of c: I have file call del.bat (can be any name) with the above code in. I also have DelProf2.exe in the same place.

    Yes, I have a text file called dellist_all.txt with a list of machines in

    e.g.
    CC4-ARTS-01
    CC4-ARTS-02
    CC4-ARTS-03
    CC4-ARTS-04
    CC4-ARTS-05
    CC4-ARTS-06

    I have a few of these saved now, some without the 7 day retention.
    After a a lot of time trying to figure out my problem i managed to find out what was wrong. The remote registry was not enabled apparently in win7 is disabled by default.

    You how ever can remotely enable this as long as you are an administrator using the cmd "sc \\computername start remoteregistry start= auto"

  11. #26

    Join Date
    Jul 2009
    Location
    Plymouth
    Posts
    41
    Thank Post
    7
    Thanked 9 Times in 9 Posts
    Rep Power
    13
    I've created this as a program in SCCM and its scheduled to run one a week. Seems to work very well.

  12. #27

    Join Date
    Jul 2010
    Location
    Buckinghamshire
    Posts
    7
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    Hi
    Can anyone confirm if there is an option to look for & delete a specific profile on all network PC's rather than delete inactive ones I want to be able to use this to remove corrupted profiles remotely.

    Thanks in advance

  13. #28

    plexer's Avatar
    Join Date
    Dec 2005
    Location
    Norfolk
    Posts
    13,758
    Thank Post
    768
    Thanked 1,724 Times in 1,535 Posts
    Rep Power
    440
    Yes you can match it to a specified string.

    Ben

  14. #29

    Join Date
    Jul 2010
    Location
    Buckinghamshire
    Posts
    7
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    Ok, Great thanks do you have anymore information ?

    I can see plenty of examples about excluding a specific profile but not anything that points specifically to delete only the selected profile.

    Thanks in advance

  15. #30
    enx
    enx is offline

    Join Date
    May 2013
    Posts
    5
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    Hi, All

    Could do with some advice.

    I have added DelProf2 as a shut down script gpo (Computer Configuration -> Policies > Windows Settings > Scripts > Shutdown), and it works if you are logged onto the machine and shutdown the machine with you logged on.

    However it does not work when the shut down is run as scheduled task, I am using shutdown.exe -s -f -t 0.

    Any ideas?

    Thanks



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

Similar Threads

  1. Replies: 19
    Last Post: 22nd March 2012, 12:45 PM
  2. Replies: 8
    Last Post: 25th May 2011, 10:44 AM
  3. Replies: 6
    Last Post: 31st July 2008, 04:25 PM
  4. User profile deletion, XP Pro
    By Sirbendy in forum Windows
    Replies: 7
    Last Post: 16th January 2006, 06:00 PM
  5. Profile Deletion - help!
    By mark in forum Windows
    Replies: 3
    Last Post: 29th November 2005, 05:40 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
  •