I have been ordered to update outlook signatures on about 200 machines :( lol so i wrote a batch file to do the work for me but i have hit a problem.
The batch file simply clears out any existing signature information in the user's application data under their profile in documents and settings and then copies new ones off the server and places them in the local signature folder.
Works a treat :)
But the problem is i still have to manually go onto each machine and set the new signature to be used on new emails and replies....
Has anyone got any script i can use, happy with VB Script or batch....
@ echo off
REM - Signature Deployment Batch file - programmed by Xavier Hutchinson 2008 for epicentre.
REM - sources used: http://windowsitpro.com/windowsscripting/article/articleid/21569/rem-obtaining-the-current-username.html
REM - Thanks for the code guys :)
REM Global variables. Set these to make your day easier.
REM the network path (windows 2000 safe please as dos can be funny about these things..... lol)
REM the username....
REM the domain name....
REM set the outlook signature path
SET outlookSignaturePath=C:\Documents and Settings\%username%.%domainName%\Application Data\Microsoft\Signatures\
SET outlookSignaturePath2=C:\Documents and Settings\%username%\Application Data\Microsoft\Signatures\
REM Ask if we want to erase all files currently in the local signature folder
REM Delete exsisting signatures.
rmdir "%outlookSignaturePath%" /s /q
rmdir "%outlookSignaturePath2%" /s /q
REM Recreate the signature folder
echo Exsisting user signatures deleted successfully...
REM Syncronize server signatures
copy "%networkPath%%username%\*.*" "%outlookSignaturePath%*.*"
copy "%networkPath%%username%\*.*" "%outlookSignaturePath2%*.*"
echo Network syncronization is complete.