Search This Blog

Wednesday, November 16, 2016

Ncat: Could not resolve hostname "ûs": No such host is known. . QUITTING.

If you have this message running ncat, probably you copy-pasted a command line from internet and some symbols are Unicode, retype command by hand. check symbol "-"

Tuesday, November 15, 2016

Generic failure querying the localized name for channel: DFS Replication

if you have issues refreshing Server Manager and a follwing error appears Log Name: Microsoft-Windows-ServerManager-MgmtProvider/Operational Source: Microsoft-Windows-ServerManager-ManagementProvider Date: 11/15/2016 3:00:24 PM Event ID: 46 Task Category: Get server inventory task Level: Warning Keywords: User: Computer: Description: Generic failure querying the localized name for channel: DFS Replication [hResult = Function failed during execution., hLastResult = The system cannot find the file specified.]. The solution is to run powershell Remove-EventLog -LogName "DFS Replication"

Thursday, November 10, 2016

Windows Updates setting change log

When you change Windows updates to install automatically the follwing is logged in WindowsUpdate.log 2016-11-10 10:49:50:216 864 18a4 AU ########### AU: Setting new AU options ########### 2016-11-10 10:49:50:216 864 18a4 AU Setting AU Approval Type to 4 2016-11-10 10:49:50:216 864 18a4 AU Setting Install Schedule Day to 0 2016-11-10 10:49:50:216 864 18a4 AU Setting Install Schedule Time to 3 2016-11-10 10:49:50:216 864 18a4 AU Successfully wrote event for AU health state:0 2016-11-10 10:49:50:216 864 18a4 AU # Policy changed, AU refresh required = No 2016-11-10 10:49:50:216 864 18a4 AU # Approval type: Scheduled (User preference) 2016-11-10 10:49:50:216 864 18a4 AU # Scheduled install day/time: Every day at 3:00 2016-11-10 10:49:50:216 864 18a4 AU # Auto-install minor updates: Yes (User preference) 2016-11-10 10:49:50:216 864 18a4 AU # Will display featured software notifications (User preference) 2016-11-10 10:49:50:216 864 18a4 AU AU settings changed through User Preference. 2016-11-10 10:49:50:216 864 18a4 AU Setting AU scheduled install time to 2016-11-11 02:00:00 2016-11-10 10:49:50:216 864 18a4 AU Successfully wrote event for AU health state:0 2016-11-10 10:49:50:216 864 18a4 AU Successfully wrote event for AU health state:0 2016-11-10 10:49:50:325 864 18a4 AU Getting featured update notifications. fIncludeDismissed = true 2016-11-10 10:49:50:325 864 18a4 AU No featured updates available. if you change it to Check for Updates and let me choose when to install: 2016-11-10 10:50:11:245 864 18a4 AU ########### AU: Setting new AU options ########### 2016-11-10 10:50:11:245 864 18a4 AU Setting AU Approval Type to 2 2016-11-10 10:50:11:245 864 18a4 AU Successfully wrote event for AU health state:0 2016-11-10 10:50:11:245 864 18a4 AU # Policy changed, AU refresh required = No 2016-11-10 10:50:11:245 864 18a4 AU # Approval type: Pre-download notify (User preference) 2016-11-10 10:50:11:245 864 18a4 AU # Will display featured software notifications (User preference) 2016-11-10 10:50:11:245 864 18a4 AU AU settings changed through User Preference. 2016-11-10 10:50:11:245 864 18a4 AU Successfully wrote event for AU health state:0 2016-11-10 10:50:11:245 864 18a4 AU Successfully wrote event for AU health state:0 2016-11-10 10:50:11:354 864 18a4 AU Getting featured update notifications. fIncludeDismissed = true 2016-11-10 10:50:11:354 864 18a4 AU No featured updates available.

Monday, November 7, 2016

Lync Phone Edition LPE test device is not updating

https://social.technet.microsoft.com/Forums/lync/en-US/4130ea54-d9b3-4ed0-95e5-9353a964b252/lync-test-device-not-updating?forum=ocsclients

How to add custom CSS to SP2010 site?

FYI, to avoid an issue with Ribbon loosing the focus aftert adding Webpart to a standard list view page - AllItems.aspx as example, use the following method instead of adding CEWP CSS code.

http://fitandfinish.ironworks.com/2010/01/the-best-way-to-add-custom-css-to-sharepoint.html 


As example I wanted to avoid file name wrapping (if it contains spaces) and I added stype definition in CEWP


,
but then user will have to select list webpart in order to see tabs Documents and Library. So we would add it into header instead.