Jump to content

Recommended Posts

Posted

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

wscript.quit

Posted

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.

:doh: :D

Posted
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.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...