+ Post New Thread
Results 1 to 4 of 4
Scripts Thread, Script Outlook Signature SymLink in Coding and Web Development; Is there anyone out there able to help with this, we basically are looking at going to Outlook Client for ...
  1. #1
    rich_tech's Avatar
    Join Date
    Mar 2011
    Location
    Wales
    Posts
    1,079
    Thank Post
    130
    Thanked 138 Times in 120 Posts
    Rep Power
    65

    Script Outlook Signature SymLink

    Is there anyone out there able to help with this, we basically are looking at going to Outlook Client for majority of our staff with Mandatory Profiles and are looking at Signatures and their redirection

    I want to script the following command :-

    mklink /d C:\users\{username}\appdata\roaming\microsoft\sign atures U:\My Settings\Signatures

    Can it be done ? I am not sure of the Username variable, also whats best i.e. VBS/Powershell or a straight .cmd file ?

    Any help is appreciated here, thanks,

    Rich

  2. #2
    TheScarfedOne's Avatar
    Join Date
    Apr 2007
    Location
    Plymouth, Devon
    Posts
    1,347
    Thank Post
    677
    Thanked 169 Times in 154 Posts
    Blog Entries
    78
    Rep Power
    85
    Timing, as looking at doing this too. Just put all our students on mandatory - the hold up on staff is things like this, and other "finiky" software which I need to bundle the settings for (PSF - pointing the finger at you here!)

  3. #3

    Join Date
    Sep 2013
    Location
    Wyoming
    Posts
    32
    Thank Post
    2
    Thanked 5 Times in 4 Posts
    Rep Power
    3
    Quote Originally Posted by rich_tech View Post
    mklink /d C:\users\{username}\appdata\roaming\microsoft\sign atures U:\My Settings\Signatures
    I would try straight CMD. Make sure the /d is going to do what you want it to as well! The username variable will probably be %userprofile%

    So it would look something like this

    mklink /d %userprofile%\appdata\roaming\microsoft\signatures U:\My Settings\Signatures
    Attached Images Attached Images

  4. #4
    TheScarfedOne's Avatar
    Join Date
    Apr 2007
    Location
    Plymouth, Devon
    Posts
    1,347
    Thank Post
    677
    Thanked 169 Times in 154 Posts
    Blog Entries
    78
    Rep Power
    85
    Ok, so after some testing...here is what Im doing...

    Script...

    =====================

    if exist "U:\My Settings\Signatures\logo.jpg" goto Done

    rmdir /s /q %userprofile%\appdata\roaming\microsoft\signatures

    pause

    mklink /D %userprofile%\appdata\roaming\microsoft\signatures "U:\My Settings\Signatures"

    one

    ===============

    This will delete the folder from the local appdata folder, and replace it with a symbolic link to the U:\ folder location. It will require a GPO to create the folders. The "if exist" is used to see if the signature has already been set in the new location, if not, assume that this hasnt run yet - as the signature setting is called straight away after this script...

SHARE:
+ Post New Thread

Similar Threads

  1. Replies: 6
    Last Post: 16th February 2014, 04:29 AM
  2. Replies: 1
    Last Post: 22nd November 2012, 08:13 PM
  3. [MS Office - 2010] Standard Outlook Signature for all users?
    By zag in forum Office Software
    Replies: 6
    Last Post: 30th September 2011, 11:55 PM
  4. outlook signatures
    By Neville in forum Windows
    Replies: 1
    Last Post: 19th September 2008, 12:10 AM
  5. Replies: 1
    Last Post: 28th September 2006, 04:29 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •