Finally the help of IT is here

Blog of computer solutions.

How to install Active Directory Federation Services 2.0

Posted by Xaus Xavier Nadal 17th on March 2012


Following the implementation of Article Single Sign On with Google Apps think this article explains how to install Active Directory Federation Services 2.0 step by step and used to template for future implementations of this tool.

Active Directory Federation Services can be installed 2.0 2 forms.

1.- Through the Windows Server Manager as a role 2008 R2 (This does not work with the article Single Sign On with Google Apps).

2.- Through the following download:

As this article is based on the steps to do a single sign on with SAML protocol by a ADFS to Google Apps I'll explain how to install it through point 2 to avoid problems when you follow the steps correctly.

The prerequisites are:

The first step is Install Internet Information Server on Windows Server 2008 R2.

When we have done the previous step to install the .NET Framework feature 3.5.1

Megacrack read »

tags: , , , , ,
Posted by Active Directory, Google Apps, Google Apps | No Comments »

How to detect which user or group has a specific mail account

Posted by Xaus Xavier Nadal 16th on February 2012

Good Morning.

Sometimes I ask who is receiving the emails to a specific email address.

With the following query Active Directory you can be able to detect that user receives the mail assigned to a distribution list or a specific alias.

The following query can run the number of ways.

Consultation with Powershell if you have the tool Quest Active Roles Management

get-QADUser-dudip-sl-ldapfilter 0 "(& (| (objectCategory = group) (objectCategory = user)) (* <dirección_de_correo> proxyAddresses = *))" | select name

From the console of users and computers in Active Directory.

Access the administration console users and computers in Active Directory: (Start -> Run -> dsa.msc)

Megacrack read »

tags: , , , , , ,
Posted by Active Directory, PowerShell | No Comments »

How to detect if a computer is portable or desktop computer with WMI.

Posted by Xaus Xavier Nadal 22nd on January 2012

Good Morning.

Some time ago I became necessary to discover computers desktop or laptop and asked Carlos Torres (one of our partners) that it is much the subject of Visual Basic Script (vbs) if I could make a script so that it can detect.

I had only a piece of code to distinguish from a WMI query and chassis types detected in a single device that guy was.

I needed an application by passing a list of equipment in a excel tell me that guy was (Desktop or laptop).

And here you have the wonderful script that you created.

Megacrack read »

tags: , , , , , , , , , , , ,
Posted by Active Directory, Programming, VbScript, WMI | 3 Comments »

List ActiveSync-enabled users in Active Directory.

Posted by Xaus Xavier Nadal 18th on January 2012


To make a list of users who have ActiveSync enabled in Active Directory will use the great tool of the company Quest (Active Roles Management) plus essential and Powershell (Read the following article to see how to install these tools) :

What we want to achieve with this article is to list the users who have enabled the feature in Exchange (User initiated synchronization o Update Notifications).

To achieve this we use the field msExchOmaAdminWirelessEnable containing different values, 2, 3, 7 as it is enabled.

We know that other than 7 means you have something enabled. (For example with User initiated synchronization us appears the result 3 and with User initiated synchronization y Update Notifications result appears to us 2, so the query will show a list of users when the field msExchOmaAdminWirelessEnable is other than 7.

The command we'll use is as follows:

Get-QADUserDontUseDefaultIncludedProperties -SizeLimit 0 -IncludedProperties msExchOmaAdminWirelessEnable | where-object{($ _ MsExchOmaAdminWirelessEnable 7 -ne.) -and ($ _ MsExchOmaAdminWirelessEnable -ne $ null.)} | format-table displayname, samAccountName, msExchOmaAdminWirelessEnable

Shortcut (With fewer characters in the line of the query): This is just to save typing much (The result is exactly the same).

Get-QADUser -dudip -sl 0 -ip msExchOmaAdminWirelessEnable | ?{($ _ MsExchOmaAdminWirelessEnable 7 -ne.) -and ($ _ MsExchOmaAdminWirelessEnable -ne $ null.)} | ft displayname, samAccountName, msExchOmaAdminWirelessEnable

Just to see more of powershell, to check the short names of all properties in powershell type in "alias"And you will see a long list of short names of the switches as the following examples.

CommandType Name Definition
———– —- ———-
ForEach-Object Alias%
Alias? Where-Object
Ac Add-Content Alias
Alias ​​Add-PSSnapIn ASNP
Alias ​​cat Get-Content
Alias ​​Set-Location cd
Chdir Alias ​​Set-Location
Clear-Content Alias ​​clc
Alias ​​Clear-Host clear

I hope it been usefull.

See you soon.

tags: , , , , , , , ,
Posted by Active Directory, Exchange, PowerShell | No Comments »

Copying files between Windows servers ROBOCOPY

Posted by Alex Nalda 18th on December 2011

Good to [Email protected],

Today I will explain how to transfer data from a server (either DC or member) in one domain to another server in the domain, either for purposes of migration or just by expansion of server space, since there are still admins working with Windows infrastructure 2000 server and can at this point for excess storage by users on the server, it has fallen short of capacity.

Well, we'll do with a little utility called Robocopy (Robust File and Folder Copy). This is a command included in the Resource kit Windows, which is useful for us to copy files and folders, so far nothing new.

The potential of this application is that it is very versatile; you can tell that you delete the source from which you are copying, or copying a file fails, we can tell you to try X times and we can also define the waiting time between attempted and try, ... etc. The good thing that all this completely automatically and with a simple command line you made.

first install the Resource Kit is installed by default in C: \ Program Files \ Windows Resource Kits \ Tools

Thereupon we open the console from HomeRun and type "Cmd". Once inside we look for the old path "C: \ Program Files \ Windows Resource Kits \ Tools"And from there we would put for instance ... ..:

ROBOCOPY Server1 \\ \ C $ \\ Server2 \ F $ \ BACKUP / S / E / COPYALL / MIR / R: 2 / W: 2 /LOG:F:\BACKUP\COPIA1.TXT

Megacrack read »

tags: , , , , , , ,
Posted by Active Directory, General | 3 Comments »

GTranslate Your license is inactive or expired, please subscribe again!