使用net user新增帳戶後想一併設定密碼永遠有效,
終於找到方法,不過要多學一種WMIC的命令
本機帳戶Local Account
C:\WMIC USERACCOUNT WHERE "Name='LocalUserName'" SET PasswordExpires=FALSE
網域帳戶Domain Account
C:\WMIC USERACCOUNT WHERE "Name='DomainUserName' and domain='DomainName'" SET PasswordExpires=FALSE
[補充]
用命令管理Windows帳戶net user Command
Brad Chen's Developer Blog Azure Database Data science Machine Learning Cloud
訂閱:
張貼留言 (Atom)
-
a bicycle manufacturer - Adventure Works Cycles Scenarios include Manufacturing , Sales , Purchasing , Product Management , Contact Manageme...
-
Guideline for SQL Server configuration, installation and database creation
-
1.安裝了Oracle Client,就可以用Oracle Net Manager工具來設定TNS連線設定(Tnsnames.ora) Oracle Client 18.3 Installation 安裝Oracle Client 18.3 2.啟動Oracle Ne...
沒有留言:
張貼留言