+ Post New Thread
Results 1 to 4 of 4
Windows Thread, Delprof at shutdown? in Technical; finally got round to testing a shutdown script for our ASUS Eeepc's to clear the machines of user profiles using ...
  1. #1
    gaz350's Avatar
    Join Date
    Jul 2007
    Rutland, east.leicestershire :P
    Thank Post
    Thanked 49 Times in 41 Posts
    Rep Power

    Delprof at shutdown?

    finally got round to testing a shutdown script for our ASUS Eeepc's to clear the machines of user profiles using DELPROF. (would like to roll this out to classrooms eventually)

    at 1st i tried this as a bat file but it would just sit at the running shutdown scripts, after running it as a VBS and adding a sleep command i was able to see why.

    it appears its asking if i would like to run delprof (yes/no)

    so how do i stop delprof from asking to run?

    Dim WSHShell
    Set WSHShell = CreateObject("WScript.Shell")
    WSHShell.Run "\\servername\NETLOGON\DELPROF.exe /Q /I"
    wscript.sleep 10000

  2. #2
    jsnetman's Avatar
    Join Date
    Oct 2007
    Thank Post
    Thanked 134 Times in 126 Posts
    Rep Power
    The /q bit should supress for any prompting. I run mine from the shutdown scripts folder in machine policy but from a batch file. Works no problem.

  3. #3
    busby's Avatar
    Join Date
    Dec 2009
    Thank Post
    Thanked 15 Times in 13 Posts
    Rep Power


    Delprof is cool but just a word of warning lol a colleague of mine uses it a lot and decided to put it in as a group policy so anyone who authenticates to the network gets "delprofed".

    works great until a teacher who uses a laptop for personal use, had all her Wedding and holiday pictures on as her pc machine died. authenticated to the school network and bang all gone.

    she was a little annoyed to say the least.

  4. #4

    SpuffMonkey's Avatar
    Join Date
    Jul 2005
    Thank Post
    Thanked 285 Times in 191 Posts
    Rep Power
    Also (and I don't know if its just oyr setup) - delprof onlt seems to delete the "kosher" profiles - lots of ours have multiple profile areas where staff & students have just pulled the power - these never get cleaned up and we had to script it instead.

+ Post New Thread

Similar Threads

  1. Using Delprof question
    By gotstuckagain in forum Windows
    Replies: 9
    Last Post: 11th February 2011, 05:21 PM
  2. delprof again....
    By ozzy in forum Windows
    Replies: 5
    Last Post: 17th November 2010, 11:11 PM
  3. Delprof.exe
    By Garyd53 in forum Windows Server 2000/2003
    Replies: 20
    Last Post: 31st May 2009, 11:09 AM
  4. delprof all stations
    By choran in forum Windows
    Replies: 1
    Last Post: 19th November 2007, 01:55 PM
  5. Delprof... is it necessary?
    By _Bat_ in forum Windows
    Replies: 6
    Last Post: 8th September 2006, 06:29 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