Meet Windows Azure, Watch the Event LIVE

by Arman Obosyan 6. June 2012 08:44



For Georgia event date and time is 8 June, 0:00 (h:mm)


Free ebook: Introducing Windows Server 2012

by Arman Obosyan 4. June 2012 09:47

Introducing Windows Server 2012Introducing Windows Server 2012, by Mitch Tulloch, is now ready for free download! Please see the links below to download one or all of the available formats.

PDF Introducing Windows Server 2012 PDF ebook

EPUB Introducing Windows Server 2012 EPUB ebook

MOBI Introducing Windows Server 2012 MOBI ebook

Introducing Windows Server 2012 is 256 pages and includes 5 chapters loaded with insider information from the Windows Server Team.

Table of Contents

Chapter 1 The business need for Windows Server 2012
The rationale behind cloud computing Making the transition
Technical requirements for successful cloud computing
Four ways Windows Server 2012 delivers value for cloud computing Foundation for building your private cloud

Chapter 2 Foundation for building your private cloud
A complete virtualization platform
Increase scalability and performance Business continuity for virtualized workloads

Chapter 3 Highly available, easy-to-manage multi-server platform
Continuous availability
Cost efficiency
Management efficiency

Chapter 4 Deploy web applications on premises and in the cloud
Scalable and elastic web platform
Support for open standards

Chapter 5 Enabling the modern workstyle
Access virtually anywhere, from any device
Full Windows experience
Enhanced security and compliance

To read more about the latest news on Windows Server 2012 and to download the release candidate, go here.


Free ebook: Programming Windows 8 Apps with HTML, CSS, and JavaScript (First Preview)

by Arman Obosyan 4. June 2012 08:00


Programming Windows 8 Apps with HTML, CSS, and JavaScriptCelebrate the Windows 8 Release Preview and the Visual Studio 2012 Release Candidate, we’re happy to release a preview edition of

Programming Windows 8 Apps with HTML, CSS, and JavaScript, by Kraig Brockschmidt (who, some of you might remember, many years ago worked with us on a couple editions of Inside OLE).

Download a PDF of the ebook here (4.34 MB).

Download the ebook’s sample code here (27.5 MB).

This first preview contains the first four chapters of what we think will be an 18-chapter final ebook:

Chapter 1 The Life Story of a Metro Style App: Platform Characteristics of Windows
Chapter 2 Quickstart
Chapter 3 App Anatomy and Page Navigation
Chapter 4 Controls, Control Styling, and Basic Data Binding

More info about this book


Photos in Lync

by giorgi jambazishvili 29. May 2012 23:21

In this post, i’ll desribe difference moments about  photos in lync.  we have three photo option in lync client


first radio button means, that if user have photo it will not showed for users,

second radio button means, that user photo will retrieve from active directory, every user have attribute thumbnailphoto where their photos will saved in binary mode.


and third radio button for picture to be showed from public web address.

you can control which mode to use,

from lync management shell write get-csclientpolicy shell gives you client policy, in list there is DisplayPhoto ,  values of this policy may be allphotos –which means that all three radio buttons are avalable for user,


also value may be PhotosFromADOnly –which means that user does not have third radio button, he or she cannot user web url for his picture, this value means that if user have photo in active directory and user need to hide this photo  he can hide this photo, many administrator need something that permits users from hiding thier photos, but there is not solution yet. there is discusion about this in technet forum ( ) and also there is workarounds, but i wait for official solution about it.


and last value may be nophotos, which means that users will not have photos.


when user use photos from active directory, there is one disadvantage, federated users cannot see these type of photos, and if you want that federated users can see your photos, you must user public web url for photos.

how to add photos in active directory for user. there are many method and third party tools for this, one of them

also you can use this tool


lync cannot verify that the server is trusted for sign-in address. Connect anywhere? Trusted Domain List in lync

by giorgi jambazishvili 25. May 2012 23:19

lync cannot verify thar the server is trusted for sign-in address connect anywhere? This dialog box may recieve when you first log in lync using auto configuration, if you connect whit manual configuration this dialog never will show.


what is this means and why it appears?

when your lync client is trying connect server it first search srv record, when client identifying  a record to connect to, domain of the rocord is compared to the trusted domain list. if domain is trusted, of course connection is attempted, if not, it asks you if you trust to this connection.

which domains are in trusted domain by default? and where is this domain list?  it is registry

first it will see list that is in local machine configuration HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Communicator\TrustedModelData


then HKEY_CURRENT_USER\Software\Microsoft\Communicator\TrustedModelData you can add your server domain name in list, in my case it is llab-lync.llab.corp, you can also add llab.corp and all subdomains will be in trusted list.







if your lync server domain name is not in one of this list, lync asks you about trusted connection.




so in my mind the best way to add you lync server domain name in trusted list is gpo that add registry keys in every domain computer.


DevCon 12

by Arman Obosyan 22. May 2012 08:00


Script generate all user privileges in one report

by Vazha Mantua 14. May 2012 12:09

Good Day All.

Our task is get all privileges granted for user and create report based on this information. As you know privileges gives on user directly or on his role. Privileges divided by 2 part: system and object.

Let see example, create report for user Scott

1.Create repository table for store data:

create table vm_user_privs(privilege varchar2(100),user_name varchar2(100),object_name varchar2(100));

2. Main script

cursor c_user is
select a.username from dba_users a
where a.username='SCOTT';
p_user varchar2(100);

open c_user;
fetch c_user into p_user;
insert into vm_user_privs
select /*+ rule */ a.privilege,p_user,a.table_name from dba_tab_privs a where a.grantee=p_user
union all
select /*+rule */ b.privilege,p_user,b.table_name from dba_tab_privs b where b.grantee in (select b1.granted_role from dba_role_privs b1 where b1.grantee=p_user)
union all
select /*+ rule */ c.privilege,p_user,null from dba_sys_privs c where c.grantee=p_user
union all
select /*+rule */ d.privilege,p_user,null from dba_sys_privs d where d.grantee in (select b2.granted_role from dba_role_privs b2 where b2.grantee=p_user);
end loop;
close c_user;

3. See result:

select * from vm_user_privs

How To add Lync Archiving role to an Existing Deployment

by Giorgi Jambazishvili 9. May 2012 19:32

what can you do, if you already have lync infrastructure and you want to add archiving role to it? i’ll demonstrate it in my post. in lync infrastructure we have:

1) domain llab.corp

2) ca llab-ca.llab.corp

3) standard front end server( llab-lync.llab.corp)

and we want to add arching server in our infrastructure to archive IM and conferencing.we need one machine llab-arch.llab.corp install sql 2008 on it. open topology builder in front end server and add archiving role



define sql store, sql server must already install, you can have sql server in dedicated server and also archiving server role in another dedicated server, in my case it is all in one server.


define file share


associate Front end pool


and publish your new topology.on the llab-arch.llab.corp server where we have already sql server installed, install this features



after installing this feature open lync server deployment wizard and click install or update lync server system, first install local configuration store which will retrieve directly from the central management store and click setup or remove lync server components


in the archiving role you don’t need certificate for server, so step certificate request and click start services . check if both service is started


after this configure infrastructure to archive im and web conferencing services
image image



now we have archiving role in lync infrastructure. how to view archiving data? for viewing archiving data you need lync shell and some commands

for example:

to view all im from date 4/9/2012 to 5/9/2012 you need Export-CSArchivingData -DBInstance llab-arch.llab.corp -StartDate 4/9/2012 -EndDate 5/9/2012 -OutputFolder "C:\archivingdataforview" this command will collect all im from 4/9/2012 to 5/9/2012 and will save in C:\archivingdataforview folder as eml files

if you want to collect for one user you need add –useruri in command for example:Export-CSArchivingData -DBInstance llab-arch.llab.corp -StartDate 4/9/2012 -EndDate 5/9/2012 -OutputFolder "C:\archivingdataforview" –useruri “

users need gui for archiving im view, so microsoft create great tool OCS Instant Message Archive Viewer, you can download it from .

install it in your computer and open


from this tool you can easy view archiving data, before use make sure you have sufficient privileges to connect database and of course you have network access to it.


Conversations History TAB Not Working?

by giorgi jambazishvili 5. May 2012 10:57

After lync deployment or upgrade from ocs 2007 r2, you will notice that conversation history tab is not working, conversation history is saved in outlook, but history tab is empty, people think that for history tab they need archiving role in lync infrastructure.


It is not true, what you need for conversation history in lync? first of all you need exchange server, because history is saved in exchange mailbox and than it is showed in history tab.

user with sip address is logged in computer named computer1 , he had im session with , had conferencing with , and every session is saved and showed in his history tab. after this he loged in another computer named computer2, will his old history showed in history tab?
yes it will, because its showed from exchange mailbox using EWS (Exchange web Service)

and if you have exchange and history tab is not working yet, check ews configuration
by clicking mouse right click with ctrl key in lync icon and than configuration information. make sure that ews is ok and you have EWS URL.

ews ews2

if it’s not so, make autodiscover record in internal dns for domain address and your history tab will work (many administrator do not have autodiscover record in internal dns, and first check if you have).



Auto Configuration of Lync Client

by giorgi jambazishvili 2. May 2012 23:16

In the end of previous post, we connect to lync server using manual configuration. What we need for autoconfiguration and what steps lync clients goes before log in?
first idea is autconfiguration using gpo, you can download lync admx files from
and configure Specify transport and server in gpo


but is it autoconfiguration? Of course no! It’s manual configuration using gpo :) .
do you need real autoconfiguration? You need to add dns records. What record?

let’s look lync client, what is happening when lync client is trying log in during autoconfiguration?

1) lync extracts the domain from users sip address, in my case its (from


2)SRV Record queries begin for _sipinternaltls._tcp.domain ( used for internal connection ) if there is no result
3) begins for_sipinternal._tcp.domain( used for internal connection if tcp connection is allowed) if there is no result
4) begins for _sip._tls.domain ( used for external connection) if there is no result
5) begins for sipinternal.domain (
6) begins for sip.domain (
so it’s not necessary to use srv records for autoconfiguration if you use 5) or 6) ways. But before 5 and 6 methods process will be lengthy, so it’s the best to publish srv records for improve user sign in experience.

We need autoconfiguration only for internal connection (we have not edge infrastructure deployed yet), in dns make primary zone


make other new records and click Servicelocation(SRV)

image image

in the client computer make ipconfig /flushdns and try to connect with autoconfiguration,

you will log in!