トップ回答者
Windows Server 2008 最大パスワード長について

質問
回答
-
阿部です
最大255文字ですね←間違いです。実際は127文字になります。
参考:PSO を作成する
http://technet.microsoft.com/ja-jp/library/cc754461(WS.10).aspxのmsDS-MinimumPasswordLengthの値が0~255になっています。
MVP:Virtual Machine Blog:MCTの憂鬱 http://naonao71.spaces.live.com/2010年4月12日 2:43 -
英語でどこに何が書いてあるか分からんという人のために
"Internally, Windows represents passwords in 256-character UNICODE strings. The logon dialog box is limited to 127 characters. Therefore, the longest password that can be used to log on interactively to a computer running Windows is 127 characters. Programs such as services can use longer passwords, but they must be set programmatically."
内部的には 256 UNICODE 文字が最大長。ログオン時の UI で入力できる最大長が 127 文字。
hebikuzure
- 回答としてマーク チャブーンMVP 2016年12月31日 9:50
2016年12月30日 6:02
すべての返信
-
阿部です
最大255文字ですね←間違いです。実際は127文字になります。
参考:PSO を作成する
http://technet.microsoft.com/ja-jp/library/cc754461(WS.10).aspxのmsDS-MinimumPasswordLengthの値が0~255になっています。
MVP:Virtual Machine Blog:MCTの憂鬱 http://naonao71.spaces.live.com/2010年4月12日 2:43 -
ご指摘ありがとうございます。
http://technet.microsoft.com/ja-jp/library/cc756109(WS.10).aspx
に記載があるように Windows では 127文字が最大数でした。
実際に検証してみました。
こちらのTechnetでは Windows Server 2003 ベースで記載されているので、最新の Windows Server 2012 R2 では変更されているかを確認してみました。
パスワード設定において文字数を300にしてユーザーを作成してみました。問題なくユーザーが作成できます。このパスワードを保存できる文字数が255となると推測できます。そこで128文字でユーザーを作成し最後の1文字をパスワードの確認で変更してみましたが問題なく作成できました。このことから、実際は有効なパスワード文字数は127文字ということが検証できました。
以上、参考になれば幸いです。
MVP:Virtual Machine Blog:MCTの憂鬱
2013年10月29日 7:12 -
チャブーンです。
結論としてABEさんは正しいですよ。
https://technet.microsoft.com/en-us/library/hh994558(v=ws.10).aspx
フォーラムは有償サポートとは異なる「コミュニティ」です。フォーラムでご質問頂くにあたっての注意点 をご一読のうえ、お楽しみください。
- 編集済み チャブーンMVP 2017年1月2日 14:04
2016年12月29日 15:14 -
英語でどこに何が書いてあるか分からんという人のために
"Internally, Windows represents passwords in 256-character UNICODE strings. The logon dialog box is limited to 127 characters. Therefore, the longest password that can be used to log on interactively to a computer running Windows is 127 characters. Programs such as services can use longer passwords, but they must be set programmatically."
内部的には 256 UNICODE 文字が最大長。ログオン時の UI で入力できる最大長が 127 文字。
hebikuzure
- 回答としてマーク チャブーンMVP 2016年12月31日 9:50
2016年12月30日 6:02