Thursday, 16 July 2015

#Active Directory - Force seize FSMO roles from death DC, Windows Server 2012 R2

1. From secondary domain controller, run powershell as administrator.
2. Run following command:

Move-ADDirectoryServerOperationMAsterRole -Identity "Target_DC_Name" -OperationMasterRole PDCEmulator,RIDMaster,InfrastructureMaster,SchemaMaster,DomainNamingMaster

or

Move-ADDirectoryServerOperationMAsterRole -Identity "Target_DC_Name" -OperationMasterRole 0,1,2,3,4 -Force



Wednesday, 15 July 2015

#Office 365 ProPlus - Unable to install

Couldn't install. We're sorry, we had a problem installing your Office program(s).
Error Code: 30088-1021 (0)


Solution:

1. Make sure all Microsoft Office version/component uninstall from the computer. (Include visio, project and others)
2. Use Microsoft Office fix it tools to uninstall other version of Microsoft Office.
    Fix it script Download
4. Make sure the installer no problem. Can download o365 proplus from here: Office365 Proplus Offline Installer

#Microsoft Office - uninstall Microsoft Office by fix it script

Download here

#O365 ProPlus Offline Installer Download

Office 365 ProPlus Office Installer Downlaod

Password: P@ssw0rd!@#$

Download here Office365 ProPlus 32 bit

Download here Office365 ProPlus 64 bit

Tuesday, 14 July 2015

#WAP - Remove Web Application Proxy (WAP) from Cluster - Windows 2012 R2 (ADFS)

Example:

WAP Cluster with 2 ADFS Proxy. To remove ADFS-Proxy1. 

Solution:

1. On one of the ADFS Proxy server, run PowerShell with Administrator.
2. Enter Command below:

swpc -ConnectedServersName ((gwpc).ConnectedServersName -ne 'adfsservername')


3. ADFS-Proxy1 removed.


Reference:




http://blogs.technet.com/b/applicationproxyblog/archive/2014/08/20/web-application-proxy-powershell-cheat-sheet.aspx


Friday, 10 July 2015

#AS FS proxy- could not be configured

An error occurred when attempting to establish a trust relationship with the federation service. Error: Unable to connect to the remote server.


Solution:

1. Make sure Federation Name able to resolve from ADFS proxy server.
2. ADFS and ADFS Proxy server able to ping each other.




#AD FS - Error. Event ID 364

Error:

An error occurred. Contact you administrator for more information.

Microsoft.IdentityServer.RequestFailedException: MSIS7065: There are no registered protocol handlers on path /adfs/ls/idpinititedsignon.aspx to process the incoming request.





Solution:

1. Launch ADFS Management.
2. Right Click on Authentication Policies, select Edit Global Primary Authentication.

3.On Intranet, uncheck Windows Authentication, select Forms Authentication.

4. Restart ADFS server.
** Try to use firefox or google chrome to test https://sts.domainname/adfs/ls/idpinitiatedsignon.aspx
** Try to log in "https://sts.domainname/adfs/ls/idpinitiatedsignon.aspx" from another computer
** Make sure the address is correct. 
** Wait for 10-20 minutes and restart adfs server again.

It should work. Personally test many times.

Drop me an email if not work.
Email: darrenong877@gmail.com