Query for extensionAttribute on ADDS

Hello,

Today I needed to query in an AD what users have extensionattribute3  with the value “migrated”. The syntaxis is the following: objectClass=User)(extensionAttribute3=migrated

Regards!

Anuncios

SCCM Colections based on computer arquitecture

Hello,

In SCCM we can do querys based on computer arquitecture. If we need to make a colection that shows all x86 OS versions or x64 we can do the following query:

x86:

select distinct SMS_R_System.ResourceId,
SMS_R_System.ResourceType,
SMS_R_System.Name,
SMS_R_System.SMSUniqueIdentifier,
SMS_R_System.ResourceDomainORWorkgroup,
SMS_R_System.Client from SMS_R_System
inner join
SMS_G_System_COMPUTER_SYSTEM
on
SMS_G_System_COMPUTER_SYSTEM.ResourceID = SMS_R_System.ResourceId
where
SMS_G_System_COMPUTER_SYSTEM.SystemType = “x86-based PC”

x64:

select distinct SMS_R_System.ResourceId,
SMS_R_System.ResourceType,
SMS_R_System.Name,
SMS_R_System.SMSUniqueIdentifier,
SMS_R_System.ResourceDomainORWorkgroup,
SMS_R_System.Client from SMS_R_System
inner join
SMS_G_System_COMPUTER_SYSTEM
on
SMS_G_System_COMPUTER_SYSTEM.ResourceID = SMS_R_System.ResourceId
where
SMS_G_System_COMPUTER_SYSTEM.SystemType = “x64-based PC”

Regards!

Steps to migrate DHCP from 2003 to 2008 R2

Hi all!

I´m going to migrate a DHCP 2003 x86 to 2008 R2 and these are the steps to do:

Export db on 2003:

  • Netsh dhcp server export c:\dhcpdb.dat all
  • Unauthorize DHCP

Import db on 2008 R2:

  • Copy the dhcpdb.dat file to a local disk
  • Netsh dhcp server import c:\dhcpdb.dat all
  • Authorize DHCP

If you are moving dhcp on servers with diferents languages, when you import the db you will obtain an error (Error while importing class “Default BOOTP Class”. This class conflicts with the existing class “Default BOOTP Class”). You can find the solution here: http://support.microsoft.com/kb/885687/es

Regards!!

 

How to know if a CA is Enterprise or Standalone

Hi there!

I´m going to migrate a CA from windows 2003 (x86) to 2008 R2 and to know if the CA is Standalone or Enterprise I need to do one of the following:

  • typing the command: certutil -getreg ca\catype
  • Open CertSrv.msc console and locate Certificate Templates node. This node exist on Enterprise CAs only.
  • In Site and Services, Select Show Service node in the view pane. Go to Services, Public Key Services, Enrollment Services. If you view there the CA name like an object your CA is an Enterprise CA, if not is a StandAlone.

Regards!

Microsoft IT Environment Health Scanner

Hello folks

I found this health tool that can help us to troubleshoot AD easily 🙂

http://www.microsoft.com/en-us/download/details.aspx?id=10116

These is the checks that do:

  • Configuration of sites and subnets in Active Directory
  • Replication of Active Directory, the file system, and SYSVOL shared folders
  • Name resolution by the Domain Name System (DNS)
  • Configuration of the network adapters of all domain controllers, DNS servers, and e-mail servers running Microsoft Exchange Server
  • Health of the domain controllers
  • Configuration of the Network Time Protocol (NTP) for all domain controllers

 

Regards!