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 […]

Offline Domain Join (ODJ) using the Direct Access 2012

In this article,  we will see how make Computer offline domain Join without connecting to the Corporate Network. Tested the Offline domain Join (ODJ) and it is working as expected. Requirements: Required Client OS Versions :Windows 8 and Above Versions DC Requirements : Server 2008 r2 and above. Admin access : user must have permission […]

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. […]

How to Get All domain joined Computers List using the PowerShell

In this command, we will see how to get all the computers in the domain using the PowerShell Command. Use the below command to get the Complete Computers Reports.where the command has been enabled with filters where the required details to audit the Domain Joined Machine computers. Get-AdComputer -Resultsetsize 100000 -Filter * –Properties CanonicalName,DNSHostName,Enabled,IPv4Address,lastLogon,LastLogonDate,lastLogonTimestamp,Name,OperatingSystem,OperatingSystemServicePack,OperatingSystemVersion,whenCreated | […]