2
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

コマンドでユーザ追加-Windows server運用

Posted at

TL;DR

Windows serverでもCUI操作で運用できるといろいろ楽ですね。
今回はユーザ追加の操作です。
コマンドプロンプトでもpowershellでも実行できます。

##ユーザ追加
net user $username /add
##パスワード設定
net user $username $password
##ユーザの一覧で作成されたことを確認する
net user
##以上。

#今回はリモートデスクトップ使う権限もつけたかった。
net localgroup "Remote Desktop Users" $username /add
#当該ユーザの権限確認
net user $username
2
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?