CmdID / PowerShell / Cmdlets / Reset
Reset-SmbServerConfiguration
Resets the Server Message Block (SMB) server configuration parameters to their default values. Windows Server PowerShell reference
From the Windows Server PowerShell reference 56 parameters Its page in the reference
Parameters
Show its 56 parameters
-AllResets all the SMB server configuration parameters to their default values.-AnnounceCommentResets the SMB server announce comment to its default value.-AnnounceServerResets the SMB server announce server to its default value.-AsJobRuns the cmdlet as a background job.-AsynchronousCreditsResets the asynchronous credits to its default value.-AuditClientCertificateAccessResets the SMB over QUIC client access control audit events to its default value.-AuditClientDoesNotSupportEncryptionResets auditing of the clients attempts to connect without encryption to the server to its default value.-AuditClientDoesNotSupportSigningResets auditing of SMB clients that don't support signing to its default value.-AuditInsecureGuestLogonResets whether to audit insecure guest logon attempts to its default value.-AuditSmb1AccessResets the auditing of SMB version 1 protocol behavior to its default value.-AutoShareServerResets the automatic sharing behavior for default server shares to its default value.-AutoShareWorkstationResets the automatic sharing behavior for default workstation shares to its default value.-CachedOpenLimitResets the cache open file limit to its default value.-CimSession, -SessionRuns the cmdlet in a remote session or on a remote computer.-DisableCompressionResets the SMB compression behavior to its default value.-DisableSmbEncryptionOnSecureConnectionResets the disable SMB encryption on secure connection behavior to its default value.-DurableHandleV2TimeoutInSecondsResets the durable handle v2 time-out period value to its default value.-EnableDirectoryHandleLeasingResets the directory handle leasing on the server to its default value.-EnableDownlevelTimewarpResets the down-level timewarp support behavior to its default value.-EnableLeasingResets the enable leasing behavior to its default value.-EnableMailslotsResets mailslots to its default value.-EnableMultiChannelResets the enable multi-channel behavior to its default value.-EnableOplocksResets the opportunistic locks behavior to its default value.-EnableSMB2ProtocolResets the SMB2 protocol to its default value.-EnableSMBQUICResets the SMB over QUIC protocol to its default value.-EnableStrictNameCheckingResets the strict name checking on incoming connections behavior to its default value.-EncryptDataResets the session encryption behavior to its default value.-EncryptionCiphersResets the encryption ciphers used by the SMB client to its default value and order.-ForceForces the command to run without asking for user confirmation.-IrpStackSizeResets the IRP stack size default to its default value.-KeepAliveTimeResets the keep alive time to its default value.-MaxChannelPerSessionResets the maximum channels per session to its default value.-MaxMpxCountResets the maximum MPX count for SMB1 to its default value.-MaxSessionPerConnectionResets the maximum sessions per connection to its default value.-MaxThreadsPerQueueResets the maximum threads per queue to its default value.-MaxWorkItemsResets the maximum SMB1 work items to its default value.-NullSessionSharesResets the null session pipes to its default value.-OplockBreakWaitResets how long the create caller waits for an opportunistic lock break to its default value.-PendingClientTimeoutInSecondsResets the pending client time-out period to its default value.-RejectUnencryptedAccessResets the unencrypted access behavior to its default value.-RequestCompressionResets the SMB server request compression value to its default value.-RestrictNamedpipeAccessViaQuicResets the named pipes behavior when using SMB over QUIC to its default value.-ServerHiddenResets whether the server announces itself to its default value.-Smb2CreditsMaxResets the maximum SMB2 credits to its default value.-Smb2CreditsMinResets the minimum SMB2 credits to its default value.-Smb2DialectMaxResets the maximum version of the SMB protocol to its default value.-Smb2DialectMinResets the minimum version of the SMB protocol to its default value.-SmbServerNameHardeningLevelResets the SMB Service name hardening level to its default value.-ThrottleLimitSpecifies the maximum number of concurrent operations that can be established to run the cmdlet.-TreatHostAsStableStorageResets whether the host is treated as the stable storage to its default value.-ValidateAliasNotCircularResets whether the aliases that aren't circular are validated to its default value.-ValidateShareScopeResets whether the existence of share scopes is checked during share creation to its default value.-ValidateShareScopeNotAliasedResets whether the share scope being aliased is validated to its default value.-ValidateTargetNameResets whether the target name is validated to its default value.-Confirm, -cfPrompts you for confirmation before running the cmdlet.-WhatIf, -wiShows what would happen if the cmdlet runs.