text stringlengths 0 4.23k |
|---|
/set |
Sets the audit policy. For more information, see auditpol set for syntax and options. |
/list |
Displays selectable policy elements. For more information, see auditpol list for syntax and options. |
/backup |
Saves the audit policy to a file. For more information, see auditpol backup for syntax and options. |
/restore |
Restores the audit policy from a file that was previously created by using auditpol /backup. For more information, see auditpol restore for syntax and options. |
/clear |
Clears the audit policy. For more information, see auditpol clear for syntax and options. |
/remove |
Removes all per-user audit policy settings and disables all system audit policy settings. For more information, see auditpol remove for syntax and options. |
/resourceSACL |
Configures global resource system access control lists (SACLs). Note: Applies only to Windows 7 and Windows Server 2008 R2. For more information, see auditpol resourceSACL. |
/? |
Displays help at the command prompt. |
autochk |
Runs when the computer is started and prior to Windows Server starting to verify the logical integrity of a file system. |
Autochk.exe is a version of chkdsk that runs only on NTFS disks and only before Windows Server starts. autochk cannot be run directly from the command-line. Instead, autochk runs in the following situations: |
If you try to run chkdsk on the boot volume. |
If chkdsk cannot gain exclusive use of the volume. |
If the volume is flagged as dirty. |
Remarks |
Warning |
The autochk command-line tool cannot be directly run from the command-line. Instead, use the chkntfs command-line tool to configure the way you want autochk to run at startup. |
You can use chkntfs with the /x parameter to prevent autochk from running on a specific volume or multiple volumes. |
Use the chkntfs.exe command-line tool with the /t parameter to change the autochk delay from 0 seconds to up to 3 days (259,200 seconds). However, a long delay means that the computer does not start until the time elapses or until you press a key to cancel autochk. |
autoconv |
Applies to: Windows Server 2022, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012 |
Converts file allocation table (Fat) and Fat32 volumes to the NTFS file system, leaving existing files and directories intact at startup after autochk runs. volumes converted to the NTFS file system cannot be converted back to Fat or Fat32. |
Important |
You can't run autoconv from the command-line. This can only run at startup, if set through convert.exe. |
autofmt |
Starts the Auto File System Format Utility, which formats a drive or partition when called from the Windows Recovery Console. |
Important |
You cannot run autofmt directly from the command-line. |
automount |
Applies to: Windows Server 2022, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012 |
Important |
In storage area network (SAN) configurations, disabling automount prevents Windows from automatically mounting or assigning drive letters to any new basic volumes that are visible to the system. |
Syntax |
automount [ { enable | disable | scrub } ] [noerr] |
Parameters |
Parameter |
Description |
enable |
Enables Windows to automatically mount new basic and dynamic volumes that are added to the system and to assign them drive letters. |
disable |
Prevents Windows from automatically mounting any new basic and dynamic volumes that are added to the system.Note: Disabling automount can cause failover clusters to fail the storage portion of the Validate a Configuration Wizard. |
scrub |
Removes volume mount point directories and registry settings for volumes that are no longer in the system. This prevents volumes that were previously in the system from being automatically mounted and given their former volume mount point(s) when they are added back to the system. |
noerr |
For scripting only. When an error is encountered, DiskPart continues to process commands as if the error did not occur. Without this parameter, an error causes DiskPart to exit with an error code. |
Note: Disabling automount can cause failover clusters to fail the storage portion of the Validate a Configuration Wizard. |
Examples |
To see if the automount feature is enabled, type the following commands from within the diskpart command: |
automount |
To enable the automount feature, type: |
automount enable |
To disable the automount feature, type: |
automount disable |
bcdboot |
Enables you to quickly set up a system partition, or to repair the boot environment located on the system partition. The system partition is set up by copying a simple set of Boot Configuration Data (BCD) files to an existing empty partition. |
Syntax |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.