How to Restart Vault in Windows

I am new to Vault and installed 2 nodes in windows instances and I believe they are running as processes. I made some changes in config hcl file and need to restart it but since it is not running as service not sure how to restart to take new changes in effect.

Any help is appreciated.

1 Like

You only need to restart one node each.

  • Restart first node (recommend restart the follower node first)
  • Check if the node correctly restarted and check if the node is in the cluster
  • Repeat the process in the second node.

All the configuration need restart vault servers, but it aways can be in HA.

Thanks for your reply.

I am mostly trying to figure out how exactly to restart vault server in Windows. It is currently running as a process not a service.

Hmmm, in this case i recommend to use “kill a process” instead restart service, because restart process only stop process correctly.

But, before i recommend get backup of configuration inner cluster:

Use this article to make restart process, change the pass of “systemctl stop vault” for “kill ”

And use the binary to start the process.

I recommend you read this thread, about configure vault process in windows service:

The last link is a open question, but if you search the recommendations of the requester, you can find util links inside this thread, like service tools to keep the process.