Remove a Device Update rule in Lync Server 2013

 

Topic Last Modified: 2013-02-23

Removing a device update rule takes it permanently out of the device update queue.

Removing a rule is different from uninstalling an update from the devices in your deployment or from your test devices. To uninstall an approved update from your deployment, you restore the device update rule. For details, see Restore a Device Update rule in Lync Server 2013. To uninstall an update you haven’t approved from your test devices, you reset it. For details, see Reset a Device Update rule in Lync Server 2013.

You can remove a device update rule by using either Lync Server Control Panel or Windows PowerShell.

To remove device update rules by using Lync Server Control Panel

  1. From a user account that is assigned to the CsUserAdministrator role or the CsAdministrator role, log on to any computer in your internal deployment.

  2. Open a browser window, and then enter the Admin URL to open the Lync Server Control Panel. For details about the different methods you can use to start Lync Server Control Panel, see Open Lync Server 2013 administrative tools.

  3. In the left navigation bar, click Clients, and then click the Device Update navigation button.

  4. On the Device Update page, do one of the following:

    • To remove one rule, select the rule you want to delete.

    • To remove all rules, click the Edit menu, and then click Select All.

  5. Click Edit, and then click Delete.

Removing Device Update Rules by Using Windows PowerShell Cmdlets

Device update rules can also be removed by using Windows PowerShell and the Remove-CsDeviceUpdateRule cmdlet. This cmdlet can be run either from the Lync Server 2013 Management Shell or from a remote session of Windows PowerShell. For details about using remote Windows PowerShell to connect to Lync Server, see the Lync Server Windows PowerShell blog article "Quick Start: Managing Microsoft Lync Server 2010 Using Remote PowerShell" at https://go.microsoft.com/fwlink/p/?linkId=255876.

To remove a single device update rule from a server

  • The following command removes the device update rule d5ce3c10-2588-420a-82ac-dc2d9b1222ff9 from the Web server on atl-cs-001.litwareinc.com.

    Remove-CsDeviceUpdateRule -Identity "service:WebServer:atl-cs-001.litwareinc.com/d5ce3c10-2588-420a-82ac-dc2d9b1222ff9"
    

To remove all the device update rules from a server

  • This command removes all the device update rules from the web server on atl-cs-001.litwareinc.com.

    Get-CsDeviceUpdateRule -Filter "service:WebServer:atl-cs-001.litwareinc.com*" | Remove-CsDeviceUpdateRule
    

For details, see the Help topic for the Remove-CsDeviceUpdateRule cmdlet.