Federated domain to Managed Domain

How to Convert Federated Domain to Managed Domain(Password Hash Sync(PHS))-Part 1

In this Article, we will see how to convert the Federated domain which is using the ADFS Authentication using against the On-premises Active Directory to Managed Authentication against Azure Active Directory(AAD). ADFS Authentication is Token Based Authentication and it is very secured Authentication wherein it has some limitation as it is required Web Application Proxy(WAP) […]

Unable to reach IDP Initiated page of ADFS in Server 2016

Unable to reach IDP Initiated page of ADFS in Server 2016

Noticed IDPInitiated signon page is not loading by default in Adfs 2016 as it is loading in pervious versions. Default IDP URL : https://adfsname.domainname.com/adfs/ls/idpinitiatedsignon.aspx In my case, https://sts.windowstechpro.com/adfs/ls/idpinitiatedsignon.aspx Ideally, in ADFS 2016 it is disabled by default. Run the below command to see status of the IDP Initiatedsignon page. Get-AdfsProperties | Select-Object EnableIdpInitiatedSignonpage Now, To […]

Error 400 Bad Request when connecting ADFS Services

Noticed Error 400 Bad request in ADFS when trying to reach adfs services for authentication. ideally it happens if created CNAME record for ADFS Services. ADFS Will not support mapping the CNAME Record for the ADFS. It is recommended to have A record for the ADFS. Once created correct record, restart ADFS services in ADFS […]

Computer trust

How to fix AD Computer trust error and how to solve them in multiple ways

In this article We see about Trust relationship  between this workstation and the primary domain failed. For Example, user is trying to login in workstation System. Enter the User Name and password. In database on the server does not Have  computer account for workstation trust relationship. Let’s see How to fix the issue in multiple […]

How to add domain users to the Local Groups using PowerShell

In this Article, we will see how to add user or users or Computer using Powershell. If you want to add users to the specific one Group, you can use the below command.. $domain=”Windowstechpro.com” $Computer = $env:COMPUTERNAME; $ADSIComputer = [ADSI](“WinNT://$Computer,computer”); $SGName = $ADSIComputer.psbase.children.find(‘Administrators’) function Groupmember($number) { $SGName.add(“WinNT://”+$domain+”/”+$number ) } Groupmember “radhakrishnan.govindan”  Groupmember “veterivel.Madeshwaran” In the […]

How to configure an authoritative time server in Windows Server

How to configure an authoritative time server in Windows Server

In this article we see how to configure the Windows Time service and troubleshoot when the Windows Time service is not working correctly. To check the PDC Server for Time Synchronization and to configure the PDC master server by using an internal hardware clock, follow these below steps: Open Registry on the PDC Role holder domain controller, […]

How to get AD Computers Report in Specific Date Format Using Powershell

How to get AD Computers Report in Specific Date Format Using PowerShell

In my Previous AD Powershell Post, I have showed how to generate AD Computers report with specific Paramenters, Wherein the LastLogonDate attribute value format will not be in the same format if your AD Infrastructure is not configured with specific time format. Below output report is an example,You will see the report date values are has […]

Relationship between two domains in Server

Active Directory trust Relationship between two domains in Server 2016

In this article, we see about Trust relationship between two domains in Server 2016. So, first we link both two domains in active directory and trust and Domain A and Domain B have administrators Rights. They can easily create One-way and Two Way Trust relationship.Before proceeding, you need to ensure that the networks/forest on both […]

Powershell

How get a Installed programs using PowerShell

In this PowerhShell command, we will see how to get installed programs in the computer installed programs  information can be fetched using the WMI_Object using the Class: Win32_Product. it is very straight forward to get the installed applications. Run the command:  Get-WmiObject -Class Win32_Product -Computer COmputername it will get all the installed applications in the Computer. […]