Windows KMS

| |


To install a new KMS host key for Windows 8 activation or for Windows Server 2012 activation, run the following command:
cscript %windir%\system32\slmgr.vbs /ipk
Note In this command, "KMS host key" is a placeholder for the new KMS host key for Windows 8 activation or for Windows Server 2012 activation.

Important Every KMS host key is associated with a group of Windows editions. Additionally, a KMS host key that is associated with Windows client operating systems cannot be installed on Windows server operating systems, and vice-versa. This is true for all Windows operating systems except for Windows Server 2003.

Cannot uninstall Windows program ?



Microsoft Support provides utilitu that helps uninstalling software that can't be removed using Add/Remove Programs

Fix problems with programs that can't be installed or uninstalled

It helped me to uninstall Citrix receiver from my laptop.

List and delete files using Windows PowerShell

| |

To list files of specific type(s) on the disk or directory including all sub-directories

get-childitem c:\ -include *.tmp, *.temp, *.bak -recurse 

get-childitem D:\Projects\abc*\ -include *.bak -recurse 

The commands above will list on screen all files with extentions TMP, TEMP or BAK located on disk C:\ and all subdirectories or located on disk D:\ in directory PROJECTS and all subdirectories with name starting with ABC and their subdirectories.

To delete files of specific type(s) from the disk or directoty including all sub-directories add

| foreach ($_) {remove-item $_.fullname}

Domain Controller FSMO Role Holders, Transfer and Demote


List of useful resources and brief information

Determining FSMO Role Holders

Netdom (part of Windows server support tools)

netdom query /domain: fsmo