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 ...
15th December 2009, 08:48 PM #1
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?
Set WSHShell = CreateObject("WScript.Shell")
WSHShell.Run "\\servername\NETLOGON\DELPROF.exe /Q /I"
IDG Tech News
16th December 2009, 10:59 AM #2
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.
16th December 2009, 11:06 AM #3
16th December 2009, 12:26 PM #4
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.
By gotstuckagain in forum Windows
Last Post: 11th February 2011, 05:21 PM
Last Post: 17th November 2010, 11:11 PM
By Garyd53 in forum Windows Server 2000/2003
Last Post: 31st May 2009, 11:09 AM
By choran in forum Windows
Last Post: 19th November 2007, 01:55 PM
By _Bat_ in forum Windows
Last Post: 8th September 2006, 06:29 PM
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)