I found a cool tool this weekend, called AutoIT V3.
You can find it here: http://www.autoitscript.com/autoit3/
I put together a script that will (running as the local admin) allow a user that has zero admin priviledges the ability to defrag their hard drive.
Here’s the script:
;**** AutoIT Script to allow users to defrag their hard drive ****
; Set the RunAs parameters to use local adminstrator account
; Run defrag as admin
; Reset user’s permissions
;**** End of Script ****
Save this as defragit.au3, and then using the AutoIT scripting tools and compile the au3 you created.
You can download the script here.
And you can download AutoIT here.
If you want to add a cool Vista style .ico, look at Jrdn88’s gallery: http://jrdn88.deviantart.com/gallery/