+ Post New Thread
Page 2 of 2 FirstFirst 12
Results 16 to 18 of 18
Windows Thread, Delprof not Deleting all Local Profiles - Why? in Technical; ok, I go this to work for me: for /f %a in (computers.txt) do (delprof.exe /I /Q /C:\%a) I extracted ...
  1. #16

    Join Date
    Dec 2006
    Location
    Pennsylvania
    Posts
    18
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Re: Delprof not Deleting all Local Profiles - Why?

    ok, I go this to work for me:

    for /f %a in (computers.txt) do (delprof.exe /I /Q /C:\\%a)

    I extracted PC names from AD into a text file, cleaned it up, then ran the above command.

    BUT, it takes forever. Is there a way to get multiple instances to run at the same time?

    I think using the START command would help, but then what would I need to change in the above command to get it to work as a bat?

  2. #17

    Geoff's Avatar
    Join Date
    Jun 2005
    Location
    Fylde, Lancs, UK.
    Posts
    11,800
    Thank Post
    110
    Thanked 582 Times in 503 Posts
    Blog Entries
    1
    Rep Power
    223

    Re: Delprof not Deleting all Local Profiles - Why?

    Code:
    for /f %a in (computers.txt) do (start delprof.exe /I /Q /C:\\%a)

  3. #18

    Join Date
    Dec 2006
    Location
    Pennsylvania
    Posts
    18
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Re: Delprof not Deleting all Local Profiles - Why?

    for /f %a in (computers.txt) do (start delprof.exe /I /Q /C:\\%a)

    Yup, and add %%a in place of %a for it to run as a bat

SHARE:
+ Post New Thread
Page 2 of 2 FirstFirst 12

Similar Threads

  1. Deleting Local Profiles
    By Mr_M_Cox in forum Windows
    Replies: 43
    Last Post: 17th March 2009, 02:02 PM
  2. Deletion of local profiles on xp.
    By mac_shinobi in forum Scripts
    Replies: 25
    Last Post: 13th June 2007, 08:14 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
  •