How to lock dock using ARD
I am wanting to lock down the dock on the iMac's in the computer lab's I manage so that students can't make changes to the dock, I know the terminal command to lock it but I'm wanting to find a way that I can run the command using ARD so that I can hit all the machines at once instead of having to do each computer at a time.
When I put the terminal commands to do this in the ARD Unix Command and ran it, it just errors out. These are the commands I run:
defaults write com.apple.Dock contents-immutable -bool yes
defaults write com.apple.Dock size-immutable -bool yes
defaults write com.apple.Dock position-immutable -bool yes
Is there a way to make that execute on multiple machines using ARD?
iMac, Mac OS X (10.6.8)