text stringlengths 0 4.23k |
|---|
Running partition tests on : Configuration |
Starting test: CheckSDRefDom |
......................... Configuration passed test |
CheckSDRefDom |
Starting test: CrossRefValidation |
......................... Configuration passed test |
CrossRefValidation |
Running partition tests on : corp |
Starting test: CheckSDRefDom |
......................... corp passed test CheckSDRefDom |
Starting test: CrossRefValidation |
......................... corp passed test CrossRefValidation |
Running enterprise tests on : corp.baconpancake.com |
Starting test: LocatorCheck |
......................... corp.baconpancake.com passed test |
LocatorCheck |
Starting test: Intersite |
......................... corp.baconpancake.com passed test |
Intersite |
PS C:\Users\Administrator> |
To run a series of connectivity tests on a specific domain controller, run the following command: |
dcdiag /s:<DomainControllerName> |
It should generate similar results as the local test if no issues are encountered. |
Output to a log file |
Dcdiag is able to save the output results to a text file by running the following: |
dcdiag /s:<DomainControllerName> /f:<FileName.txt> |
If no <FilePath> is specified, results are saved to C:\Users\<UserName>\<FileName.txt> by default. |
<FilePath> |
C:\Users\<UserName>\<FileName.txt> |
To save to a specific location, run the following: |
dcdiag /s:<DomainControllerName> /f:<DriveLetter>\<FilePath>\<FileName.txt> |
Additional references |
Command-Line Syntax Key |
dcgpofix |
Recreates the default Group Policy Objects (GPOs) for a domain. To get to the Group Policy Management Console (GPMC), you must install Group Policy Management as a feature through Server Manager. |
Important |
As a best practice, you should configure the Default Domain Policy GPO only to manage the default Account Policies settings, Password Policy, Account Lockout Policy, and Kerberos Policy. Additionally, you should configure the Default Domain Controllers Policy GPO only to set user rights and audit policies. |
Syntax |
dcgpofix [/ignoreschema] [/target: {domain | dc | both}] [/?] |
Parameters |
Parameter |
Description |
/ignoreschema |
Ignores the version of the Active Directory schema when you run this command. Otherwise, the command only works on the same schema version as the Windows version in which the command was shipped. |
/target {domain | dc | both |
Specifies whether to target the Default Domain policy, the Default Domain Controllers policy, or both types of policies. |
/? |
Displays Help at the command prompt. |
/target {domain | dc | both |
Examples |
To manage the default Account Policies settings, Password Policy, Account Lockout Policy, and Kerberos Policy, while ignoring the Active Directory schema version, type: |
dcgpofix /ignoreschema /target:domain |
To configure the Default Domain Controllers Policy GPO only to set user rights and audit policies, while ignoring the Active Directory schema version, type: |
dcgpofix /ignoreschema /target:dc |
defrag |
Applies to: Windows Server 2022, Windows Server 2019, Windows 10, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012 |
Locates and consolidates fragmented files on local volumes to improve system performance. |
Membership in the local Administrators group, or equivalent, is the minimum required to run this command. |
Syntax |
defrag <volumes> | /c | /e <volumes> [/h] [/m [n]| [/u] [v]] |
defrag <volumes> | /c | /e <volumes> /a [/h] [/m [n]| [/u] [v]] |
defrag <volumes> | /c | /e <volumes> /x [/h] [/m [n]| [/u] [v]] |
defrag <volume> [<parameters>] |
Parameters |
Parameter |
Description |
<volume> |
Specifies the drive letter or mount point path of the volume to be defragmented or analyzed. |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.