リモートデスクトップのアクセス制限を取得する
コマンド:
wmic RDACCOUNT
実行例:
C:\>wmic RDACCOUNT
AccountName AuditFail AuditSuccess Caption Description InstallDate Name PermissionsAllowed PermissionsDenied SID Status TerminalName
NT AUTHORITY\INTERACTIVE 0 0 1 0 S-1-5-4 Console
NT AUTHORITY\SYSTEM 0 0 983999 0 S-1-5-18 Console
NT AUTHORITY\LOCAL SERVICE 0 0 983177 0 S-1-5-19 Console
NT AUTHORITY\NETWORK SERVICE 0 0 129 0 S-1-5-20 Console
BUILTIN\Administrators 0 0 983999 0 S-1-5-32-544 Console
以下省略