Monthly Archives: October 2007

Sync Time With Domain Time Server

By | October 19, 2007

I have an application called PDM Works Enterprise.
When some people access the appliation the side effect is their system time slows down.
I have look on forums and called application support, but no dice.
So, I created a script that syncs time with your domains time server.
Thanks to the Windows Scripting Guys for explaining %COMSPEC%.

Backup Files/Folders If File/Folder Has Been Modified

By | October 11, 2007

At the last job I worked at they had a shared folder. In this folder they would put scanned documents. The only problem was sometimes they updated documents or created new sub folders.
This script will copy all updated files, over writing the previous ones using the date modified as a comparison. It will also copy subfolders to the backup destination as they are created.
It will not delete files if the name of the file has changed.

Now this script is a little complex, but if you follow the instructions at the bottom, you should be fine.

Remove a Printer using the Printers Name

By | October 10, 2007

When a printer dies or is replaced and a new one installed you need a way to remove the old printer from users machines. But you don't want to do this by hand.
This script can remove a mapped printer and can be added to a logon script or run via group policy.