text
stringlengths
0
4.23k
-kerberos
Use Kerberos SSL credentials.
-clientcertificate clientcertID
Use X.509 Certificate SSL credentials. For selection U/I, use -clientcertificate.
-username username
Use named account for SSL credentials. For selection U/I, use -username.
-cert certID
Signing certificate.
-dc DCName
Target a specific Domain Controller.
-restrict restrictionlist
Comma-separated Restriction List. Each restriction consists of a column name, a relational operator and a constant integer, string or date. One column name may be preceded by a plus or minus sign to indicate the sort order. For example: requestID = 47, +requestername >= a, requestername, or -requestername > DOMAIN, Disposition = 21
-out columnlist
Comma-separated column list.
-p password
Password
-protectto SAMnameandSIDlist
Comma-separated SAM name/SID list.
-csp provider
Provider
-t timeout
URL fetch timeout in milliseconds.
-symkeyalg symmetrickeyalgorithm[,keylength]
Name of the Symmetric Key Algorithm with optional key length. For example: AES,128 or 3DES
-syncWithWU DestinationDir
Sync with Windows Update.
-generateSSTFromWU SSTFile
Generate SST by using the automatic update mechanism.
silent
-policyserver
-policyserver *
-clientcertificate
-username
requestID = 47
+requestername >= a, requestername
-requestername > DOMAIN, Disposition = 21
AES,128
3DES
change logon
Applies to: Windows Server 2022, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012
Enables or disables logons from client sessions, or displays current logon status. This utility is useful for system maintenance. You must be an administrator to run this command.
Note
To find out what's new in the latest version, see What's New in Remote Desktop Services in Windows Server.
Syntax
change logon {/query | /enable | /disable | /drain | /drainuntilrestart}
Parameters
Parameter
Description
/query
Displays the current logon status, whether enabled or disabled.
/enable
Enables logons from client sessions, but not from the console.
/disable
Disables subsequent logons from client sessions, but not from the console. Does not affect currently logged on users.
/drain
Disables logons from new client sessions, but allows reconnections to existing sessions.