Microsoft BootEventCollector reference: Disables the forwarding of events to the Setup and Boot Event Collector in the AutoLogger settings. The syntax and selected example below are adapted from the pinned Windows Server 2025 reference. Module availability, target configuration and delegated permissions determine whether it can run in your environment. Documentation and parameter text: Microsoft, CC BY 4.0; formatting adapted by Cmdlet World. No execution testing is claimed.
Use an account with the target resource permissions documented for Disable-SbecAutologger. Modifying administrative cmdlets may require elevation or delegated administration. This catalog does not assert that ordinary users can execute the command.
Supported environments
Windows / BootEventCollector · Windows Server 2025 documentation; feature/module prerequisites apply
Parameters
-ComputerName (required)
Specifies the names of the computers on which you want to perform the operation. You can specify a fully qualified domain name (FQDN), a NetBIOS name, or an IP address for each computer. For more information, see Invoke-CimMethod on TechNet.
-ControlSet
Specifies the control set key for the registry path. This parameter is valid only when used with the *Local* parameter.
-Credential
Specifies a user account that has permission to perform this action. The default is the current user.
-DismLogPath
Specifies the path of the file for the Deployment Image Servicing and Management (DISM) log when mounting images.
-Local (required)
Indicates to perform this operation on the local computer. This mode enables control over the registry path of where settings are applied.
-Logger
Specifies an array of AutoLogger sessions to disable. Specify an asterisk (*) to disable the EVENTNET forwarding in all of the sessions defined in the registry.
-NoDefaultLoggers
Indicates this operation does not automatically add the default set of logger sessions (EventLog-System, NT Kernel Logger, and SetupPlatform) to those specified by the *Logger* parameter. If the value of Logger is *, this parameter has no effect.
-Path (required)
Specifies the list of full paths to the offline Windows image files (WIM or VHD) to which to apply the settings. If a WIM file contains multiple images, all of them are modified.
-Session (required)
Specifies the PSSession objects connected to the remote target computers. Enter a session object, such as the output of the Get-PSSession or New-PSSession cmdlet, or an array of these objects.
-SystemHive
Specifies the full path to the system hive for the registry path.
Prerequisites
Windows with the BootEventCollector module and the Windows feature or management tools that provide it. Confirm target connectivity and version compatibility using the linked Microsoft reference.
Security considerations
This cmdlet changes system state. Review every target and parameter in the official reference, test outside production, and prepare an appropriate backup or rollback. Do not execute the example automatically.
Examples
Example 1: Disable the AutoLogger
Disable-SbecAutologger -ComputerName Server01
This command disables the AutoLogger settings on the computer named Server01. Source: Microsoft, CC BY 4.0; transcript prompt/output removed. This example was not executed.