+ 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
    Location
    Rutland, east.leicestershire :P
    Posts
    579
    Thank Post
    47
    Thanked 49 Times in 41 Posts
    Rep Power
    28

    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?


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

  2. #2
    jsnetman's Avatar
    Join Date
    Oct 2007
    Posts
    887
    Thank Post
    23
    Thanked 134 Times in 126 Posts
    Rep Power
    39
    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
    Location
    manchester
    Posts
    147
    Thank Post
    38
    Thanked 13 Times in 12 Posts
    Rep Power
    12

    Talking

    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
    Posts
    2,224
    Thank Post
    54
    Thanked 276 Times in 184 Posts
    Rep Power
    133
    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.

SHARE:
+ Post New Thread

Similar Threads

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