1
3

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.

WindowsServer2016のPowerShellでADDSの停止と開始

Last updated at Posted at 2018-03-26

概要

主に検証時にWindows Server2016ののADDSを
停止したり開始したい時のためのメモです

ADDSのサービスの情報を取得

Get-Service NTDS
get_service.png

ADDSに依存するサービスも含めて取得

※ –DependentServices オプションで依存するサービスも取得
Get-Service NTDS –DependentServices
get_service_dep.png

ADDSに依存するサービスも含めて停止

※ –Force オプションで依存するサービスも停止
Stop-Service NTDS –Force

ADDSを開始

Start-Service NTDS

余談:依存するサービスを意識せずADDSを停止した時

Stop-Service NTDS
stop_service_error.png

1
3
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
1
3

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?