Disable "Do not show my picture" on Lync client

Hi all, is it possible to disable the "Do not show my picture" on Lync client ?
I want to stop that an user can disable photo.
Thanks a lot

Try this script, I've edited it to make it a little clearer what areas need to be changed.
# script to re-enable AD photos for users that have disabled them
# DNS Name of SQL Server - Leave Blank for SQL Server Express
$sqlserver = ''
# This is the directory where exports will be placed temporarily - you must have write access to this directory
$exportdir = 'C:\Lync-Scripts'
########## DO NOT EDIT BELOW THIS LINE ##########
"Checking for Export Directory"
If (-not (Test-Path "$exportdir" -pathType container))
"ERROR: Your Export Directory doesn't exist!"
Exit
"Cleaning up old files..."
If (Test-Path "$exportdir\Export-Pictures.xml") { Remove-Item "$exportdir\Export-Pictures.xml" }
If (Test-Path "$exportdir\Import-Pictures.xml") { Remove-Item "$exportdir\Import-Pictures.xml" }
# check to see if we need to have an sqlserver argument to DBImpExp
If ($sqlserver -ne "")
"Query will be run against SQL server ""$sqlserver"""
$sqlserver = "/sqlserver:$sqlserver"
"Exporting users..."
$p = [diagnostics.process]::start('"C:\Program Files\Common Files\Microsoft Lync Server 2010\Support\DBImpExp.exe"', "/hrxmlfile:""$exportdir\Export-Pictures.xml"" /restype:user $sqlserver")
$p.WaitForExit()
# check that XML was exported
If (-not (Test-Path "$exportdir\Export-Pictures.xml" -pathType leaf))
"ERROR: Verify that $exportdir is writable!"
Exit
"Loading XML"
$d = [xml] (Get-Content "$exportdir\Export-Pictures.xml")
"Processing..."
$changes = 0
foreach ($hr in $d.HomedResources.HomedResource)
$found = 0
foreach ($c in $hr.Containers.Container)
foreach ($p in $c.Publication)
If ($p.CategoryName -eq 'contactCard' -and $p.InstanceNum -eq 6 -and $p.Data.contactCard.displayADPhoto -eq 'false')
$hr.UserAtHost
$p.Data.contactCard.displayADPhoto = 'true'
$p.Version = (([int] $p.Version) + 1).ToString()
$p.PrevPubTime = $p.LastPubTime
$p.LastPubTime = (Get-Date -Format s).ToString()
$found = 1
$changes++
If ($found -eq 0) { [Void]$d.HomedResources.RemoveChild($hr) }
"Changes: $changes"
If ($changes -ne 0)
"Saving XML..."
$d.Save("$exportdir\Import-Pictures.xml")
"Importing users..."
$p = [diagnostics.process]::start('"C:\Program Files\Common Files\Microsoft Lync Server 2010\Support\DBImpExp.exe"', "/import /hrxmlfile:""$exportdir\Import-Pictures.xml"" /restype:user $sqlserver")
$p.WaitForExit()
"Finished import, cleaning up..."
If (Test-Path "$exportdir\Export-Pictures.xml") { Remove-Item "$exportdir\Export-Pictures.xml" }
If (Test-Path "$exportdir\Import-Pictures.xml") { Remove-Item "$exportdir\Import-Pictures.xml" }
"Done"
Also, please note that the default installation of Lync uses SQL Server Express and you don't need to provide the SQL server.

Similar Messages

  • Show picture in lync client

    hello : everybody  can help me
    i add user photo to  Active Directory some lync client show user picture  but some lync  client do not show user picture
    thanks a lot

    Hi,
    Please also check if the photosize of these issued people in AD is larger than the MaxPhotoSizeKB in Lync server.
    You can refer to the link below of "Microsoft Lync 2010 Photo Experience" may help you understand the issue clearly:
    http://blogs.technet.com/b/nexthop/archive/2010/11/22/microsoft-lync-2010-photo-experience.aspx
    Best Regards,
    Eason Huang
    Eason Huang
    TechNet Community Support

  • My Iphone5 does not show the picture location after upgrading to ios 7.0.4 - why?

    my Iphone5 does not show the picture location after upgrading to ios 7.0.4 - why?

    I change Settings>Privacy>Location Services>Camera to OFF and then ON and the locations start to appear !!!!.
    It seems to be Apple bug.
    Thanks for you efforts

  • Raw files for nikon d810 not showing a picture in preview. Have  camera raw plug in 8.6.0.250 . File will open in raw but no picture ahead of time.

    Raw files for Nikon D810 not showing a picture in preview for photoshop cs6 . Have camera raw plugin 8.6.0.250  File will open in ACR and process but no picture before opening raw file.

    Are you referencing Apple's Preview application or the Preview panel in Bridge?  Huge difference.
    Try purging the cache for the offending folder(s) through the Tools menu in Bridge.

  • My podcasts do not show the pictures only the sound when I import them to iTunes from Garage Band.  How do I get the pictures to show up in iTunes?

    My podcasts do not show the pictures only the sound when I import them to iTunes from Garage Band.  How do I get the pictures to show up in iTunes?

    Well, all I can tell you is that if your file is an m4a with chapter markers, those markers having suitably sized images attached, and you drag it into the Music area of iTunes (so that it appears as a song) in List view, when you play it and then command-click on the small image in the header (next to the progress bar) you should see your embedded images.
    If this isn't happening the best place to ask would be in the GarageBand forum: my own experience of GB is rather out of date and in any case I've never used it for podcasting.

  • Outlook 2010 contacts not showing phone number in Lync 2013 client

    Hi,
    We have Lync 2013 with Exchange 2010. Recently we started upgrading Lync clients from 2010 to 2013.
    A few users started reporting that their local Outlook contacts does not show phone numbers in Lync 2013 (working with 2010)
    I have installed the august patch which should solve this issue
    981751 - Lync 2013 does not display telephone number of an Outlook 2010 contact in the contact card
    Any idea where to look next?

    Hi Tobias Borgen Nielsen,
    Lync expects all the phone numbers to be in the E.164 format, meaning they should be +1-111-11111111 etc. If they’re not like this, you will have to normalize them if you want Lync
    to publish them.
    The related article for your reference.
    Lync not populating contact cards phone numbers from Active Directory (Or: How to normalize AD phone numbers for Lync Server 2010 and 2013)
    http://y0av.me/2012/02/23/normalize_ad_numbers/
    Note: Microsoft is providing this information as a convenience to you. The sites are not controlled by Microsoft. Microsoft cannot make any representations regarding the quality, safety, or
    suitability of any software or information found there. Please make sure that you completely understand the risk before retrieving any suggestions from the above link.
    Hope it can be helpful.
    Best regards,
    Eric

  • I backed up by phone and now icloud is not showing my pictures over 1400 of them help

    I backed my phone up and now icloud is not showing my pictures over 1400 of them. help?

    Why do you believe this is true?
    If you had PhotoStream turned on and your photos were syncing to it, PhotoStream holds the last 30 days worth of photos (up to 1000 photos maximum) in the cloud and they should sync back to the phone. Any photos taken more than 30 days ago and any photos greater than the 1000 photo capacity of PhotoStream, will have already been purged from the cloud and are no longer available for download.
    IF you had photostream turned on, it stands to reason that you probably also had iCloud backups turned on, in which case you should be able to wipe the phone (settings>General>Resets>Erase all content and Settings) and restore it from your most recent iCloud backup.

  • Crystal report could not show dynamic picture

    I develop crystal report which show dynamically picture in my PC but when I send it to server which has not be installed program just install asp.net framework 2.0 , it could not show dynamic picture.
    How should I do, please advise.

    I develop the report by using Crystal Reports XI so that I have to install the runtime of them as the detail in page of business object located at Business Objects - Crystal Reports Runtime Packages.mht
    Crystal Reports for Visual Studio .NET 2005 - Service Pack 1 (Updated Nov. 2007) will not show dynamic picture, right
    I have to install Crystal Reports XI - Service Pack 4 (Updated - November 2007) becuase it has more features than the package in VS2005 right
    Edited by: pasit chan on Nov 3, 2010 10:18 AM

  • My photo album does not show the pictures I have taken! Any help?

    My photo album does not show the pictures I have taken, they show up on my iMac through iCloud but not on my phone. Also my videos do not show up that I take.

    Did not work. I've selected iMessage to ON and left it. After a few hours I recieved a message "activation unsuccessful. Turn on iMessage to try again". This has been going on for the past 3 days.

  • How to show a picture both on client and server at the same time (X11?)

    Hi Guys
    I want show a picture on my client as well as on the server(in another location) at the same time, pretty much like showing something both on laptop and on a projector. Assume I have a picture sssss.jpg on the server A1, if I want to open that picture to my client, I can simply to do the following from client A2:
    xhost A1
    telnet to and login A1
    setenv DISPLAY "ipaddress of A2":0.0
    Anyone can direct me how to show picture the client that I am sitting at an also show on the server at the same time?
    Thanks

    VNC would let you do that. With a shared connection, both machines could run a VNC client to the same session.
    Darren

  • TS4002 Once I send my email on icloud, it does not show up on my mail client or on icloud.  How can I retrieve an email sent this way?

    Once I send my email on icloud, it does not show up on my mail client or on icloud.  How can I retrieve an email sent this way?

    SADLY  not as i downloaded an upgrad to my original PAGES/
    i have in the meantim had to open www.icloud. then from there import the file that i am working on and then check on ipad if it uploaded/ yes it did.
    but what a waste of time as it doesn not save any changes done automatically back in the cloud....
    i am now downloading the new LION and hope that it will fix the problem
    i cant find any other way. I was lead to believe that you wrote, it saved automatically, on to the cloud, you then opened anohter device in anotother country even, and the new file was there, waiting, in its latest version.......
    and the same magic was supposed to happen in reverse.
    It doesn't/
    if i have to open a browser, go to www.icloud....why on earth did they not just leave us an icon to drop it in in that case?
    I hope the new lion will help resolve the isssue/
    any other ideas> keep em coming...thank you so much.

  • CS4 - not showing sharp pictures

    When have selected a number of pictures in Bridge and showing them i fullscreen (ctrl-l). Bridge is not showing them shap - more as a jpeg in low res.
    If I do a zoom on the picture then wait for a few seconds, it gets as expected but when zoom out it's like a low res for a few seconds again.
    I know for sure that it's not loading from the harddrive as it idle and a SSD drive.
    My question is if this is a setting that I have not found yet or something else causing this "issue"?
    BTW I'm shooting in RAW and converting to DNG when importing pictures.
    Best regards
    Søren Dalhoff

    if the solutions above fail
    then the most obvious reason is 'open gl'
    bridge runs in 'open gl' if it is enable in photoshop.
    so goto photoshop disabled it in settings and try again. restart 'bridge and ps'
    sadly opengl is a complete pain, no matter how many graphics cards i've used since open gl was introduced
    along with both cuts of cS4 & 5 this blurring has always occured.
    and it is so annoying and you would think easy to fix.
    adobe love to sale this open gl feature with there relationship with nvidia
    shame it doesn't work 100%. we want it to look razor sharp at all zoom levels not certain levels.
    if you read deep into the adobe specs archive (not easy to find) it does state somewhere that blurred images will occur at certain zoom levels.
    utter useless to us the customer so your better off turning it off..
    you could try updating video drivers, but i doubt that'll fix it, i've tried countless versions and it never has...
    turning off 'open gl' will disable a few usefull features, like the spin in PS, but it a loss worth taking rather than blurred images.

  • When I click on pictures in eBay or Facebook. It will not show the pictures....Will work with IE but not FF

    When I click on pictures on eBay and Facebook...it will not show pictures/enlargements...just blanks....will work with IE. NOT ff

    You can use these steps to check if images are blocked:
    *Open the web page that has the images missing in a browser tab.
    *Click the website favicon ([[Site Identity Button]]) on the left end of the location bar.
    *Click the "More Information" button to open the "Page Info" window with the Security tab selected (also accessible via "Tools > Page Info").
    *Go to the <i>Media</i> tab of the "Tools > Page Info" window.
    *Select the first image link and scroll down through the list with the Down arrow key.
    *If an image in the list is grayed and there is a check-mark in the box "<i>Block Images from...</i>" then remove that mark to unblock the images from that domain.
    See also:
    *http://kb.mozillazine.org/Images_or_animations_do_not_load
    There are also extensions (Tools > Add-ons > Extensions) and security software (firewall, anti-virus) that can block images.
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes

  • Iphoto not showing some pictures?

    Hello. I have a slight problem. Some photos in iphoto will not show up. They are like a grey box with a "!" in them. I just rebuilt the thumbnails and they're still not there. Now I'm doing the longer rebuild. I did save the pictures to a dvd just incase (but this was while the pictures were still gone, so those pics are not saved) But I did not save my videos I have. Is rebuilding something else going to get those pictures back? And if so would I loose anything on my library. (Most importantly, my videos.) Thanks for the help in advance!

    The ! or ? turns up when iPhoto loses the connection between the thumbnail in the iPhoto Window and the file it represents.
    The most common cause of this is User Activity in the iPhoto Library Folder in the Finder.
    Have you altered, moved or renamed anything in the iPhoto Library Folder?
    If you haven't, then try rebuilding the database. Hold down the command and option (or alt) keys while launching iPhoto. Use the resulting dialogue to rebuild. Choose the top three options.
    Regards
    TD

  • Firefox not show icon pictures in some website

    Firefox not show any icon pictures in some website :
    firefox :
    http://s11.postimg.org/kpllr7aib/image.png
    chromium :
    http://s6.postimg.org/gwz0d029d/image.png

    Those pages on Github use an Octicon font where a special glyph is selected via a class name.
    *https://github.com/styleguide/css/7.0
    Make sure that you allow pages to choose their own fonts.
    *Edit > Preferences > Content : Fonts & Colors > Advanced: [X] "Allow pages to choose their own fonts, instead of my selections above"

Maybe you are looking for