Tuesday, October 22, 2013

Tabs missing on Windows OS SNMP Service properties

To get all tabs enabled for SNMP configuration on Windows OS, you should close the services console and reopen it, after adding SNMP feature.

Friday, October 11, 2013

LDAP Queries for New Operating Systems like Windows 8.1

Find attached LDAP queries for find Windows 8, Windows 8.1, Windows Server 2012 and Windows Server 2012 R2 in your environment.

 Find all Windows 8.0 (all versions) computers
(&(objectCategory=computer)(operatingSystem=Windows 8*)(operatingSystemVersion=6.2 (9200))) 

Find all Windows 8.1 (all versions) computers
(&(objectCategory=computer)(operatingSystem=Windows 8.1*))

Find all Windows Server 2012 (all versions) computers
(&(objectCategory=computer)(operatingSystem=Windows Server 2012*))

Find all Windows Server 2012 no R2 (all versions) computers
(&(objectCategory=computer)(operatingSystem=Windows Server 2012*)
(operatingSystemVersion=6.2 (9200))) 

 Find all Windows Server 2012 R2 (all versions) computers
(&(objectCategory=computer)(operatingSystem=Windows Server 2012 R2*))

An example how to use this queries using ADUC, have a look at this post.


Wednesday, October 9, 2013

Install a KMS Key for Windows 8.1 or Windows Server 2012 R2 on previous KMS hosts

How to install KMS key for Windows 2012 R2 / Windows 8.1 on Windows Server 2008 R2 host (also for hosts with Windows 7, Windows 8, Windows Server 2012)

Install Updates to support W 8.0/8.1 WS2012/R2 activation

Install .NET Framework 4.0 or 4.5 (VAMT Prep)

Uninstall previous versions of Windows Management Framework 3.0 if installed and install Windows Management Framework 3.0 (VAMT Prep)
Windows6.1-KB2506143-x64 -> for WS 2008 R2

Install VAMT 3.1 (included in Windows ADKK) (VAMT Prep)

Now using "1. SLMGR" or "2. VAMT" to setup KMS ... I would prefer slmgr, because I had trouble using VAMT on Windows Server 2008 R2.

Use the WS2012R2 KMS host key on Windows Server 2008 R2, because W8.1 host key could not be added and you will get an error.


slmgr.vbs /upk (to uninstall old keys, do a restart if possible)
slmgr.vbs /ipk 12345-12345-12345-12345
slmgr.vbs /ato (do a restart if possible)

2. VAMT 

Start the installer and select VAMT and MS SQL Server 2012 Express checkboxes in the Wizard.

Configure VAMT and add a KMS Client Setup Key
Open VAMT and create a new database.

Install license keys and setup KMS host
Right click on the "Product keys" and select "Add product keys..."

Note: Please note that you can also use the slmgr.vbs /ipk <KMS HOST KEY> command as an alternative method to install the KMS HOST KEY.

Add the license keys into the prompted field,  then click on "Add Keys…"

Once the key has been verified, it will show up in the product keys overview.


Error 0xC004F042 in Event 12290 appears on the KMS host and the clients couldn´t be activated. Maybe the KMS cached the old keys... and Windows 8.1 have trouble to activate

To resolve this issue I have done the following steps:
- Remove keys from VAMT.
- Type in the following command to uninstall the kms host key: slmgr /upk
- Restart the system
- Install the key using: slmgr /ipk 12345-12345-12345-12345
- Activate Windows using: slmgr /ato