Showing posts with label OCs. Show all posts
Showing posts with label OCs. Show all posts

Thursday, May 21, 2015

Lync 2013 Client unable to see / add contacts

Encountered an interesting issue in our environment.
There is small pockets of users that encounter an issue of being unable to see existing contacts and add new contacts to their respective Lync clients.
The Lync client version were updated to the latest build of 15.0.4719.1000 but that did not help.
The error that they encountered is "Cannot add,remove or move contacts or groups at this time. Please try again later" as per the screenshot below












Resolution

Perform the actions below on the Lync client affected

  1. Go to Tools/Options
  2. On the pop up window, select Personal from the list on the right
  3. Change the personal information manager setting to None for at least 30 minutes (This will be based on your active directory replication interval)
  4. Then switch it back to Microsoft Exchange or Microsoft Outlook

Thursday, February 9, 2012

Locking a Machine in a OCS Desktop Sharing/SCCM Remote Tools Session

With the many tools available now, there are many means for the support staff to access into a user's machine to render assistance. OCS desktop sharing as well as SCCM Tools is one of that is being used my my current organization.

These tools however come with a challenge. How will the support staff be able to maintain the security of the machine when the support case ends as they are not to logoff from the machine.

For this I have come up with a simple vbs that will enable the support staff to lock the screen remotely from their machine (Provided RPC connectivity is operational)

strcomputer = InputBox("Please enter computer name:", "Machine Name to Lock")

strCommand = "cmd.exe /k %windir%\System32\rundll32.exe user32.dll, LockWorkStation"

Set objWMIService = GetObject("winmgmts:" & "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2")
Set objProcess = objWMIService.Get("Win32_Process")


errReturn = objProcess.Create(strCommand, null, null, intProcessID)

If errReturn = 0 Then
Wscript.Echo "**" & ucase(strcomputer) & " has been locked successfully**!"
End If

Just copy the code in grey as above and save it as a vbs file.

Alternatively if it is preferred to lock the machine locally, the below  can be run either at command prompt or run window

%windir%\System32\rundll32.exe user32.dll, LockWorkStation