Month: December 2014

SQL Server 2012 automated Install ini Feature list

Good reference to interpret/create SQL installation ini file

Understanding SQL

Any DBA worth their salt will have automated the deployment of any version of SQL server using a SQL server configuration ini and a standard installation script. Through the ini, you can manage exactly what you required to be installed, where you want it installed and how you want your features to run.

With the introduction of SQL Server 2012, Microsoft introduced some new features that can be included in your network standard installation, so I figured it was time to update the list of features and their abbreviated name that needs to be included in the ini.

In your ini, you will have a line approximate to this:

FEATURES=SQLENGINE,REPLICATION,FULLTEXT,DQ,AS,RS,RS_SHP,RS_SHPWFE,DQC,BIDS,CONN,IS,BC,SDK,BOL,SSMS,ADV_SSMS,DREPLAY_CTLR,DREPLAY_CLT,SNAC_SDK,MDS

For reference, here are the full names:

Ini
name

Feature

SQLENGINE

SQL
Server Engine

REPLICATION

Replication

FULLTEXT

Full
text Search

DQ

Data
Quality Services

AS

Analysis
Services

RS

Reporting
Services – Native

RS_SHP

Reporting
Services – SharePoint

RS_SHPWFE

Reporting
Services…

View original post 75 more words

Disable Lync User Vs. Remove Lync User From ADSI Edit View

In this post, we will user ADSI Edit to look into a Lync Enabled user Properties, and note what changes when we temporarily disable, and remove the user from Lync.

Original Lync User properties:

2014-12-26 13_12_33-Disable Vs. Remove Lync User - Microsoft OneNote

Disable Lync User:

2014-12-26 13_13_57-Disable Vs. Remove Lync User - Microsoft OneNote

2014-12-26 13_15_02-Disable Vs. Remove Lync User - Microsoft OneNote

Remove Lync User:

2014-12-26 13_15_58-Disable Vs. Remove Lync User - Microsoft OneNote

2014-12-26 13_16_41-Disable Vs. Remove Lync User - Microsoft OneNote

2014-12-26 13_17_14-Disable Vs. Remove Lync User - Microsoft OneNote

2014-12-26 13_18_07-Disable Vs. Remove Lync User - Microsoft OneNote

Summary:

Selecting “Temporarily Disable For Lync Server” for a user: Will sets the msRTCSIP-UserEnabled value to FALSE, and will maintain all the user Lync attributes

Selecting “Remove From Lync Server” for a user: Will remove all Lync attributes from the user. and the Active Directory user itself will not be deleted.

Windows 2012 R2 server With Hyper-V Shutdown Automatically by wlms.exe Process

I just installed Windows 2012 R2 server for lab testing, and installed the Hyper-V role over it, then noticed that the server shutdown automatically after a period of time.

by checking the event viewer, below event was logged prior the shutdown:

Log Name: System

Source: USER32

Event ID: 1074

Description:
The process C:\Windows\system32\wlms\wlms.exe (<Computer Name>) has initiated the shutdown of computer <Computer Name> on behalf of user NT AUTHORITY\SYSTEM for the following reason: Other (Planned)
Reason Code: 0x80000000
Shutdown Type: shutdown
Comment: The license period for this installation of Windows has expired. The operating system is shutting down.

As the event states: The license period for this installation of Windows has expired.

Activating the server will solve this problem permanently, but for meanwhile I re-armed the activation using this command:

Slmgr.vbs -rearm

[Batch] Backup Entire Folder with Current Date and Time

During my work on documentations, I usually will need to take different  snapshots of the current documentations folder at every milestone.

This batch will ask you for the folder you want to backup, then will create a new folder inside this folder named “AutoBackup” –> then will create a new folder with the current date and time inside this AutoBackup folder.

@Echo off
SETLOCAL
SET /P BackupPath=Please Enter the Folder Path to Backup:
MD "%BackupPath%\AutoBackup"
Set FolderNameFull=%BackupPath%\AutoBackup\%date:/=-%_%time::=%
Set FolderNameFinal=%FolderNameFull:~0,-5%
MD "%FolderNameFinal%"
Robocopy "%BackupPath%" "%FolderNameFinal%" /E /XD *AutoBackup
ENDLOCAL
Pause

RTCP active calls must be false if bypass is enabled and refer support is disabled Error

Reblog for your favorite post…

Ibrahim Soliman Blog

Issue:

In Lync Server 2010 While configuring a trunk to enable media bypass, and disable (un-enable) the refer support (as the recommended settings when creating a SIP trunk to Cisco Unified Communications Manager CUCM), you may receive the below error when you try to commit changes:

image

Cause:

A

Solution:

in the below example, my Trunk name is: PstnGateway:10.0.0.20

– in the trunk prosperities, Temporarily un-enable the media bypass, and commit to save changes:

image

– Now, let’s open Lync Management shell and check the status of RTCP Active Calls, and RTCP Calls on hold:

clip_image001

We see both are True by default, Also note the EnableSessionTimer status is False.

– Now, run the below commands to set RTCPActiveCalls and RTCPCallsonHold as false:

image

– Now lets check the status again:

clip_image004

clip_image006

Commit to save, and it should complete successfully this time

clip_image007

View original post