søndag 13. oktober 2013

Windows 2012 WSUS GPO (Prohibit random boot after 3 days)

In my GPO I have the time set in two places.

For 2008 R2 and earlier: Computer Configuration/Policies/Administrative Templates/Windows Components/Windows Updates/Configure Automatic Updates/Scheduled install time
For 2012: Computer Configuration/Policies/Administrative Templates/Windows Components/Maintenance Scheduler/Automatic Maintenance Activation Boundary

With it set in both places all the servers install updates at the time I want.

Add Skype to Lync

New-CsPublicProvider -Identity Skype -ProxyFqdn federation.messenger.msn.com -IconUrl "https://images.edge.messenger.live.com/Messenger_16x16.png" -VerificationLevel 2 -Enabled 1

Citrix XenApp: How to change DB user for IMA

dsmaint config /user:XXXXXXXXXXXXX /pwd:XXXXXXXXXXX /dsn:"C:\Program Files (x86)\Citrix\Independent Management Architecture\mf20.dsn"

Lync Command

If you’ve not been disabling users in Lync while disabling them in AD, here’s a one liner to find those users:
Get-CsAdUser | ?{$_.UserAccountControl -match "AccountDisabled" -and $_.Enabled -eq $true} | ft Name,Enabled,SipAddress -auto