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.
↧
Windows Updates setting change log
↧
Generic failure querying the localized name for channel: DFS Replication
if you have issues refreshing Server Manager and a foll0wing 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"
↧
↧
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 "-"
↧
ADFS Proxy error 383
↧
IIS security
If you have an account like contoso\sharepoint-farm in your IIS be aware that you can run locally appcmd command and obtain the password in clear text. Message: never use powerfull accounts in IIS. There are some people that use Domain Admin accounts there.
↧
↧
SCOM 2012R2 DW retention
utility and method still works in 2012R2
https://blogs.technet.microsoft.com/kevinholman/2010/01/05/understanding-and-modifying-data-warehouse-retention-and-grooming/
https://blogs.technet.microsoft.com/kevinholman/2010/01/05/understanding-and-modifying-data-warehouse-retention-and-grooming/
↧
SCCM stops SCOM
be aware:
https://scompanion.wordpress.com/2016/01/19/system-center-management-service-paused-on-management-server/
https://scompanion.wordpress.com/2016/01/19/system-center-management-service-paused-on-management-server/
Log Name: Operations Manager
Source: HealthService
Date: 29.12.2016 15:30:53
Event ID: 1217
Task Category: None
Level: Information
Keywords: Classic
User: N/A
Computer: xxx
Description:
The Microsoft Monitoring Agent running on computer "xxx" is suspended for the following reason:
"ConfigMgr 5.00.8239.1000 - SMS_MaintenanceTaskRequests - {55B3DD10-2110-4EBC-A8EF-E03D66EB3160}"
↧
AADsync - change AD credentials
↧
Visual Studio hangs when debugging SharePoint .net code at breakpoint
if the VS hangs on breakpoint when debugging SP with Process attach, try to reset IDE:
devenv.exe /ResetSettings
devenv.exe /ResetSettings
↧
↧
LDAP limits for .net queries
When using LDAP queries in .NET or Java, do not forget about limits:
C:\Users\Administrator>ntdsutil
ntdsutil: ldap policies
ldap policy: connections
server connections: connect to server dc
Binding to srvdc ...
Connected to srvdc using credentials of locally logged on user.
server connections: q
ldap policy: show value
Policy Current(New)
MaxPoolThreads 4
MaxDatagramRecv 4096
MaxReceiveBuffer 10485760
InitRecvTimeout 120
MaxConnections 5000
MaxConnIdleTime 900
MaxPageSize 1000
MaxQueryDuration 120
MaxTempTableSize 10000
MaxResultSetSize 262144
MinResultSets 0
MaxResultSetsPerConn 0
MaxNotificationPerConn 5
MaxValRange 1500
ThreadMemoryLimit 0
SystemMemoryLimitPercent 0
ldap policy: set maxpagesize to 5000
ldap policy: commit changes
ldap policy: q
ntdsutil: q
C:\Users\Administrator>ntdsutil
ntdsutil: ldap policies
ldap policy: connections
server connections: connect to server dc
Binding to srvdc ...
Connected to srvdc using credentials of locally logged on user.
server connections: q
ldap policy: show value
Policy Current(New)
MaxPoolThreads 4
MaxDatagramRecv 4096
MaxReceiveBuffer 10485760
InitRecvTimeout 120
MaxConnections 5000
MaxConnIdleTime 900
MaxPageSize 1000
MaxQueryDuration 120
MaxTempTableSize 10000
MaxResultSetSize 262144
MinResultSets 0
MaxResultSetsPerConn 0
MaxNotificationPerConn 5
MaxValRange 1500
ThreadMemoryLimit 0
SystemMemoryLimitPercent 0
ldap policy: set maxpagesize to 5000
ldap policy: commit changes
ldap policy: q
ntdsutil: q
↧
AD LDS authentication in AD with userProxy
↧
SharePoint 2010 find an RSS URL of a list
http://eimagine.com/turn-a-sharepoint-list-or-library-into-an-rss-feed/
simply open list settings and in the URL of the browser replace listedit.aspx to listfeed.aspx
simply open list settings and in the URL of the browser replace listedit.aspx to listfeed.aspx
↧
QLogic BCM57xx and 57xxx drivers:
↧
↧
CentOS 7.3 on HyperV
In order to make CentOS 7.3 work in Hyper-V, please add legacy network adapter first, then mount ISO
https://www.microsoft.com/en-us/download/details.aspx?id=51612
and run install from CENTOS73 folder.
Aftet that you will have support for standard network adapter and you can remove legacy one.
to activate automatic connection use nmtui
https://www.microsoft.com/en-us/download/details.aspx?id=51612
and run install from CENTOS73 folder.
Aftet that you will have support for standard network adapter and you can remove legacy one.
to activate automatic connection use nmtui
↧
Exchange 2016 VM slow boot and no network after HyperV guest services update or KB3063109
Boot VM in safe mode and set Exchange services start to manual. Then install guest services and once done, restore automatic start.
http://blog.scng.si/exchange-server-vm-becomes-unresponsive-while-updating-hyper-v-integration-services/
http://blog.scng.si/exchange-server-vm-becomes-unresponsive-while-updating-hyper-v-integration-services/
↧
Exchange 2016 onPrem mailbox restore error TooManyMissingItemsPermanentException
Hello, if you get this error
TooManyMissingItemsPermanentException
Error: This mailbox exceeded the maximum number of corrupt or missing items
that were specified for this request.
while running a powershell to restore mailbox from recovery DB:
New-MailboxRestoreRequest -SourceDatabase "RMLB05" -SourceStoreMailbox 86a3500a-53aa-4124-9661-76bab9d2fd15 -TargetMailbox username@domain.com –TargetRootFolder Recovery -SkipMerging FolderRules
try to add a switch -BadItemLimit 1000
TooManyMissingItemsPermanentException
Error: This mailbox exceeded the maximum number of corrupt or missing items
that were specified for this request.
while running a powershell to restore mailbox from recovery DB:
New-MailboxRestoreRequest -SourceDatabase "RMLB05" -SourceStoreMailbox 86a3500a-53aa-4124-9661-76bab9d2fd15 -TargetMailbox username@domain.com –TargetRootFolder Recovery -SkipMerging FolderRules
try to add a switch -BadItemLimit 1000
↧
DPM system state backup error
Type:Consistency check
Status:Failed
Description:DPM cannot create a backup because Windows Server Backup (WSB) on the protected computer encountered an error (WSB Event ID: 517, WSB Error Code: 0x98ED90). (ID 30229 Details: Internal error code: 0x80990ED0)
More information
End time:06.02.2017 10:24:38
Start time:06.02.2017 09:18:17
Time elapsed:01:06:21
Data transferred:-
Cluster node-
Source details:Computer\System Protection
Protection group members:1
Details
Protection group:Protection Group
Items scanned:0
Items fixed:0
in the WBS inside the server we can see it actually corresponds to low space error. indeed we have 12GB free on the drive E: and backup size is 14GB.
As we decide not to touch the drive E: (it is IDE VHD drive on that server, we add new VDHX file attached to SCSI adapter - this way we can alter disk space online. Which is not possible with VHD attached ove IDE interface. You will have to shutdown server and then change.
Now new drive F: can take the load.
go to C:\Program Files\Microsoft Data Protection Manager\DPM\Datasources and in the file PSDataSourceConfig.xml locate E; - drive short in space in section FilesToProtect and replace by F: new drive.
Rerun consistance check in DPM.
↧
↧
Quickly check user phone assignment in Lync or Skype for Business
Get-CsUser | where {$_.LineURI -eq "tel:+59625431255" -or $_.PrivateLine -eq "tel:+59625431255"} | format-table -property displayname,LineURI,privateline
↧
Sonus CCE admin guide
↧
Lync and Skype powershell scripts
↧