Delete DS_store and other mac files from windows server

Use a simple batch script

del /s /q /f /a .DS_STORE
del /s /q /f /a ._.*

Maybe you need to cd \ to the root of the drive you are on.